CVE-2025-38112
kernel: Linux kernel: Denial of Service due to TOCTOU in `sk_is_readable()`
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 3, 2025
Updated · July 8, 2026
Description
A flaw was found in the Linux kernel. A local user could exploit a Time-of-check to time-of-use (TOCTOU) issue in the sk_is_readable() function. This race condition occurs when a socket is removed from a sockmap, causing a function pointer to become null after an initial check. This can lead to a null pointer dereference, resulting in a system crash and a Denial of Service (DoS).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition