Heap-based buffer overflow in Linux kernel - CVE-2026-31641
Published: April 25, 2026
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to a heap-based buffer overflow in rxrpc_preparse_xdr_yfs_rxgk() when processing a crafted XDR token through add_key(). A local user can supply a token with oversized length values that trigger integer wraparound and overflow a heap buffer to execute arbitrary code.
The issue is reachable from an unprivileged add_key() call.