Linux kernel: bpf, skmsg: fix verdict sk_data_ready racing with ktls rx
Overview
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().
- Published
- 7/19/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 5.10, < 6.6.142 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.92 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.34 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 7.0.11 | Verify advisory | Source |
linux kernel linux | 7.1 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < d698bdba0f9969a6e390d1b1a9a3e283f1f174a7 | Verify advisory | Source |
Linux Linux | ≥ ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < c9ea01768903ae47f210cd457af1dead6de7a9c3 | Verify advisory | Source |
Linux Linux | ≥ ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < 7c8cf21bc4efb4af18d6096db3f8bd06d622251c | Verify advisory | Source |
Linux Linux | ≥ ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < 1861d369efd62d67796563bf3e01fc22e5626f8b | Verify advisory | Source |
Linux Linux | ≥ ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < 8a52139560f833c3975032e1f5762611e3a36d71 | Verify advisory | Source |
Linux Linux | ≥ ef5659280eb13e8ac31c296f58cfdfa1684ac06b, < ddf8029623a1af20e984c040e89ff918158397ab | Verify advisory | Source |
Linux Linux | 5.10 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.