4.7

CVE-2025-38112: net: Fix TOCTOU issue in sk_is_readable()

Analyzed
AliasesUBUNTU-CVE-2025-38112DEBIAN-CVE-2025-38112
Published 03-07-2025Last modified 05-11-2026

Vulnerability summary

CVE-2025-38112 is a medium (CVSS 4.7) vulnerability in debian debian_linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.7/10
010
Medium · v3.1 (NVD)
EPSS score
0.17%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 54 · Related 49

Timeline

  1. 03-07-2025
    PublishedVulnerability first disclosed.
  2. 05-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.14% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu142 products
  • linuxAll versions (No fix recorded) | < 5.15.0-156.166 | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1092.99 | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < c2b26638476baee154920bb587fc94ff1bf04336 | ≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 6fa68d7eab34d448a61aa24ea31e68b3231ed20d | ≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 8926a7ef1977a832dd6bf702f1a99303dbf15b15 | ≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < ff55c85a923e043d59d26b20a673a1b4a219c310 | ≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 1e0de7582ceccbdbb227d4e0ddf65732f92526da | ≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 1b367ba2f94251822577daed031d6b9a9e11ba91 | ≥ 8934ce2fd08171e8605f7fada91ee7619fe17ab8, < 2660a544fdc0940bba15f70508a46cf9a6491230 | 4.17
  • linux_kernel≥ 4.17, < 5.10.239 | ≥ 5.11, < 5.15.186 | ≥ 5.16, < 6.1.142 | ≥ 6.2, < 6.6.94 | ≥ 6.7, < 6.12.34 | ≥ 6.13, < 6.15.3 | 6.16:rc1

3 vendors · 146 products

References

46 links
Show all 46 references