Home/CVE/In the Linux kernel, the following vulnerability has been resolved: nfsd: fix heap overflow in NFSv4.0 LOCK replay cach
CVE

CVE-2026-31402

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix heap overflow in NFSv4.0 LOCK replay cach

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.

CRITICAL · CVSS 9.8 EPSS 0.00206
Schedule remediation
  • CVSS base score ≥ 7.0
Sigma rules0 YARA rules0
Look this up elsewhere - one-click external pivots
How to read a CVE - triage first, then detect and patch
This page is every public fact about CVE-2026-31402, cross-linked. Its job is to answer one question fast - does this need my attention now? - and then hand you the two things you do about it. Here is how an analyst reads it.
Triage: should I act now? Four signals, and they are not interchangeable:
CVSSseverity - how bad it is IF exploited, 0-10. A high CVSS alone is not urgency; a flaw can be a perfect 10 and never actually be attacked. EPSSprobability - a model’s estimate of the chance it is exploited in the next 30 days, 0-1. This is the “will it actually happen” signal. CISA KEVconfirmed - it is being exploited in the wild right now. The strongest signal on the page; KEV beats any score. Weaponisedavailability - public exploits / PoCs, and especially Metasploit modules rated Excellent / Great. Reliable, packaged exploit code means low-skill attackers can use it today.
How they combine: KEV, or a dependable Metasploit module, means patch now regardless of CVSS. High CVSS + low EPSS + no exploit is real but not an emergency - schedule it. Low CVSS but KEV-listed still gets patched now. The verdict above already weighed these for you; this is how it got there.
Then what - two workflows:
Detectwhen you cannot patch today, follow this CVE to the ATT&CK techniques it enables, then Build a SIEM detection (the green button) - author a rule, test it in Atomic, deploy it. That buys visibility while the patch waits. PatchAffected products / packages tell you if you are exposed; Fixed versions by distribution and Vendor advisories give the exact version that closes it.
Reading order for the panels below: verdict + badges, then Public exploits / Metasploit (is it weaponised), then ATT&CK techniques + Sigma / IDS rules (can I detect it), then Affected products / packages + Fixed versions (am I exposed, what patches it), then Threat actors / IOCs (who uses it), then Scoring & timeline / references (the evidence).

ATT&CK techniques

1

Techniques this CVE enables - linked via CWECAPECATT&CK. High◆ = named directly in ATT&CK or Nuclei templates.

▤ Build a SIEM detection for these techniques

Weakness Classification

Affected Products & Versions

7
linux kernel>= 2.6.12.1 and < 5.10.253
linux kernel>= 5.11 and < 6.1.167
linux kernel>= 6.2 and < 6.6.130
linux kernel>= 6.7 and < 6.12.78
linux kernel>= 6.13 and < 6.18.20
linux kernel>= 6.19 and < 6.19.10
linux kernelall versions
📦

Fixed versions by distribution

80
The package version that resolves this CVE on each Linux distribution, from the vendor’s published security data. fixed in shows a patched version exists; open means the package is listed as affected with no fix yet.
oracle allbpftool fixed in 0:4.18.0-553.123.1.el8_10
oracle allkernel fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-abi-stablelists fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-core fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-cross-headers fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-debug fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-debug-core open
oracle allkernel-debug-devel open
oracle allkernel-debug-devel-matched open
oracle allkernel-debug-modules fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-debug-modules-core fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-debug-modules-extra open
oracle allkernel-debug-uki-virt open
oracle allkernel-devel open
oracle allkernel-devel-matched fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-headers fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-modules fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-modules-core open
oracle allkernel-modules-extra fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-modules-extra-matched fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-tools open
oracle allkernel-tools-libs open
oracle allkernel-tools-libs-devel fixed in 0:6.12.0-124.55.1.el10_1
oracle allkernel-uek open
oracle allkernel-uek-container fixed in 0:5.15.0-320.202.8.3.el9uek
oracle allkernel-uek-container-debug fixed in 0:5.15.0-320.202.8.3.el9uek
oracle allkernel-uek-core open
oracle allkernel-uek-debug open
oracle allkernel-uek-debug-core fixed in 0:5.15.0-320.202.8.3.el8uek
oracle allkernel-uek-debug-devel open
oracle allkernel-uek-debug-modules open
oracle allkernel-uek-debug-modules-core open
oracle allkernel-uek-debug-modules-deprecated fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek-debug-modules-desktop fixed in 0:6.12.0-202.76.4.2.el10uek
oracle allkernel-uek-debug-modules-extra open
oracle allkernel-uek-debug-modules-extra-netfilter fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek-debug-modules-usb open
oracle allkernel-uek-debug-modules-wireless open
oracle allkernel-uek-devel open
oracle allkernel-uek-modules fixed in 0:5.15.0-320.202.8.3.el9uek
oracle allkernel-uek-modules-core fixed in 0:6.12.0-202.76.4.2.el10uek
oracle allkernel-uek-modules-deprecated open
oracle allkernel-uek-modules-desktop open
oracle allkernel-uek-modules-extra fixed in 0:5.15.0-320.202.8.3.el8uek
oracle allkernel-uek-modules-extra-netfilter fixed in 0:6.12.0-202.76.4.2.el10uek
oracle allkernel-uek-modules-usb fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek-modules-wireless fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek-tools fixed in 0:6.12.0-202.76.4.2.el10uek
oracle allkernel-uek64k open
oracle allkernel-uek64k-core open
oracle allkernel-uek64k-devel open
oracle allkernel-uek64k-modules open
oracle allkernel-uek64k-modules-core fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek64k-modules-deprecated open
oracle allkernel-uek64k-modules-desktop fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek64k-modules-extra open
oracle allkernel-uek64k-modules-extra-netfilter fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek64k-modules-usb fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uek64k-modules-wireless fixed in 0:6.12.0-202.76.4.2.el9uek
oracle allkernel-uki-virt open
oracle allkernel-uki-virt-addons fixed in 0:6.12.0-124.55.1.el10_1
oracle alllibperf fixed in 0:6.12.0-124.55.1.el10_1
oracle allperf fixed in 0:6.12.0-124.55.1.el10_1
oracle allpython3-perf open
oracle allrtla open
oracle allrv open
rhel 8bpftool fixed in 0:4.18.0-553.123.1.el8_10
rhel 8kernel open
rhel 8kernel-abi-stablelists open
rhel 8kernel-core fixed in 0:4.18.0-553.123.1.el8_10
rhel 8kernel-debug open
rhel 8kernel-debug-core open
rhel 8kernel-debug-devel fixed in 0:4.18.0-553.123.1.el8_10
rhel 8kernel-debug-modules fixed in 0:4.18.0-553.123.1.el8_10
rhel 8kernel-debug-modules-extra open
rhel 8kernel-devel fixed in 0:4.18.0-553.123.1.el8_10
rhel 8kernel-modules open
rhel 8kernel-modules-extra open
rhel 8kernel-rt fixed in 0:4.18.0-553.123.1.rt7.464.el8_10
rhel 8kernel-rt-core fixed in 0:4.18.0-553.123.1.rt7.464.el8_10

Scoring & Timeline

9.8
CRITICAL · CVSS v3.1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD03 Apr 2026 · 04:16 PM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vendor Advisories

30
suse-csafSUSE-SU-2026:2317-1
suse-csafSUSE-SU-2026:2238-1
suse-csafSUSE-SU-2026:2215-1
suse-csafSUSE-SU-2026:2216-1
suse-csafSUSE-SU-2026:2217-1
SOC and Response
CVE triage
Stack monitoring
Am I affected
IOC triage
KEV catalog
Daily brief
Change tracking
Detection Engineering
Coverage workspace
Detection coverage
Coverage check
Telemetry ceiling
SIEM query builder
Sigma rules
SIEM rules
YARA rules
Network rules
D3FEND
Threat Hunting
Threat actors
ATT&CK techniques
Attack paths
Indicators
Atomic tests
Red Team and Pentest
Exploitability triage
Recon pack
Attack paths
CAPEC patterns
Adversary emulation
Compliance and GRC
Framework mapping
Control assessment
Audit view
Coverage report
Atlas Search Threat actors Techniques Tools & malware CWE CAPEC KEV catalog Package vulns TAXII feed Data sources
About All capabilities Pricing API docs Live statistics Live status Privacy policy Terms of service
threatengine.sh