
CVE-2026-31402
CVE-2026-31402: Linux NFS Bug Hidden for 23 Years
CVE-2026-31402 is a heap overflow vulnerability in the NFSv4.0 LOCK replay cache of the Linux kernel. It arises due to improper handling of responses larger than the fixed buffer size, potentially leading to memory corruption.
The vulnerability occurs because the NFSv4 replay cache stores responses in a fixed-size 112-byte buffer. Certain NFSv4 lock error responses can exceed this size (up to 1024 bytes). When this happens, the extra data overflows the heap, which could crash the server or corrupt memory.
Attack Vector:
Impact:
CVE-2026-31402 highlights the importance of buffer size checks in network-facing services. Keep systems updated and monitor NFS servers for unusual behavior.
Generated with ❤️ for cybersecurity awareness.