cve-2025-39682
CVSS 9.8 osv_linuxIn 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.
- Published
- unknown
- Last Modified
- unknown
CVSS details not available.
No product information available.
- 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
{
"affected": [
{
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39682.json"
},
"ranges": [
{
"events": [
{
"introduced": "84c61fe1a75b4255df1e1e7c054c9e6d048da417"
},
{
"fixed": "2902c3ebcca52ca845c03182000e8d71d3a5196f"
},
{
"fixed": "c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677"
},
{
"fixed": "3439c15ae91a517cf3c650ea15a8987699416ad9"
},
{
"fixed": "29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e"
},
{
"fixed": "62708b9452f8eb77513115b17c4f8d1a22ebf843"
}
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT"
}
]
},
{
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39682.json"
},
"package": {
"ecosystem": "Linux",
"name": "Kernel"
},
"ranges": [
{
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.1.149"
}
],
"type": "ECOSYSTEM"
},
{
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.103"
}
],
"type": "ECOSYSTEM"
},
{
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.44"
}
],
"type": "ECOSYSTEM"
},
{
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.16.4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"A-440544511",
"ASB-A-440544511"
],
"database_specific": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39682.json"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\ntls: fix handling of zero-length records on the rx_list\n\nEach recvmsg() call must process either\n - only contiguous DATA records (any number of them)\n - one non-DATA record\n\nIf the next record has different type than what has already been\nprocessed we break out of the main processing loop. If the record\nhas already been decrypted (which may be the case for TLS 1.3 where\nwe don't know type until decryption) we queue the pending record\nto the rx_list. Next recvmsg() will pick it up from there.\n\nQueuing the skb to rx_list after zero-copy decrypt is not possible,\nsince in that case we decrypted directly to the user space buffer,\nand we don't have an skb to queue (darg.skb points to the ciphertext\nskb for access to metadata like length).\n\nOnly data records are allowed zero-copy, and we break the processing\nloop after each non-data record. So we should never zero-copy and\nthen find out that the record type has changed. The corner case\nwe missed is when the initial record comes from rx_list, and it's\nzero length.",
"id": "CVE-2025-39682",
"modified": "2026-10-28T02:31:01.520812255Z",
"published": "2025-09-05T17:20:48.657Z",
"references": [
{
"type": "WEB",
"url": "https://cert-portal.siemens.com/productcert/html/ssa-032379.html"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2902c3ebcca52ca845c03182000e8d71d3a5196f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3439c15ae91a517cf3c650ea15a8987699416ad9"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/62708b9452f8eb77513115b17c4f8d1a22ebf843"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"
},
{
"type": "WEB",
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39682"
},
{
"type": "ADVISORY",
"url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39682.json"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-39682"
},
{
"type": "PACKAGE",
"url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
}
],
"related": [
"ALSA-2025:16880",
"ALSA-2025:16904",
"SUSE-SU-2025:03600-1",
"SUSE-SU-2025:03601-1",
"SUSE-SU-2025:03602-1",
"SUSE-SU-2025:03633-1",
"SUSE-SU-2025:03634-1",
"SUSE-SU-2025:20851-1",
"SUSE-SU-2025:20861-1",
"SUSE-SU-2025:20870-1",
"SUSE-SU-2025:20898-1",
"SUSE-SU-2025:21074-1",
"SUSE-SU-2025:21139-1",
"SUSE-SU-2025:21179-1",
"SUSE-SU-2025:3725-1",
"SUSE-SU-2025:3751-1",
"SUSE-SU-2026:0144-1",
"SUSE-SU-2026:0145-1",
"SUSE-SU-2026:0146-1",
"SUSE-SU-2026:0148-1",
"SUSE-SU-2026:0171-1",
"SUSE-SU-2026:0202-1",
"SUSE-SU-2026:0203-1",
"SUSE-SU-2026:0209-1",
"SUSE-SU-2026:0262-1",
"SUSE-SU-2026:0269-1",
"SUSE-SU-2026:0270-1",
"SUSE-SU-2026:0274-1",
"SUSE-SU-2026:0283-1",
"SUSE-SU-2026:0284-1",
"SUSE-SU-2026:20149-1",
"SUSE-SU-2026:20164-1",
"SUSE-SU-2026:20169-1",
"SUSE-SU-2026:20248-1",
"SUSE-SU-2026:20249-1",
"SUSE-SU-2026:20250-1",
"SUSE-SU-2026:20251-1",
"SUSE-SU-2026:20252-1",
"SUSE-SU-2026:20253-1",
"SUSE-SU-2026:20254-1",
"SUSE-SU-2026:20255-1",
"SUSE-SU-2026:20256-1",
"SUSE-SU-2026:20257-1",
"SUSE-SU-2026:20258-1",
"SUSE-SU-2026:20259-1",
"SUSE-SU-2026:20260-1",
"SUSE-SU-2026:20261-1",
"SUSE-SU-2026:20264-1",
"SUSE-SU-2026:20265-1",
"SUSE-SU-2026:20266-1",
"SUSE-SU-2026:20376-1",
"SUSE-SU-2026:20377-1",
"SUSE-SU-2026:20378-1",
"SUSE-SU-2026:20379-1",
"SUSE-SU-2026:20380-1",
"SUSE-SU-2026:20381-1",
"SUSE-SU-2026:20382-1",
"SUSE-SU-2026:20385-1",
"SUSE-SU-2026:20392-1",
"SUSE-SU-2026:20393-1",
"SUSE-SU-2026:20394-1",
"SUSE-SU-2026:20395-1",
"SUSE-SU-2026:20396-1",
"SUSE-SU-2026:20397-1",
"SUSE-SU-2026:20398-1",
"SUSE-SU-2026:20399-1",
"SUSE-SU-2026:20400-1",
"SUSE-SU-2026:20560-1",
"openSUSE-SU-2025:20081-1"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "tls: fix handling of zero-length records on the rx_list"
}