# net: Fix TOCTOU issue in sk_is_readable()

CVE record · `CVE-2025-38112`

- **Identifiers:** `CVE-2025-38112`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 3 Jul 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 3 Jul 2025, 08:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `8934ce2fd08171e8605f7fada91ee7619fe17ab8 to before c2b26638476baee154920bb587fc94ff1bf04336` (git)
  - affected: `8934ce2fd08171e8605f7fada91ee7619fe17ab8 to before 6fa68d7eab34d448a61aa24ea31e68b3231ed20d` (git)
  - affected: `8934ce2fd08171e8605f7fada91ee7619fe17ab8 to before 8926a7ef1977a832dd6bf702f1a99303dbf15b15` (git)
  - affected: `8934ce2fd08171e8605f7fada91ee7619fe17ab8 to before ff55c85a923e043d59d26b20a673a1b4a219c310` (git)
  - affected: `8934ce2fd08171e8605f7fada91ee7619fe17ab8 to before 1e0de7582ceccbdbb227d4e0ddf65732f92526da` (git)
  - affected: `8934ce2fd08171e8605f7fada91ee7619fe17ab8 to before 1b367ba2f94251822577daed031d6b9a9e11ba91` (git)
  - affected: `8934ce2fd08171e8605f7fada91ee7619fe17ab8 to before 2660a544fdc0940bba15f70508a46cf9a6491230` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.17`
  - unaffected: `before 4.17` (semver)
  - unaffected: `5.10.239 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.94 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.34 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.3 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's sk_is_readable() helper has a time-of-check to time-of-use race: a socket's protocol function pointer can be cleared after it is checked but before it is called, which can cause a NULL pointer dereference. The source gives few details on how an attacker would trigger it. Upgrade to a fixed kernel version: the 5.10, 5.15, 6.1 and 6.6 stable series have fixes from 5.10.239, 5.15.186, 6.1.142 and 6.6.94 onward, and the upstream fix applies to affected kernels from 4.17 onward. No workaround is listed.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0015, the 4th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 3 Jul 2025, 08:35 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38112)
- 3 Jul 2025, 09:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38112)

## Sources

- [CVE List: CVE-2025-38112](https://www.cve.org/CVERecord?id=CVE-2025-38112)
- [NVD: CVE-2025-38112](https://nvd.nist.gov/vuln/detail/CVE-2025-38112)

### References from the CNA

- <https://git.kernel.org/stable/c/c2b26638476baee154920bb587fc94ff1bf04336>
- <https://git.kernel.org/stable/c/6fa68d7eab34d448a61aa24ea31e68b3231ed20d>
- <https://git.kernel.org/stable/c/8926a7ef1977a832dd6bf702f1a99303dbf15b15>
- <https://git.kernel.org/stable/c/ff55c85a923e043d59d26b20a673a1b4a219c310>
- <https://git.kernel.org/stable/c/1e0de7582ceccbdbb227d4e0ddf65732f92526da>
- <https://git.kernel.org/stable/c/1b367ba2f94251822577daed031d6b9a9e11ba91>
- <https://git.kernel.org/stable/c/2660a544fdc0940bba15f70508a46cf9a6491230>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38112>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38112/>. Everything for agents: <https://agentprime.io/llms.txt>.
