CVE-2026-31402

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-04-03. the CNA's CVSS baseline 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:linux, epss, ghsa
9.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1%CVSS: 9.8Exploit: None knownExposed: 0

A fix is available — apply it.

In the Linux kernel, the following vulnerability has been resolved:

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

The NFSv4.0 replay cache uses a fixed 112-byte inline buffer (rp_ibuf[NFSD4_REPLAY_ISIZE]) to store encoded operation responses. This size was calculated based on OPEN responses and does not account for LOCK denied responses, which include the conflicting lock owner as a variable-length field up to 1024 bytes (NFS4_OPAQUE_LIMIT).

When a LOCK operation is denied due to a conflict with an existing lock that has a large owner, nfsd4_encode_operation() copies the full encoded response into the undersized replay buffer via read_bytes_from_xdr_buf() with no bounds check. This results in a slab-out-of-bounds write of up to 944 bytes past the end of the buffer, corrupting adjacent heap memory.

This can be triggered remotely by an unauthenticated attacker with two cooperating NFSv4.0 clients: one sets a lock with a large owner string, then the other requests a conflicting lock to provoke the denial.

We could fix this by increasing NFSD4_REPLAY_ISIZE to allow for a full opaque, but that would increase the size of every stateowner, when most lockowners are not that large.

Instead, fix this by checking the encoded response length against NFSD4_REPLAY_ISIZE before copying into the replay buffer. If the response is too large, set rp_buflen to 0 to skip caching the replay payload. The status is still cached, and the client already received the correct response on the original request.

CVSS v3
9.8
EG Score
9.8(medium)
EG Risk
49(Track)
EG Risk 49/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity98% × 45%
Exploitation1% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
1%
EPSS %ILE
60%
KEV
Not listed

Published

April 3, 2026

Last Modified

September 8, 2026

Advisory Details (10)

Auto-updated Sep 15, 2026
No patch confirmed yet.
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/5133b61aaf437e5f25b1b396b14242a6bb0508e2
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/ae8498337dfdfda71bdd0b807c9a23a126011d76
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/0f0e2a54a31a7f9ad2915db99156114872317388
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/dad0c3c0a8e5d1d6eb0fc455694ce3e25e6c57d0
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/8afb437ea1f70cacb4bbdf11771fb5c4d720b965
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/c9452c0797c95cf2378170df96cf4f4b3bca7eff
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/2665887a69437a8a4f552f69509eecfb73d4aa19
generic

nfsd: fix heap overflow in NFSv4.0 LOCK replay cache - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f9fcb4441f6c02bb20c2eb340101e27dfe23607c
redhat Patch Available

Affected: Red Hat Enterprise Linux 9.6 Extended Update Support.

https://access.redhat.com/errata/RHSA-2026:11313
redhat Patch Available

Affected: Red Hat Enterprise Linux 9.4 Extended Update Support.

https://access.redhat.com/errata/RHSA-2026:10108

Patch Availability(27)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntulinux-tools-lowlatency-hwe-20.04-edge (6.8.0-134.134.1) @ noble2026-09-08ubuntu
ubuntulinux-tools-nvidia-lowlatency-64k-6.8 (6.8.0-1058.61.1) @ noble2026-09-08ubuntu
ubuntulinux-virtual-hwe-20.04-edge (5.15.0.185.166) @ jammy2026-09-08ubuntu
ubuntulinux-virtual-6.8 (6.8.0-134.134) @ noble2026-09-08ubuntu
ubuntulinux-tools-oem-6.17 (6.17.0-1028.28) @ noble2026-09-08ubuntu
ubuntulinux-virtual-hwe-24.04-edge (6.17.0-40.40) @ questing2026-09-08ubuntu
redhatkpatch-patch2026-07-08redhat
redhatkernel-0:6.12.0-211.16.1.el10_22026-05-20redhat
redhatkernel-0:5.14.0-687.10.1.el9_82026-05-20redhat
redhatkernel-0:6.12.0-55.72.1.el10_02026-05-11redhat
redhatkernel-0:2.6.32-754.60.1.el62026-05-07redhat
redhatkernel-rt-0:3.10.0-1160.149.1.rt56.1301.el72026-05-07redhat
redhatkernel-0:3.10.0-1160.149.1.el72026-05-07redhat
redhatkernel-rt-0:5.14.0-70.178.1.rt21.250.el9_02026-05-06redhat
redhatkernel-0:4.18.0-305.190.1.el8_42026-05-06redhat
redhatkernel-rt-0:5.14.0-284.169.1.rt14.454.el9_22026-05-06redhat
redhatkernel-0:5.14.0-70.178.1.el9_02026-05-06redhat
redhatkernel-rt-0:4.18.0-553.123.1.rt7.464.el8_102026-05-05redhat
redhatkernel-0:4.18.0-372.190.1.el8_62026-05-05redhat
redhatkernel-0:5.14.0-284.169.1.el9_22026-05-05redhat
redhatkernel-0:4.18.0-553.123.1.el8_102026-05-05redhat
redhatkernel-0:4.18.0-477.139.1.el8_82026-05-05redhat
redhatkernel-0:5.14.0-611.54.1.el9_72026-05-04redhat
redhatkernel-0:6.12.0-124.55.1.el10_12026-05-04redhat
redhatkernel-0:5.14.0-570.110.1.el9_62026-04-28redhat
redhatkernel-0:5.14.0-427.121.1.el9_42026-04-23redhat
linuxKernel @ 5.10.253osv

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(5 across 4 ecosystems)
Debian:11(2)
PackageVulnerable rangeFixed inDependents
linux5.10.103-1 ... 5.10.92-2 (53 versions)5.10.257-1
linux-6.16.1.106-3~deb11u1 ... 6.1.164-1~deb11u1 (16 versions)6.1.170-1~deb11u1
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 6.1.99-1 (48 versions)6.1.170-1
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.38-1 ... 6.12.85-1~bpo12+1 (17 versions)6.12.85-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 6.19~rc8-1~exp1 (122 versions)6.19.10-1

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(5)

Data Freshness Timeline

(refreshed 7× in last 7d / 33× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 316 total refreshes for this CVE.

  1. 2026-09-18 19:28 UTCEPSS rescore
  2. 2026-09-18 19:27 UTCEPSS rescore
  3. 2026-09-17 19:30 UTCEPSS rescore
  4. 2026-09-16 14:08 UTCEPSS rescore
  5. 2026-09-16 05:15 UTCEPSS rescore
  6. 2026-09-13 16:47 UTCEPSS rescore
  7. 2026-09-12 15:01 UTCEPSS rescore
  8. 2026-09-11 14:52 UTCEPSS rescore
  9. 2026-09-10 09:34 UTCEPSS rescore
  10. 2026-09-08 22:00 UTCEPSS rescore
  11. 2026-09-08 09:13 UTCEG score recompute
  12. 2026-09-08 09:13 UTCVendor advisory
  13. 2026-09-08 09:12 UTCGHSA enrichment
  14. 2026-09-07 16:01 UTCEPSS rescore
  15. 2026-09-06 13:47 UTCEPSS rescore
  16. 2026-09-06 13:47 UTCEPSS rescore
  17. 2026-09-04 05:06 UTCEPSS rescore
  18. 2026-09-02 14:11 UTCEPSS rescore
  19. 2026-09-02 11:14 UTCOSV refresh
  20. 2026-09-01 13:53 UTCEPSS rescore
  21. 2026-09-01 04:39 UTCEPSS rescore
  22. 2026-09-01 04:39 UTCEPSS rescore
  23. 2026-08-30 19:17 UTCEPSS rescore
  24. 2026-08-30 01:22 UTCEPSS rescore
  25. 2026-08-28 21:41 UTCEPSS rescore
Show 75 more
  1. 2026-08-27 14:25 UTCEPSS rescore
  2. 2026-08-26 14:46 UTCEPSS rescore
  3. 2026-08-25 13:49 UTCEPSS rescore
  4. 2026-08-24 14:17 UTCEPSS rescore
  5. 2026-08-23 00:19 UTCEPSS rescore
  6. 2026-08-21 23:49 UTCEPSS rescore
  7. 2026-08-20 22:55 UTCEPSS rescore
  8. 2026-08-20 22:55 UTCEPSS rescore
  9. 2026-08-19 17:03 UTCEPSS rescore
  10. 2026-08-18 13:48 UTCEPSS rescore
  11. 2026-08-17 13:47 UTCEPSS rescore
  12. 2026-08-16 14:56 UTCEPSS rescore
  13. 2026-08-16 09:16 UTCEG score recompute
  14. 2026-08-16 09:16 UTCVendor advisory
  15. 2026-08-16 09:16 UTCGHSA enrichment
  16. 2026-08-16 02:14 UTCEPSS rescore
  17. 2026-08-15 01:30 UTCEPSS rescore
  18. 2026-08-14 23:01 UTCVendor advisory
  19. 2026-08-14 23:01 UTCGHSA enrichment
  20. 2026-08-14 18:51 UTCVendor advisory
  21. 2026-08-14 18:51 UTCGHSA enrichment
  22. 2026-08-14 14:02 UTCVendor advisory
  23. 2026-08-14 14:02 UTCGHSA enrichment
  24. 2026-08-14 09:52 UTCVendor advisory
  25. 2026-08-14 09:52 UTCGHSA enrichment
  26. 2026-08-14 05:42 UTCEG score recompute
  27. 2026-08-14 05:42 UTCVendor advisory
  28. 2026-08-14 05:42 UTCGHSA enrichment
  29. 2026-08-13 22:00 UTCEPSS rescore
  30. 2026-08-13 09:55 UTCVendor advisory
  31. 2026-08-13 09:55 UTCGHSA enrichment
  32. 2026-08-13 04:18 UTCVendor advisory
  33. 2026-08-13 04:18 UTCGHSA enrichment
  34. 2026-08-13 00:08 UTCVendor advisory
  35. 2026-08-13 00:08 UTCGHSA enrichment
  36. 2026-08-12 19:58 UTCEG score recompute
  37. 2026-08-12 19:58 UTCVendor advisory
  38. 2026-08-12 19:58 UTCGHSA enrichment
  39. 2026-08-12 13:50 UTCEPSS rescore
  40. 2026-08-12 00:40 UTCVendor advisory
  41. 2026-08-12 00:39 UTCGHSA enrichment
  42. 2026-08-11 20:17 UTCEG score recompute
  43. 2026-08-11 20:17 UTCVendor advisory
  44. 2026-08-11 20:17 UTCGHSA enrichment
  45. 2026-08-11 07:35 UTCVendor advisory
  46. 2026-08-11 07:35 UTCGHSA enrichment
  47. 2026-08-11 03:26 UTCEG score recompute
  48. 2026-08-11 03:26 UTCVendor advisory
  49. 2026-08-11 03:25 UTCGHSA enrichment
  50. 2026-08-11 00:00 UTCEPSS rescore
  51. 2026-08-10 09:49 UTCVendor advisory
  52. 2026-08-10 09:49 UTCGHSA enrichment
  53. 2026-08-10 05:39 UTCVendor advisory
  54. 2026-08-10 05:39 UTCGHSA enrichment
  55. 2026-08-10 01:29 UTCVendor advisory
  56. 2026-08-10 01:29 UTCGHSA enrichment
  57. 2026-08-09 21:19 UTCVendor advisory
  58. 2026-08-09 21:19 UTCGHSA enrichment
  59. 2026-08-09 17:09 UTCEG score recompute
  60. 2026-08-09 17:09 UTCVendor advisory
  61. 2026-08-09 17:09 UTCGHSA enrichment
  62. 2026-08-09 13:46 UTCEPSS rescore
  63. 2026-08-09 12:59 UTCVendor advisory
  64. 2026-08-09 12:59 UTCGHSA enrichment
  65. 2026-08-09 05:13 UTCEG score recompute
  66. 2026-08-09 05:13 UTCVendor advisory
  67. 2026-08-09 05:13 UTCGHSA enrichment
  68. 2026-08-08 16:37 UTCEPSS rescore
  69. 2026-08-08 08:01 UTCVendor advisory
  70. 2026-08-08 08:01 UTCGHSA enrichment
  71. 2026-08-08 03:51 UTCVendor advisory
  72. 2026-08-08 03:51 UTCGHSA enrichment
  73. 2026-08-07 23:41 UTCVendor advisory
  74. 2026-08-07 23:41 UTCGHSA enrichment
  75. 2026-08-07 19:31 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-31402?
CVE-2026-31402 is a critical vulnerability published on April 3, 2026. In the Linux kernel, the following vulnerability has been resolved: nfsd: fix heap overflow in NFSv4.0 LOCK replay cache The NFSv4.0 replay cache uses a fixed 112-byte inline buffer (rpibuf[NFSD4REPLAY_ISIZE]) to store encoded operation responses. This size was calculated based on OPEN responses…
When was CVE-2026-31402 disclosed?
CVE-2026-31402 was first published in the National Vulnerability Database on April 3, 2026, with the most recent update on September 8, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-31402 actively exploited?
CVE-2026-31402 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1% probability of exploitation in the next 30 days, which ranks it in the top 40.3% of all scored CVEs.
What is the CVSS score of CVE-2026-31402?
CVE-2026-31402 has a CVSS v4.0 base score of 9.8 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-31402?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-31402, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-31402

Explore →

Is Your Infrastructure Affected by CVE-2026-31402?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.