CVE-2026-31659

In the Linux kernel, the following vulnerability has been resolved: batman-adv: reject oversized global TT response buffers batadv_tt_prepare_tvlv_global_data() builds the allocation length for a global TT response in 16-bit temporaries. When a remote originator advertises a large enough global TT, the TT payload length plus the VLAN header offset can exceed 65535 and wrap before kmalloc(). The full-table response path still uses the original TT payload length when it fills tt_change, so the wrapped allocation is too small and batadv_tt_prepare_tvlv_global_data() writes past the end of the heap object before the later packet-size check runs. Fix this by rejecting TT responses whose TVLV value length cannot fit in the 16-bit TVLV payload length field.
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:3.13:-:*:*:*:*:*:*
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:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: batman-adv: rechazar búferes de respuesta TT global sobredimensionados batadv_tt_prepare_tvlv_global_data() construye la longitud de asignación para una respuesta TT global en temporales de 16 bits. Cuando un originador remoto anuncia un TT global lo suficientemente grande, la longitud de la carga útil del TT más el desplazamiento de la cabecera VLAN puede exceder 65535 y desbordarse antes de kmalloc(). La ruta de respuesta de tabla completa todavía utiliza la longitud original de la carga útil del TT cuando llena tt_change, por lo que la asignación desbordada es demasiado pequeña y batadv_tt_prepare_tvlv_global_data() escribe más allá del final del objeto de la pila antes de que se ejecute la comprobación posterior del tamaño del paquete. Solucionar esto al rechazar respuestas TT cuya longitud de valor TVLV no puede caber en el campo de longitud de carga útil TVLV de 16 bits.

19 Oct 2026, 19:18

Type Values Removed Values Added
CWE CWE-190

Information

Published : 2026-04-24 15:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-31659

Mitre link : CVE-2026-31659

CVE.ORG link : CVE-2026-31659


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
NVD-CWE-noinfo CWE-190

Integer Overflow or Wraparound