Linux · Kernel
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.
CISA: Linux Kernel contains an improper check for unusual or exceptional conditions vulnerability in the TLS receive path which allows a zero-length record retrieved from the rx_list to bypass the intended recvmsg() record-type handling, potentially causing subsequent TLS records to be processed using incorrect zero-copy and queuing assumptions. The impacted product(s) could be end-of-life (EoL) and/or end-of-service (EoS). Users are advised to discontinue use and/or transition to a supported version.
対処法
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.
米国連邦機関の対応期限:2026年9月21日
- CISAのリストに追加
- 2026年9月18日
- 公開日
- 2025年9月5日
- 深刻度
- 緊急 9.8 CVSS 3.1
- 今後30日間に攻撃される可能性(EPSS)
- 3.3% 既知の全脆弱性の上位11.3%
- 脆弱性の種類
- CWE-754
- 詳細
- NVD · CVE.org · CISA
すべての参照(5件)
- 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
Linuxのその他の悪用された脆弱性
| 追加日 | 脆弱性 | 製品 | 深刻度 | 攻撃の可能性 |
|---|---|---|---|---|
| 2026/10/28 | Missing Initialization of a Variable | Kernel | 高 7.8 | 16% |
| 2026/09/18 | Race Condition | Kernel | 高 7.8 | 1.6% |
| 2026/09/18 | Out-of-Bounds Write | Kernel | 高 8.8 | 0.9% |
| 2026/08/27 | Unspecified | Kernel | 高 7.8 | 0.7% |
| 2026/08/26 | Out-of-Bounds Write | Kernel | 高 7.8 | 8.9% |
| 2026/06/02 | Improper Authentication | Kernel | 高 7.8 | 5.5% |
| 2026/05/01 | Incorrect Resource Transfer Between Spheres | Kernel | 高 7.8 | 98% |
| 2026/01/26 | Integer Overflow | Kernel | 高 7.8 | 15% |
出典:Known Exploited Vulnerabilities(CISA、パブリックドメイン)、CVE records(cve.org)、EPSS(FIRST)。攻撃の可能性は、今後30日以内に誰かがその脆弱性の悪用を試みるというEPSSの推定値です。