Skip to main content
Network Thinking Solutions Logo

CVE-2025-38112

Linux kernel: net: Fix TOCTOU issue in sk_is_readable()

All CVEs
CVE-2025-38112Published 7/3/2025

Linux kernel: net: Fix TOCTOU issue in sk_is_readable()

Vendor advisory
CVSS4.7Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: net: Fix TOCTOU issue in sk_is_readable() sk->sk_prot->sock_is_readable is a valid function pointer when sk resides in a sockmap. After the last sk_psock_put() (which usually happens when socket is removed from sockmap), sk->sk_prot gets restored and sk->sk_prot->sock_is_readable becomes NULL. This makes sk_is_readable() racy, if the value of sk->sk_prot is reloaded after the initial check. Which in turn may lead to a null pointer dereference. Ensure the function pointer does not turn NULL after the check.

Published
7/3/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.17, < 5.10.239

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.186

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.142

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.94

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.34

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.3

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < c2b26638476baee154920bb587fc94ff1bf04336

Verify advisory

Source
Linux
Linux
≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 6fa68d7eab34d448a61aa24ea31e68b3231ed20d

Verify advisory

Source
Linux
Linux
≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 8926a7ef1977a832dd6bf702f1a99303dbf15b15

Verify advisory

Source
Linux
Linux
≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < ff55c85a923e043d59d26b20a673a1b4a219c310

Verify advisory

Source
Linux
Linux
≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 1e0de7582ceccbdbb227d4e0ddf65732f92526da

Verify advisory

Source
Linux
Linux
≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 1b367ba2f94251822577daed031d6b9a9e11ba91

Verify advisory

Source
Linux
Linux
≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 2660a544fdc0940bba15f70508a46cf9a6491230

Verify advisory

Source
Linux
Linux
4.17

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.