Linux kernel NFSv4.0 LOCK replay cache heap overflow
CVE-2026-31402Critical
The Linux kernel's NFSv4.0 replay cache uses a fixed 112-byte buffer to store encoded operation responses, but this buffer is too small for LOCK denied responses that include a conflicting lock owner field up to 1024 bytes. When a LOCK operation is denied due to a conflict with an existing lock that has a large owner, the kernel copies the full encoded response into the undersized buffer without bounds checking, causing a heap overflow that corrupts adjacent memory. An unauthenticated attacker with two cooperating NFSv4.0 clients can trigger this by having one client set a lock with a large owner string and another request a conflicting lock.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.12.1, before 5.10.253
- linux linux kernel: from 5.11, before 6.1.167
- linux linux kernel: from 6.2, before 6.6.130
- linux linux kernel: from 6.7, before 6.12.78
- linux linux kernel: from 6.13, before 6.18.20
- linux linux kernel: from 6.19, before 6.19.10
- linux linux kernel: 2.6.12
- linux linux kernel: 7.0
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)