CVE-2026-64025
bpf, skmsg: fix verdict sk_data_ready racing with ktls rx
Reported by linux · Published July 19, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf, skmsg: fix verdict sk_data_ready racing with ktls rx sk_psock_strp_data_ready() already checks tls_sw_has_ctx_rx() and defers to psock->saved_data_ready when a TLS RX context is present, avoiding a conflict with the TLS strparser's ownership of the receive queue (commit e91de6afa81c, "bpf: Fix running sk_skb program types with ktls"). sk_psock_verdict_data_ready() has no equivalent guard. When a socket is inserted into a sockmap (BPF_SK_SKB_VERDICT) before TLS RX is configured, tls_sw_strparser_arm() saves sk_psock_verdict_data_ready as rx_ctx->saved_data_ready. On data arrival: tls_data_ready -> tls_strp_data_ready -> tls_rx_msg_ready -> saved_data_ready() = sk_psock_verdict_data_ready() -> tcp_read_skb() drains sk_receive_queue via __skb_unlink() without calling tcp_eat_skb(), so copied_seq is not advanced. tls_strp_msg_load() then finds tcp_inq() >= full_len (stale), calls tcp_recv_skb() on the now-empty queue, hits WARN_ON_ONCE(!first), and returns with rx_ctx->strp.anchor.frag_list pointing at a psock-owned (potentially freed) skb. tls_decrypt_sg() subsequently walks that frag_list: use-after-free. Apply the same fix as sk_psock_strp_data_ready(): if a TLS RX context is present, call psock->saved_data_ready (sock_def_readable) to wake recv() waiters and return immediately, leaving the receive queue untouched. TLS retains sole ownership of the queue and decrypts the record normally through tls_sw_recvmsg().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-devel | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| linux_kernel | linux | 7.0.11, 6.18.34, 6.12.92, 6.6.142 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ef5659280eb13e8ac31c296f58cfdfa1684ac06b, ef5659280eb13e8ac31c296f58cfdfa1684ac06b, ef5659280eb13e8ac31c296f58cfdfa1684ac06b |
| Linux | Linux | 5.10, 0, 6.1.191 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| Linux | Linux | 7.1, *, * |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.92-122.166 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
…and 18 more
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 Security Advisory (32 in total, the first dated here)
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (31 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64025
vulnetix vdb fixes CVE-2026-64025
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64025/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart