# fs/9p: fix NULL pointer dereference on mkdir

CVE record · `CVE-2025-22070`

- **Identifiers:** `CVE-2025-22070`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Apr 2025
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Apr 2025, 14:12 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: `dafbe689736f62c696ac64809b17bdc752cfbe76 to before d5031a71a2d0e76d3eb02b52b21c17c881919d53` (git)
  - affected: `dafbe689736f62c696ac64809b17bdc752cfbe76 to before b17edabd917142d9ecd058f7c6ee9da5e32af1dd` (git)
  - affected: `dafbe689736f62c696ac64809b17bdc752cfbe76 to before 8522051c58d68146b93e8a5ba9987e83b3d64e7b` (git)
  - affected: `dafbe689736f62c696ac64809b17bdc752cfbe76 to before 2139dea5c53e3bb63ac49a6901c85e525a80ee8a` (git)
  - affected: `dafbe689736f62c696ac64809b17bdc752cfbe76 to before 6517b395cb1e43fbf3962dd93e6fb4a5e5ab100e` (git)
  - affected: `dafbe689736f62c696ac64809b17bdc752cfbe76 to before 3f61ac7c65bdb26accb52f9db66313597e759821` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.0`
  - unaffected: `before 6.0` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.23 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.11 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14.2 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 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 fs/9p client is affected from version 6.0 until fixed. On a 9p tree mounted with the posixacl option, creating a subdirectory under a parent that has a default ACL causes a NULL pointer dereference that crashes the client. Upgrade to 6.1.191, 6.6.160, 6.12.23, 6.13.11, or a later release in those series.

Written 13 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

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

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

## Timeline

This record came from the full history of the CVE Program, published 16 Apr 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/d5031a71a2d0e76d3eb02b52b21c17c881919d53>
- <https://git.kernel.org/stable/c/b17edabd917142d9ecd058f7c6ee9da5e32af1dd>
- <https://git.kernel.org/stable/c/8522051c58d68146b93e8a5ba9987e83b3d64e7b>
- <https://git.kernel.org/stable/c/2139dea5c53e3bb63ac49a6901c85e525a80ee8a>
- <https://git.kernel.org/stable/c/6517b395cb1e43fbf3962dd93e6fb4a5e5ab100e>
- <https://git.kernel.org/stable/c/3f61ac7c65bdb26accb52f9db66313597e759821>

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-22070>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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