CVE-2026-43453

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo: fix stack out-of-bounds read in pipapo_drop() pipapo_drop() passes rulemap[i + 1].n to pipapo_unmap() as the to_offset argument on every iteration, including the last one where i == m->field_count - 1. This reads one element past the end of the stack-allocated rulemap array (declared as rulemap[NFT_PIPAPO_MAX_FIELDS] with NFT_PIPAPO_MAX_FIELDS == 16). Although pipapo_unmap() returns early when is_last is true without using the to_offset value, the argument is evaluated at the call site before the function body executes, making this a genuine out-of-bounds stack read confirmed by KASAN: BUG: KASAN: stack-out-of-bounds in pipapo_drop+0x50c/0x57c [nf_tables] Read of size 4 at addr ffff8000810e71a4 This frame has 1 object: [32, 160) 'rulemap' The buggy address is at offset 164 -- exactly 4 bytes past the end of the rulemap array. Pass 0 instead of rulemap[i + 1].n on the last iteration to avoid the out-of-bounds read.
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:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfilter: nft_set_pipapo: corrección de lectura fuera de límites de la pila en pipapo_drop() pipapo_drop() pasa rulemap[i + 1].n a pipapo_unmap() como el argumento to_offset en cada iteración, incluyendo la última donde i == m -> field_count - 1. Esto lee un elemento más allá del final del array rulemap asignado en la pila (declarado como rulemap[NFT_PIPAPO_MAX_FIELDS] con NFT_PIPAPO_MAX_FIELDS == 16). Aunque pipapo_unmap() retorna anticipadamente cuando is_last es verdadero sin usar el valor de to_offset, el argumento es evaluado en el sitio de la llamada antes de que se ejecute el cuerpo de la función, haciendo de esto una lectura genuina fuera de límites de la pila confirmada por KASAN: BUG: KASAN: lectura fuera de límites de la pila en pipapo_drop+0x50c/0x57c [nf_tables] Lectura de tamaño 4 en la dirección ffff8000810e71a4 Este marco tiene 1 objeto: [32, 160) ’rulemap’ La dirección errónea está en el desplazamiento 164 -- exactamente 4 bytes después del final del array rulemap. Pasar 0 en lugar de rulemap[i + 1].n en la última iteración para evitar la lectura fuera de límites.

Information

Published : 2026-05-08 15:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-43453

Mitre link : CVE-2026-43453

CVE.ORG link : CVE-2026-43453


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read