CVE-2026-31438
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
22/04/2026
Last modified:
22/04/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfs: Fix kernel BUG in netfs_limit_iter() for ITER_KVEC iterators<br />
<br />
When a process crashes and the kernel writes a core dump to a 9P<br />
filesystem, __kernel_write() creates an ITER_KVEC iterator. This<br />
iterator reaches netfs_limit_iter() via netfs_unbuffered_write(), which<br />
only handles ITER_FOLIOQ, ITER_BVEC and ITER_XARRAY iterator types,<br />
hitting the BUG() for any other type.<br />
<br />
Fix this by adding netfs_limit_kvec() following the same pattern as<br />
netfs_limit_bvec(), since both kvec and bvec are simple segment arrays<br />
with pointer and length fields. Dispatch it from netfs_limit_iter() when<br />
the iterator type is ITER_KVEC.



