CVE-2026-31438

published 22 Apr 2026 · updated 13 Nov 2026

netfs: Fix kernel BUG in netfs_limit_iter() for ITER_KVEC iterators

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 67e467a11f62ff64ad219dc6aa5459e132c79d14, Kernel 6.19.11, Kernel 6.12.80 and 4 more.

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix kernel BUG in netfs_limit_iter() for ITER_KVEC iterators When a process crashes and the kernel writes a core dump to a 9P filesystem, __kernel_write() creates an ITER_KVEC iterator. This iterator reaches netfs_limit_iter() via netfs_unbuffered_write(), which only handles ITER_FOLIOQ, ITER_BVEC and ITER_XARRAY iterator types, hitting the BUG() for any other type. Fix this by adding netfs_limit_kvec() following the same pattern as netfs_limit_bvec(), since both kvec and bvec are simple segment arrays with pointer and length fields. Dispatch it from netfs_limit_iter() when the iterator type is ITER_KVEC.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=cae932d3aee55035a54415dcea8e7ecf2ec469b5 <67e467a11f62ff64ad219dc6aa5459e132c79d14, >=6.19 <6.19.11, >=6.8 <6.12.80, =7.0, >=cae932d3aee55035a54415dcea8e7ecf2ec469b5 <18c2e20b42dd21db599e42d05ddaeeb647b2bb6d, >=cae932d3aee55035a54415dcea8e7ecf2ec469b5 <4bc2d72c7695cedf6d4e1a558924903c2b28a78e, >=6.13 <6.18.21, =6.8, >=cae932d3aee55035a54415dcea8e7ecf2ec469b5 <00d6df7115f6972370974212de9088087820802e67e467a11f62ff64ad219dc6aa5459e132c79d14, 6.19.11, 6.12.80, 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d, 4bc2d72c7695cedf6d4e1a558924903c2b28a78e, 6.18.21, 00d6df7115f6972370974212de9088087820802e
linux-kernel: Kernel>=6.13.0 <6.18.21, >=6.19.0 <6.19.11, >=6.8.0 <6.12.806.18.21, 6.19.11, 6.12.80

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31438 severity on Zeptric[![CVE-2026-31438](https://zeptric.io/badge/cve/CVE-2026-31438.svg)](https://zeptric.io/cve/CVE-2026-31438)