CVE-2026-31402
A public proof of concept exists; no exploitation attested.
- Published2026-04-03
- Fixed in6.19.10 · 6.18.20 · 6.12.78 · 6.6.130 · 6.1.167 · 5.10.253
- WeaknessCWE-122 · CWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2026-04-0316:16CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
Observed activity
isMalicious corpus · updated 2026-10-23 18:48 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-31402?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-31402?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.19 | ≥ 6.19, < 6.19.10 | 6.19.10 | NVD |
| 6.x | ≥ 6.13, < 6.18.20 | 6.18.20 | NVD |
| 6.x | ≥ 6.7, < 6.12.78 | 6.12.78 | NVD |
| 6.x | ≥ 6.2, < 6.6.130 | 6.6.130 | NVD |
| 6.1 | ≥ 5.11, < 6.1.167 | 6.1.167 | NVD |
| 5.10 | ≥ 2.6.12.1, < 5.10.253 | 5.10.253 | NVD |
| 2.6 | = 2.6.12 | no fix published | NVD |
| 7.0 | = 7.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Fix
- Update Linux linux kernel to 6.19.10 · 6.18.20 · 6.12.78 · 6.6.130 · 6.1.167 · 5.10.253
Advisories and patches
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
Detection
read 2026-10-23 19:25 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
Sources
- CISA-ADPSSVC decisionnone2026-10-16
- OpenCVESSVC decisionnone—
- CNACVSS 3.19.8read 2026-10-23
- CISA-ADPweakness (CWE)CWE-1222026-10-16
- CNAweakness (CWE)CWE-787read 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score1.2 %2026-10-22
- PoC-in-GitHubproof of concept1read 2026-10-23
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-04-03
- Last Modified
- 2026-10-19
- NVD status
- Modified
Frequently asked questions
What is CVE-2026-31402?
Is CVE-2026-31402 actively exploited?
What is the CVSS score for CVE-2026-31402?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.