CVE-2025-39682
published critical CVSS 3.1 · 9.8tls: fix handling of zero-length records on the rx_list
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 2902c3ebcca52ca845c03182000e8d71d3a5196f · 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677 · 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 3439c15ae91a517cf3c650ea15a8987699416ad9 · 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e · 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 62708b9452f8eb77513115b17c4f8d1a22ebf843 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.149 through 6.1.* (unaffected · semver) · 6.6.103 through 6.6.* (unaffected · semver) · 6.12.44 through 6.12.* (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC CN 41000 to < V5.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1186 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1208 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-55.37.1.el10_0 | ALSA-2025:16904 |
| Debian | bookworm | linux | Advisory build | 6.1.153-1 | DSA-6009-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-55.37.1.el10_0 | ALSA-2025:16904 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-570.49.1.el9_6 | ALSA-2025:16880 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Debian | trixie | linux | Advisory build | 6.12.48-1 | DSA-6008-1 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-55.37.1.0.1.el10_0 | ELSA-2025-16904 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: tls: fix handling of zero-length records on the rx_list Each recvmsg() call must process either - only contiguous DATA records (any number of them) - one non-DATA record If the next record has different type than what has already been processed we break out of the main processing loop. If the record has already been decrypted (which may be the case for TLS 1.3 where we don't know type until decryption) we queue the pending record to the rx_list. Next recvmsg() will pick it up from there. Queuing the skb to rx_list after zero-copy decrypt is not possible, since in that case we decrypted directly to the user space buffer, and we don't have an skb to queue (darg.skb points to the ciphertext skb for access to metadata like length). Only data records are allowed zero-copy, and we break the processing loop after each non-data record. So we should never zero-copy and then find out that the record type has changed. The corner case we missed is when the initial record comes from rx_list, and it's zero length.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The bug is triggered entirely by the sequence and content of TLS records arriving from the remote peer on a kTLS-enabled TCP socket (net/tls RX path); no local access is needed. Any kTLS RX consumer — OpenSSL-with-kTLS servers/clients, NFS-over-TLS, SMB/RPC-over-TLS via net/handshake — is remotely reachable over the network. AC:L - The attacker sends three back-to-back records ([DATA][zero-length non-DATA][DATA]) and the corruption occurs deterministically on the victim's ordinary recvmsg() loop, with no race to win and no memory-layout dependency; the kernel selftest added with the fix reproduces it in one shot. TLS 1.2 is zero-copy-capable by default (zc_capable = rx_no_pad || version != TLS_1_3_VERSION), so no unusual kernel config or sockopt is required. PR:N - The attacker is the remote TLS peer, which holds no privileges on the target system — an anonymous client completing a server-authenticated TLS handshake with a kTLS server, or a malicious server that a kTLS client connects to, suffices. This matches the repo's PR:N scoring of the comparable remote-peer net/tls bug CVE-2025-39946. UI:N - The victim application only has to run its normal recvmsg() loop on an already-established kTLS socket; no click, mount, file open, or any other victim action is required. The attacker drives the entire trigger from the wire. S:U - The corruption is confined to kernel skb/slab state within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. Standard in-kernel memory corruption is Scope:Unchanged. C:H - The strparser anchor is queued on rx_list after tcp_read_done() already released its backing TCP skbs, so the next recvmsg() copies freed kernel heap memory straight into the userspace buffer via skb_copy_datagram_msg(). This is a directly usable, repeatable kernel-memory disclosure primitive, not a bounded pointer leak. I:H - The live strp->anchor is consume_skb()'d by process_rx_list() while the strparser still uses it, after which incoming attacker-controlled TCP data is written into the freed sk_buff/skb_shared_info (skb_fill_page_desc, tls_strp_load_anchor_with_queue), and socket teardown double-frees the anchor and its frag_list skbs. This yields attacker-controlled write-after-free and freelist corruption suitable for control-flow hijack. A:H - The use-after-free and double-free of the anchor and of already-released TCP receive-queue skbs reliably corrupt slab state, producing oopses/panics and list corruption. Any remote peer can repeat this on every connection, giving a trivial remote kernel-crash DoS.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 2902c3ebcca52ca845c03182000e8d71d3a5196f (affected · git)84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677 (affected · git)84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 3439c15ae91a517cf3c650ea15a8987699416ad9 (affected · git)84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e (affected · git)84c61fe1a75b4255df1e1e7c054c9e6d048da417 to < 62708b9452f8eb77513115b17c4f8d1a22ebf843 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.149 through 6.1.* (unaffected · semver)6.6.103 through 6.6.* (unaffected · semver)6.12.44 through 6.12.* (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC CN 4100 | 0 to < V5.0 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-754 CWE-754 Improper Check for Unusual or Exceptional Conditions
References
8- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://git.kernel.org/stable/c/2902c3ebcca52ca845c03182000e8d71d3a5196f
- https://git.kernel.org/stable/c/29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e
- https://git.kernel.org/stable/c/3439c15ae91a517cf3c650ea15a8987699416ad9
- https://git.kernel.org/stable/c/62708b9452f8eb77513115b17c4f8d1a22ebf843
- https://git.kernel.org/stable/c/c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39682
Provider assertions
4Linux · cna
tls: fix handling of zero-length records on the rx_list
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 000bde1108e8c23ab489b224f389132fd7300ebbfe7cfbd098e1d67ee9a3779e
- Ingested
- 07 Oct 2026, 22:37:19 UTC
- Source record
- Official CVE record