CVE-2025-39682
Last modified
CVE-2025-39682 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.0, < 6.1.149 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.103 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.44 | — |
| Linux | Linux Kernel | >= 6.13, < 6.16.4 | — |
| Linux | Linux Kernel | 6.17 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-39682?
How severe is CVE-2025-39682?
How do I fix CVE-2025-39682?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-39677In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39678In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39679In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3968A vulnerability was found in codeprojects News Publishing Si…8.8
- CVE-2025-39680In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39681In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39683In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39684In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39685In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39686In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39687In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-39688In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-39682?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
