PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31402 Linux CVE debrief

A heap overflow vulnerability exists in the Linux kernel's NFSv4.0 LOCK replay cache. This issue arises from the use of a fixed 112-byte inline buffer to store encoded operation responses, which is insufficient for LOCK denied responses that include a variable-length field up to 1024 bytes. An unauthenticated attacker with two cooperating NFSv4.0 clients can trigger this vulnerability by setting a lock with a large owner string and then requesting a conflicting lock, leading to a slab-out-of-bounds write of up to 944 bytes past the end of the buffer, corrupting adjacent heap memory.

Vendor
Linux
Product
Unknown
CVSS
CRITICAL 9.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-14
Original CVE updated
2026-07-28
Advisory published
2026-07-14
Advisory updated
2026-07-28

Who should care

Linux system administrators, security teams, and developers using NFSv4.0 should assess exposure and apply remediation to prevent potential heap overflow attacks. Linux kernel developers and maintainers should review and update the NFSv4.0 LOCK replay cache implementation to prevent similar vulnerabilities. Vulnerability management teams should prioritize assessment and remediation of affected Linux systems.

Why it matters

This vulnerability allows remote attackers to trigger a heap overflow in the Linux kernel's NFSv4.0 LOCK replay cache, potentially leading to denial of service or code execution. Linux system administrators and security teams should assess exposure and apply remediation.

  • Remote attackers can trigger a slab-out-of-bounds write, corrupting adjacent heap memory.
  • Successful exploitation can lead to denial of service or potential code execution.
  • Defenders should verify affected versions and apply patches or mitigations.
  • Exposure assessment and inventory checks are necessary to determine vulnerable systems.

Technical summary

The Linux kernel's NFSv4.0 LOCK replay cache uses a fixed 112-byte inline buffer to store encoded operation responses. This buffer is insufficient for LOCK denied responses that include a variable-length field up to 1024 bytes, leading to a heap overflow vulnerability. An unauthenticated attacker with two cooperating NFSv4.0 clients can trigger this vulnerability by setting a lock with a large owner string and then requesting a conflicting lock, resulting in a slab-out-of-bounds write of up to 944 bytes past the end of the buffer, corrupting adjacent heap memory. Affected product deployments should be assessed for exposure, and remediation should be applied to prevent potential heap overflow attacks.

Defensive priority

High priority should be given to assessing exposure and applying remediation, as this vulnerability can be triggered remotely by an unauthenticated attacker.

Recommended defensive actions

  • Assess exposure and apply remediation to affected Linux kernel versions.
  • Review and update inventory of Linux systems using NFSv4.0.
  • Monitor for unusual NFSv4.0 LOCK operations.
  • Verify affected scope and severity with vendor guidance.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The CVE Program record and NVD vulnerability detail provide official information on this vulnerability. Linux kernel Git repository commits are referenced as source references. Evidence limits are based on available details. Defenders should verify affected versions and apply patches or mitigations. Exposure assessment and inventory checks are necessary to determine vulnerable systems. Additional information may be available from Linux kernel development resources and vulnerability management platforms.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31402 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-31402

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-31402 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31402

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/31xxx/CVE-2026-31402.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/f9fcb4441f6c02bb20c2eb340101e27dfe23607c

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.