CVE-2025-39682

tls: fix handling of zero-length records on the rx_list

Published 5 Sep 2025 Updated 7 Oct 2026 CNA: Linux

Check your servers for CVE-2025-39682

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39682 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 18 Sep 2026. US federal agencies had to act by 21 Sep 2026.

Name
Linux Kernel Improper Check for Unusual or Exceptional Conditions Vulnerability
Required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Ransomware
Use in ransomware campaigns is not known
Notes
https://git.kernel.org/stable/c/2902c3ebcca52ca845c03182000e8d71d3a5196f https://git.kernel.org/stable/c/c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677 https://git.kernel.org/stable/c/3439c15ae91a517cf3c650ea15a8987699416ad9 https://git.kernel.org/stable/c/29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e https://git.kernel.org/stable/c/62708b9452f8eb77513115b17c4f8d1a22ebf843 https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk https://nvd.nist.gov/vuln/detail/CVE-2025-39682

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.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 83.1% of all scored CVEs. Scores of 29 Nov 2026.

The assessment of CISA (SSVC, 19 Sep 2026):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-754 Improper Check for Unusual or Exceptional Conditions

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 84c61fe1a75b4255df1e1e7c054c9e6d048da417, before 2902c3ebcca52ca845c03182000e8d71d3a5196f
affected from 84c61fe1a75b4255df1e1e7c054c9e6d048da417, before c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677
affected from 84c61fe1a75b4255df1e1e7c054c9e6d048da417, before 3439c15ae91a517cf3c650ea15a8987699416ad9
affected from 84c61fe1a75b4255df1e1e7c054c9e6d048da417, before 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e
affected from 84c61fe1a75b4255df1e1e7c054c9e6d048da417, before 62708b9452f8eb77513115b17c4f8d1a22ebf843
Other versions: unaffected
Linux
affected 6.0
unaffected before 6.0
unaffected from 6.1.149 up to and including 6.1.*
unaffected from 6.6.103 up to and including 6.6.*
unaffected from 6.12.44 up to and including 6.12.*
unaffected from 6.16.4 up to and including 6.16.*
unaffected 6.17 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39682 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39682

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-39682
trivy image --scanners vuln IMAGE | grep CVE-2025-39682

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2025-39682 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.