CVE-2025-38018: net/tls: fix kernel panic when alloc_page failed

Published Jun 18, 2025
·
Updated

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

net/tls: fix kernel panic when allocpage failed

We cannot set fraglist to NULL pointer when allocpage failed. It will be used in tlsstrpcheckqueueok when the next time tlsstrpreadsock is called.

This is because we don't reset fulllen in tlsstrpflushanchorcopy() 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 fulllen.

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000028 Call trace: tlsstrpcheckrcv+0x128/0x27c tlsstrpdataready+0x34/0x44 tlsdataready+0x3c/0x1f0 tcpdataready+0x9c/0xe4 tcpdataqueue+0xf6c/0x12d0 tcprcvestablished+0x52c/0x798

Affected Software

12 affected components
Linux Linux kernel
Linux Linux kernel>=6.0<6.1.140
Linux Linux kernel>=6.2<6.6.92
Linux Linux kernel>=6.7<6.12.30
Linux Linux kernel>=6.13<6.14.8
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5
Linux Linux kernel=6.15-rc6
Debian Debian Linux=11.0

Event History

Jun 18, 2025
CVE Published
via MITRE·09:28 AM
Data Sourced
via MITRE·09:28 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38018?

The severity of CVE-2025-38018 has been classified as medium, given its potential to cause kernel panics.

2

How do I fix CVE-2025-38018?

To fix CVE-2025-38018, update the Linux kernel to a version that addresses this vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2025-38018?

CVE-2025-38018 affects Linux kernel versions between 6.0 and 6.1.140, as well as several versions from 6.2 to 6.15-rc6.

4

What happens if I ignore CVE-2025-38018?

Ignoring CVE-2025-38018 could lead to kernel panics and potential denial of service on affected systems.

5

Is CVE-2025-38018 specific to any Linux distribution?

CVE-2025-38018 affects the Linux kernel across various distributions, including Debian Linux.

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