CVE-2026-31438
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
22/04/2026
Last modified:
19/05/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.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8 (including) | 6.12.80 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.21 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 6.19.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



