# CVE-2025-39682: tls: fix handling of zero-length records on the rx\_list

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2026-09-18; federal due date 2026-09-21
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.19% (percentile 83, 2026-11-26)
- **CWE:** CWE-754
- **Published:** 2025-09-05T17:20:48.657Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 2902c3ebcca52ca845c03182000e8d71d3a5196f; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 3439c15ae91a517cf3c650ea15a8987699416ad9; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 62708b9452f8eb77513115b17c4f8d1a22ebf843
- Anyone running Linux 6.0

## 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.

## Affected and fixed versions

- Linux: \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 2902c3ebcca52ca845c03182000e8d71d3a5196f; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 3439c15ae91a517cf3c650ea15a8987699416ad9; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 62708b9452f8eb77513115b17c4f8d1a22ebf843 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 62708b9452f8eb77513115b17c4f8d1a22ebf843 or later.

## Timeline

- 2025-09-05: Published
- 2026-09-18: Added to CISA KEV (exploited in the wild)
- 2026-09-21: CISA remediation due date for US federal agencies
- 2026-10-19: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39682. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39682.md
Affected: Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 2902c3ebcca52ca845c03182000e8d71d3a5196f; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 3439c15ae91a517cf3c650ea15a8987699416ad9; >= 84c61fe1a75b4255df1e1e7…
Fixed in: Linux 2902c3ebcca52ca845c03182000e8d71d3a5196f, Linux 3439c15ae91a517cf3c650ea15a8987699416ad9, Linux 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e, Linux 62708b9452f8eb77513115b17c4f8d1a22ebf843

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39682 being exploited?

Yes. CISA lists CVE-2025-39682 in its Known Exploited Vulnerabilities catalog since 2026-09-18, which means attacks have been seen. No public exploit code is known. EPSS estimates a 2.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39682?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-39682?

Linux \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 2902c3ebcca52ca845c03182000e8d71d3a5196f; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 3439c15ae91a517cf3c650ea15a8987699416ad9; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 62708b9452f8eb77513115b17c4f8d1a22ebf843; Linux 6.0.

### Is there a fix for CVE-2025-39682?

Yes. Fixed in Linux 2902c3ebcca52ca845c03182000e8d71d3a5196f, Linux 3439c15ae91a517cf3c650ea15a8987699416ad9, Linux 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e, Linux 62708b9452f8eb77513115b17c4f8d1a22ebf843. Upgrade Linux to 62708b9452f8eb77513115b17c4f8d1a22ebf843 or later.

### How do I check if I'm affected by CVE-2025-39682?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2902c3ebcca52ca845c03182000e8d71d3a5196f>
- patch: <https://git.kernel.org/stable/c/c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677>
- patch: <https://git.kernel.org/stable/c/3439c15ae91a517cf3c650ea15a8987699416ad9>
- patch: <https://git.kernel.org/stable/c/29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e>
- patch: <https://git.kernel.org/stable/c/62708b9452f8eb77513115b17c4f8d1a22ebf843>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39682>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39682>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2025-39682> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39682>
