PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31402 Linux CVE debrief

CVE-2026-31402 is a critical Linux kernel vulnerability in nfsd’s NFSv4.0 LOCK replay cache. A denial response for a conflicting LOCK can include a large, variable-length lock owner field that may overflow the fixed inline replay buffer, leading to a heap out-of-bounds write. Because the issue is reachable over the network without authentication, exposed NFSv4.0 servers should be treated as urgent patching priorities.

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 administrators, distro maintainers, and platform teams running NFS servers with NFSv4.0 enabled, especially systems exposed to untrusted networks. Security teams should also care if kernel-based file services are part of production storage, virtualization, or appliance deployments.

Technical summary

The CVE description says the NFSv4.0 replay cache uses a fixed 112-byte inline buffer for encoded operation responses, but LOCK denied responses may embed a conflicting lock owner string up to the NFS opaque limit. In nfsd4_encode_operation(), the encoded response is copied into the replay buffer without a bounds check, and read_bytes_from_xdr_buf() can write past the end of the slab buffer. The reported impact is a slab-out-of-bounds write of up to 944 bytes, caused by remote unauthenticated requests using two cooperating NFSv4.0 clients. The fix described in the record is to check the encoded response length before copying and skip caching oversized replay payloads while still caching the status.

Defensive priority

Urgent. The attack surface is network-reachable, unauthenticated, and memory-corrupting in a privileged kernel service. NVD rates the issue CVSS 9.8/Critical with high confidentiality, integrity, and availability impact.

Recommended defensive actions

  • Apply the kernel patches referenced in the advisory record and vendor backports as soon as they are available.
  • Verify whether your running kernel falls within the affected ranges listed by NVD, including the version bands ending before 5.10.253, 6.1.167, 6.6.130, 6.12.78, 6.18.20, and 6.19.10.
  • Prioritize externally reachable NFS servers and storage appliances first.
  • If immediate patching is not possible, reduce exposure by restricting NFS server access to trusted networks and reviewing whether NFSv4.0 must remain enabled.
  • Monitor affected hosts for kernel crashes, oopses, or unexpected nfsd instability after exposure.
  • After patching, confirm the running kernel build includes the relevant stable fixes and reboot into the updated kernel.

Evidence notes

All claims above are grounded in the supplied NVD record and the CVE description. The record identifies the weakness as CWE-787 and classifies the CVSS vector as CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The description states the issue is in nfsd’s NFSv4.0 LOCK replay cache, that oversized conflicting lock-owner data can overflow the fixed replay buffer, and that the intended fix is to reject oversized payloads rather than enlarge the buffer. The NVD record also lists the vulnerability as analyzed and provides affected-version criteria and stable kernel patch references.

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

  • Mitigation or vendor reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

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.