CVE-2026-31438
MEDIUMnetfs: Fix kernel BUG in netfs_limit_iter() for ITER_KVEC iterators
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
3.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (12)
Linux/Linux
< 6.8
Linux/Linux
6.12.80 - 6.12.*
Linux/Linux
6.18.21 - 6.18.*
Linux/Linux
6.19.11 - 6.19.*
Linux/Linux
6.8
Linux/Linux
7.0
Linux/Linux
cae932d3aee55035a54415dcea8e7ecf2ec469b5 - 00d6df7115f6972370974212de9088087820802e
Linux/Linux
cae932d3aee55035a54415dcea8e7ecf2ec469b5 - 18c2e20b42dd21db599e42d05ddaeeb647b2bb6d
Linux/Linux
cae932d3aee55035a54415dcea8e7ecf2ec469b5 - 4bc2d72c7695cedf6d4e1a558924903c2b28a78e
Linux/Linux
cae932d3aee55035a54415dcea8e7ecf2ec469b5 - 67e467a11f62ff64ad219dc6aa5459e132c79d14
... and 2 more
Published
Apr 22, 2026
Tracked Since
Apr 22, 2026