Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-39682

tls: fix handling of zero-length records on the rx_list
Back to all
CVE

CVE-2025-39682

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

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

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, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39682.json, https://nvd.nist.gov/vuln/detail/CVE-2025-39682, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.012%
EPSS Percentile
0.66798%
Introduced Version
84c61fe1a75b4255df1e1e7c054c9e6d048da417,6.0.0,6.2.0,6.7.0,6.13.0,0
Fix Available
62708b9452f8eb77513115b17c4f8d1a22ebf843,6.1.149,6.6.103,6.12.44,6.16.4,0:5.14.0-570.49.1.el9_6,6.12.0-55.37.1.el10_0,6.1.153-1,6.12.48-1,6.8.0-86.87,6.8.0-1041.43,6.14.0-1015.15~24.04.1,6.8.0-1041.47,6.14.0-1014.14~24.04.1,6.8.0-1029.32,6.14.0-1007.7,6.8.0-1042.45,6.14.0-1018.19~24.04.1,6.8.0-1038.43,6.8.0-1025.28,6.8.0-1039.39,6.8.0-86.87.1,6.8.0-1041.44,6.8.0-1041.44.1,6.8.0-1012.12,6.14.0-1014.14,6.8.0-1038.39,6.8.0-1041.45,6.14.0-34.34.1~24.04.1,6.8.0-1018.19,6.8.0-1041.43~22.04.1,6.8.0-1041.47~22.04.1,6.8.0-1042.45~22.04.1,6.8.0-86.87~22.04.1,6.8.0-1039.39~22.04.1,6.8.0-86.87.1~22.04.1,6.8.0-1041.44~22.04.2,6.8.0-1038.39~22.04.1,0:6.12.0-104.43.4.2.el9uek,0:5.14.0-570.49.1.0.1.el9_6,0:6.12.0-103.40.4.3.el9uek,0:6.12.0-104.43.4.2.el10uek,0:6.12.0-55.37.1.0.1.el10_0,0:6.12.0-103.40.4.3.el10uek,1:6.1.150-174.273.amzn2023,1:1.0-0.amzn2023,1:6.12.46-66.121.amzn2023,6.12.76-r0,6.18.17-r0,6.18.48-r0,7.2.3-r0,6.18.44-r0,20250916-r1,20260911-r0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading