VDB

CVE-2026-64025

CVE-2026-64025 PUBLISHED CVSS 9.8 CRITICAL

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.

PackageEcosystemFixed in
kernel6.12-develAmazon Linux1:6.12.92-122.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.35-68.127.amzn2023
kernel-modules-extraAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.92-122.166.amzn2023
kernel6.18-headersAmazon Linux1:6.18.35-68.127.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.35-68.127.amzn2023
kernelAmazon Linux1:6.1.188-233.385.amzn2023
bpftool6.18Amazon Linux1:6.18.35-68.127.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.35-68.127.amzn2023
python3-perfAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.92-122.166.amzn2023
linux_kernellinux7.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

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxef5659280eb13e8ac31c296f58cfdfa1684ac06b, ef5659280eb13e8ac31c296f58cfdfa1684ac06b, ef5659280eb13e8ac31c296f58cfdfa1684ac06b
LinuxLinux5.10, 0, 6.1.191
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel0
amazon:2023bpftool6.180
amazon:2023microvm-kernel6.180
amazon:2023python3-perf0
amazon:2023kernel6.12-modules-extra-common0
LinuxLinux7.1, *, *
amazon:2023kernel-headers0
amazon:2023kernel6.180
amazon:2023bpftool0
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.92-122.1660
amazon:2023kernel6.12-headers0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›