# nfs: fix UAF in direct writes

CVE record · `CVE-2024-26958`

- **Identifiers:** `CVE-2024-26958`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2024, 05:19 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: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before 6cd3f13aaa62970b5169d990e936b2e96943bc6a` (git)
  - affected: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before 4595d90b5d2ea5fa4d318d13f59055aa4bf3e7f5` (git)
  - affected: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before 80d24b308b7ee7037fc90d8ac99f6f78df0a256f` (git)
  - affected: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before 3abc2d160ed8213948b147295d77d44a22c88fa3` (git)
  - affected: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before e25447c35f8745337ea8bc0c9697fcac14df8605` (git)
  - affected: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before 1daf52b5ffb24870fbeda20b4967526d8f9e12ab` (git)
  - affected: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before cf54f66e1dd78990ec6b32177bca7e6ea2144a95` (git)
  - affected: `af7cf057933f01dc7f33ddfb5e436ad598ed17ad to before 17f46b803d4f23c66cacce81db35fef3adb8f2af` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.5`
  - unaffected: `before 4.5` (semver)
  - unaffected: `5.4.297 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.215 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.154 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.84 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.24 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7.12 to 6.7.*, inclusive` (semver)
  - unaffected: `6.8.3 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0025, the 15th percentile, on 21 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 1 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/6cd3f13aaa62970b5169d990e936b2e96943bc6a>
- <https://git.kernel.org/stable/c/4595d90b5d2ea5fa4d318d13f59055aa4bf3e7f5>
- <https://git.kernel.org/stable/c/80d24b308b7ee7037fc90d8ac99f6f78df0a256f>
- <https://git.kernel.org/stable/c/3abc2d160ed8213948b147295d77d44a22c88fa3>
- <https://git.kernel.org/stable/c/e25447c35f8745337ea8bc0c9697fcac14df8605>
- <https://git.kernel.org/stable/c/1daf52b5ffb24870fbeda20b4967526d8f9e12ab>
- <https://git.kernel.org/stable/c/cf54f66e1dd78990ec6b32177bca7e6ea2144a95>
- <https://git.kernel.org/stable/c/17f46b803d4f23c66cacce81db35fef3adb8f2af>

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

---

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