# nfsd: fix heap overflow in NFSv4.0 LOCK replay cache

CVE record · `CVE-2026-31402`

- **Identifiers:** `CVE-2026-31402`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Weakness (CWE):** [CWE-122](https://cwe.mitre.org/data/definitions/122.html) · [CWE-787](https://cwe.mitre.org/data/definitions/787.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 3 Apr 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 3 Apr 2026, 15:16 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.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f9fcb4441f6c02bb20c2eb340101e27dfe23607c` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2665887a69437a8a4f552f69509eecfb73d4aa19` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c9452c0797c95cf2378170df96cf4f4b3bca7eff` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8afb437ea1f70cacb4bbdf11771fb5c4d720b965` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before dad0c3c0a8e5d1d6eb0fc455694ce3e25e6c57d0` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0f0e2a54a31a7f9ad2915db99156114872317388` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ae8498337dfdfda71bdd0b807c9a23a126011d76` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5133b61aaf437e5f25b1b396b14242a6bb0508e2` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `5.10.253 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.210 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.167 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.130 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.78 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.20 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.10 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 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

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 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 ADP (redhat-SADP)

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

## Timeline

- 3 Apr 2026, 15:16 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-31402)
- 3 Apr 2026, 16:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31402)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/f9fcb4441f6c02bb20c2eb340101e27dfe23607c>
- <https://git.kernel.org/stable/c/2665887a69437a8a4f552f69509eecfb73d4aa19>
- <https://git.kernel.org/stable/c/c9452c0797c95cf2378170df96cf4f4b3bca7eff>
- <https://git.kernel.org/stable/c/8afb437ea1f70cacb4bbdf11771fb5c4d720b965>
- <https://git.kernel.org/stable/c/dad0c3c0a8e5d1d6eb0fc455694ce3e25e6c57d0>
- <https://git.kernel.org/stable/c/0f0e2a54a31a7f9ad2915db99156114872317388>
- <https://git.kernel.org/stable/c/ae8498337dfdfda71bdd0b807c9a23a126011d76>
- <https://git.kernel.org/stable/c/5133b61aaf437e5f25b1b396b14242a6bb0508e2>

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

---

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