Junglewise Threat Intelligence

CVE-2026-31684: Linux Kernel out-of-bounds read in act_csum nested VLAN handling

CVE-2026-31684 · Severity: medium · CVSS 5.5 · Published 2026-04-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's networking subsystem, specifically in how it handles certain types of network traffic tags (VLANs). An attacker could exploit this flaw to cause a system crash or instability by sending specially crafted network packets that trigger an out-of-bounds memory read. This primarily impacts the availability of the affected system, potentially leading to a denial-of-service condition.

Technical details

The vulnerability exists in the tcf_csum_act() function within net/sched/act_csum.c. The code walks nested VLAN headers directly from skb->data without verifying if the full header is present in the linear area of the socket buffer. By providing a packet where only a partial inner VLAN header is linearized, an attacker can trigger an out-of-bounds read when the kernel accesses h_vlan_encapsulated_proto. This can lead to a violation of skb invariants and a subsequent kernel panic or denial-of-service. The fix introduces a pskb_may_pull() check to ensure the full VLAN_HLEN is available before access.

Affected products

  • Linux Linux Kernel 4.19.99 to 4.20, 5.1 to 6.6.136, 6.7 to 6.12.83, 6.13 to 6.18.24, 6.19 to 6.19.14, 7.0-rc1 to 7.0-rc7

Timeline

  • 2026-04-25: disclosed
  • 2026-04-25: advisory
  • 2026-06-01: patched

References

Related threats