CVE-2026-31438 Details
Description
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.
A vulnerability in the Linux kernel's netfs module has been addressed. The issue arose when a process crashed, prompting the kernel to write a core dump to a 9P filesystem. This process created an ITER_KVEC iterator, which was then passed to netfs_limit_iter() via netfs_unbuffered_write(). However, netfs_unbuffered_write() only supports ITER_FOLIOQ, ITER_BVEC, and ITER_XARRAY types, leading to a kernel BUG() when any other type was encountered. The vulnerability has been fixed by introducing a new function, netfs_limit_kvec(), to handle ITER_KVEC iterators. This function was added to netfs_limit_iter() to properly manage the kvec iterator type, similar to how bvec iterators are handled.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/00d6df7115f6972370974212de9088087820802e | kernel.org | Patch |
| https://git.kernel.org/stable/c/18c2e20b42dd21db599e42d05ddaeeb647b2bb6d | kernel.org | Patch |
| https://git.kernel.org/stable/c/4bc2d72c7695cedf6d4e1a558924903c2b28a78e | kernel.org | Patch |
| https://git.kernel.org/stable/c/67e467a11f62ff64ad219dc6aa5459e132c79d14 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.8, < 6.12.80 >= 6.13, < 6.18.21 >= 6.19, < 6.19.11 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 11, 2026 | CVE Translated | [email protected] |
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 19, 2026 | Initial Analysis | [email protected] |
| Apr 22, 2026 | New CVE Received | kernel.org |