{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-64025","id":"CVE-2026-64025","title":"bpf, skmsg: fix verdict sk_data_ready racing with ktls rx","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, skmsg: fix verdict sk_data_ready racing with ktls rx\n\nsk_psock_strp_data_ready() already checks tls_sw_has_ctx_rx() and\ndefers to psock->saved_data_ready when a TLS RX context is present,\navoiding a conflict with the TLS strparser's ownership of the receive\nqueue (commit e91de6afa81c, \"bpf: Fix running sk_skb program types\nw","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, skmsg: fix verdict sk_data_ready racing with ktls rx\n\nsk_psock_strp_data_ready() already checks tls_sw_has_ctx_rx() and\ndefers to psock->saved_data_ready when a TLS RX context is present,\navoiding a conflict with the TLS strparser's ownership of the receive\nqueue (commit e91de6afa81c, \"bpf: Fix running sk_skb program types\nwith ktls\").\n\nsk_psock_verdict_data_ready() has no equivalent guard.  When a socket\nis inserted into a sockmap (BPF_SK_SKB_VERDICT) before TLS RX is\nconfigured, tls_sw_strparser_arm() saves sk_psock_verdict_data_ready\nas rx_ctx->saved_data_ready.  On data arrival:\n\n  tls_data_ready -> tls_strp_data_ready -> tls_rx_msg_ready\n    -> saved_data_ready() = sk_psock_verdict_data_ready()\n      -> tcp_read_skb() drains sk_receive_queue via __skb_unlink()\n         without calling tcp_eat_skb(), so copied_seq is not advanced.\n\ntls_strp_msg_load() then finds tcp_inq() >= full_len (stale), calls\ntcp_recv_skb() on the now-empty queue, hits WARN_ON_ONCE(!first), and\nreturns with rx_ctx->strp.anchor.frag_list pointing at a psock-owned\n(potentially freed) skb.  tls_decrypt_sg() subsequently walks that\nfrag_list: use-after-free.\n\nApply the same fix as sk_psock_strp_data_ready(): if a TLS RX context\nis present, call psock->saved_data_ready (sock_def_readable) to wake\nrecv() waiters and return immediately, leaving the receive queue\nuntouched.  TLS retains sole ownership of the queue and decrypts the\nrecord normally through tls_sw_recvmsg().","published":"2026-07-19T15:39:17.178Z","updated":"2026-11-17T15:12:18.576993838Z","reserved":"2026-07-19T07:54:57.027Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ef5659280eb13e8ac31c296f58cfdfa1684ac06b","lessThan":"d698bdba0f9969a6e390d1b1a9a3e283f1f174a7","status":"affected","versionType":"git"},{"version":"ef5659280eb13e8ac31c296f58cfdfa1684ac06b","lessThan":"c9ea01768903ae47f210cd457af1dead6de7a9c3","status":"affected","versionType":"git"},{"version":"ef5659280eb13e8ac31c296f58cfdfa1684ac06b","lessThan":"7c8cf21bc4efb4af18d6096db3f8bd06d622251c","status":"affected","versionType":"git"},{"version":"ef5659280eb13e8ac31c296f58cfdfa1684ac06b","lessThan":"1861d369efd62d67796563bf3e01fc22e5626f8b","status":"affected","versionType":"git"},{"version":"ef5659280eb13e8ac31c296f58cfdfa1684ac06b","lessThan":"8a52139560f833c3975032e1f5762611e3a36d71","status":"affected","versionType":"git"},{"version":"ef5659280eb13e8ac31c296f58cfdfa1684ac06b","lessThan":"ddf8029623a1af20e984c040e89ff918158397ab","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.142","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.92","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.34","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.11","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d698bdba0f9969a6e390d1b1a9a3e283f1f174a7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c9ea01768903ae47f210cd457af1dead6de7a9c3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7c8cf21bc4efb4af18d6096db3f8bd06d622251c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1861d369efd62d67796563bf3e01fc22e5626f8b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8a52139560f833c3975032e1f5762611e3a36d71","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ddf8029623a1af20e984c040e89ff918158397ab","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64025.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64025","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.0045,"epssPercentile":0.39861,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-64025","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64025","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-64025","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-64025","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}