CVE-2026-31438

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfs: Corrige un BUG del kernel en netfs_limit_iter() para iteradores ITER_KVEC Cuando un proceso falla y el kernel escribe un volcado de memoria en un sistema de archivos 9P, __kernel_write() crea un iterador ITER_KVEC. Este iterador llega a netfs_limit_iter() a través de netfs_unbuffered_write(), que solo maneja los tipos de iterador ITER_FOLIOQ, ITER_BVEC e ITER_XARRAY, alcanzando el BUG() para cualquier otro tipo. Soluciona esto añadiendo netfs_limit_kvec() siguiendo el mismo patrón que netfs_limit_bvec(), ya que tanto kvec como bvec son matrices de segmentos simples con campos de puntero y longitud. Despáchalo desde netfs_limit_iter() cuando el tipo de iterador sea ITER_KVEC.

19 May 2026, 22:08

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/00d6df7115f6972370974212de9088087820802e - () https://git.kernel.org/stable/c/00d6df7115f6972370974212de9088087820802e - Patch
References () https://git.kernel.org/stable/c/18c2e20b42dd21db599e42d05ddaeeb647b2bb6d - () https://git.kernel.org/stable/c/18c2e20b42dd21db599e42d05ddaeeb647b2bb6d - Patch
References () https://git.kernel.org/stable/c/4bc2d72c7695cedf6d4e1a558924903c2b28a78e - () https://git.kernel.org/stable/c/4bc2d72c7695cedf6d4e1a558924903c2b28a78e - Patch
References () https://git.kernel.org/stable/c/67e467a11f62ff64ad219dc6aa5459e132c79d14 - () https://git.kernel.org/stable/c/67e467a11f62ff64ad219dc6aa5459e132c79d14 - Patch
CWE CWE-476
CPE 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:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*

22 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 14:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-31438

Mitre link : CVE-2026-31438

CVE.ORG link : CVE-2026-31438


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference