CVE-2025-38018 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net/tls: fix kernel panic when alloc_page failed We cannot set frag_list to NULL pointer when alloc_page failed. It will be used in tls_strp_check_queue_ok when the next time tls_strp_read_sock is called. This is because we don't reset full_len in tls_strp_flush_anchor_copy() so the recv path will try to continue handling the partial record on the next call but we dettached the rcvq from the frag list. Alternative fix would be to reset full_len. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000028 Call trace: tls_strp_check_rcv+0x128/0x27c tls_strp_data_ready+0x34/0x44 tls_data_ready+0x3c/0x1f0 tcp_data_ready+0x9c/0xe4 tcp_data_queue+0xf6c/0x12d0 tcp_rcv_established+0x52c/0x798
A vulnerability in the Linux kernel's TLS handling can lead to a kernel panic due to a NULL pointer dereference. This issue arises when the allocation of a page fails, causing the frag_list to be improperly set. The vulnerability is present in the net/tls component of the Linux kernel. When the next tls_strp_read_sock function is called, it attempts to process a partial record without the necessary data, leading to a crash. The issue has been resolved by ensuring that the frag_list is not set to a NULL pointer when page allocation fails.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/406d05da26835943568e61bb751c569efae071d4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/491deb9b8c4ad12fe51d554a69b8165b9ef9429f | kernel.org | Patch |
| https://git.kernel.org/stable/c/5f1f833cb388592bb46104463a1ec1b7c41975b6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a11b8c0be6acd0505a58ff40d474bd778b25b93a | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.0, < 6.1.140 >= 6.2, < 6.6.92 >= 6.7, < 6.12.30 >= 6.13, < 6.14.8 6.15 rc1 6.15 rc2 6.15 rc3 6.15 rc4 6.15 rc5 6.15 rc6 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 17, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jun 18, 2025 | New CVE Received | kernel.org |