CVE-2026-31684

In the Linux kernel, the following vulnerability has been resolved: net: sched: act_csum: validate nested VLAN headers tcf_csum_act() walks nested VLAN headers directly from skb->data when an skb still carries in-payload VLAN tags. The current code reads vlan->h_vlan_encapsulated_proto and then pulls VLAN_HLEN bytes without first ensuring that the full VLAN header is present in the linear area. If only part of an inner VLAN header is linearized, accessing h_vlan_encapsulated_proto reads past the linear area, and the following skb_pull(VLAN_HLEN) may violate skb invariants. Fix this by requiring pskb_may_pull(skb, VLAN_HLEN) before accessing and pulling each nested VLAN header. If the header still is not fully available, drop the packet through the existing error path.
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: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, se ha resuelto la siguiente vulnerabilidad: net: sched: act_csum: validar cabeceras VLAN anidadas tcf_csum_act() recorre las cabeceras VLAN anidadas directamente desde skb -> data cuando un skb aún lleva etiquetas VLAN en la carga útil. El código actual lee vlan -> h_vlan_encapsulated_proto y luego extrae VLAN_HLEN bytes sin asegurar primero que la cabecera VLAN completa esté presente en el área lineal. Si solo parte de una cabecera VLAN interna se linealiza, acceder a h_vlan_encapsulated_proto lee más allá del área lineal, y la siguiente llamada a skb_pull(VLAN_HLEN) puede violar las invariantes de skb. Solucione esto requiriendo pskb_may_pull(skb, VLAN_HLEN) antes de acceder y extraer cada cabecera VLAN anidada. Si la cabecera aún no está completamente disponible, descarte el paquete a través de la ruta de error existente.

Information

Published : 2026-04-25 09:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-31684

Mitre link : CVE-2026-31684

CVE.ORG link : CVE-2026-31684


JSON object : View

Products Affected

linux

  • linux_kernel