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

Published Sep 5, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

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 rxlist. Next recvmsg() will pick it up from there.

Queuing the skb to rxlist 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 rxlist, and it's zero length.

Affected Software

10 affected componentsFixes available
Linux Foundation Linux Kernel
Microsoft azl3 kernel 6.6.96.2-2
Microsoft azl3 kernel 6.6.96.2-1
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
Linux Linux kernel=6.17-rc2
Debian Debian Linux=11.0

Event History

Sep 5, 2025
CVE Published
via MITRE·05:20 PM
Data Sourced
via MITRE·05:20 PM
DescriptionSeverity
Data Sourced
via Red Hat·06:03 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityAffected Software
Sep 7, 2025
Data Sourced
via Microsoft·01:10 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:10 AM
SeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-39682?

CVE-2025-39682 has a medium severity level due to its potential impact on data handling in the Linux kernel.

2

How do I fix CVE-2025-39682?

To fix CVE-2025-39682, ensure that you update your Linux kernel to the latest version where this vulnerability has been resolved.

3

What systems are affected by CVE-2025-39682?

CVE-2025-39682 affects systems running the vulnerable versions of the Linux kernel.

4

What type of vulnerability is CVE-2025-39682?

CVE-2025-39682 is an input validation vulnerability related to the handling of zero-length records in the TLS implementation of the Linux kernel.

5

Are there any known exploits for CVE-2025-39682?

As of now, there are no publicly known exploits specifically targeting CVE-2025-39682.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203