CVE-2025-38018
net/tls: fix kernel panic when alloc_page failed
Mitigation
- Upgrade Linux to 491deb9b8c4ad12fe51d554a69b8165b9ef9429f or later.
Who should check
- Anyone running Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 406d05da26835943568e61bb751c569efae071d4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < a11b8c0be6acd0505a58ff40d474bd778b25b93a; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 5f1f833cb388592bb46104463a1ec1b7c41975b6; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 491deb9b8c4ad12fe51d554a69b8165b9ef9429f
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 406d05da26835943568e61bb751c569efae071d4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < a11b8c0be6acd0505a58ff40d474bd778b25b93a; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 5f1f833cb388592bb46104463a1ec1b7c41975b6; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 491deb9b8c4ad12fe51d554a69b8165b9ef9429f; Linux 6.0
- Fixed in
- Linux 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4, Linux 406d05da26835943568e61bb751c569efae071d4, Linux 5f1f833cb388592bb46104463a1ec1b7c41975b6, Linux 491deb9b8c4ad12fe51d554a69b8165b9ef9429f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.72% chance of exploitation in 30 days (percentile 50, 2026-11-26)
- CWE
- CWE-476
- Modified
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 406d05da26835943568e61bb751c569efae071d4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < a11b8c0be6acd0505a58ff40d474bd778b25b93a; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 5f1f833cb388592bb46104463a1ec1b7c41975b6; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 491deb9b8c4ad12fe51d554a69b8165b9ef9429f | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38018. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38018.md Affected: Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 406d05da26835943568e61bb751c569efae071d4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < a11b8c0be6acd0505a58ff40d474bd778b25b93a; >= 84c61fe1a75b4255df1e1e7… Fixed in: Linux 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4, Linux 406d05da26835943568e61bb751c569efae071d4, Linux 5f1f833cb388592bb46104463a1ec1b7c41975b6, Linux 491deb9b8c4ad12fe51d554a69b8165b9ef9429f Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4
- https://git.kernel.org/stable/c/406d05da26835943568e61bb751c569efae071d4
- https://git.kernel.org/stable/c/a11b8c0be6acd0505a58ff40d474bd778b25b93a
- https://git.kernel.org/stable/c/5f1f833cb388592bb46104463a1ec1b7c41975b6
- https://git.kernel.org/stable/c/491deb9b8c4ad12fe51d554a69b8165b9ef9429f
FAQ
Is CVE-2025-38018 being exploited?
There is no confirmed exploitation: CVE-2025-38018 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38018?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-38018?
Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 406d05da26835943568e61bb751c569efae071d4; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < a11b8c0be6acd0505a58ff40d474bd778b25b93a; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 5f1f833cb388592bb46104463a1ec1b7c41975b6; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 491deb9b8c4ad12fe51d554a69b8165b9ef9429f; Linux 6.0.
Is there a fix for CVE-2025-38018?
Yes. Fixed in Linux 8f7f96549bc55e4ef3a6b499bc5011e5de2f46c4, Linux 406d05da26835943568e61bb751c569efae071d4, Linux 5f1f833cb388592bb46104463a1ec1b7c41975b6, Linux 491deb9b8c4ad12fe51d554a69b8165b9ef9429f. Upgrade Linux to 491deb9b8c4ad12fe51d554a69b8165b9ef9429f or later.
How do I check if I'm affected by CVE-2025-38018?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.