CVE-2026-31684: net: sched: act_csum: validate nested VLAN headers

Published Apr 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: sched: actcsum: validate nested VLAN headers

tcfcsumact() walks nested VLAN headers directly from skb->data when an skb still carries in-payload VLAN tags. The current code reads vlan->hvlanencapsulatedproto and then pulls VLANHLEN 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 hvlanencapsulatedproto reads past the linear area, and the following skbpull(VLANHLEN) may violate skb invariants.

Fix this by requiring pskbmaypull(skb, VLANHLEN) before accessing and pulling each nested VLAN header. If the header still is not fully available, drop the packet through the existing error path.

Affected Software

14 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.134.1-2
Linux Linux kernel>=4.19.99<4.20
Linux Linux kernel>=5.1<6.6.136
Linux Linux kernel>=6.7<6.12.83
Linux Linux kernel>=6.13<6.18.24
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7

Event History

Apr 25, 2026
CVE Published
via MITRE·08:47 AM
Data Sourced
via MITRE·08:47 AM
Description
Data Sourced
via Red Hat·09:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityAffected Software
Apr 26, 2026
Data Sourced
via Microsoft·08:08 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:08 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-31684?

CVE-2026-31684 has a medium severity rating due to its impact on network packet handling in the Linux kernel.

2

How do I fix CVE-2026-31684?

To mitigate CVE-2026-31684, update your Linux kernel to the latest version where this vulnerability has been patched.

3

What type of vulnerability is CVE-2026-31684?

CVE-2026-31684 is a network vulnerability that involves incorrect handling of nested VLAN headers in the Linux kernel.

4

What versions of the Linux kernel are affected by CVE-2026-31684?

CVE-2026-31684 affects multiple versions of the Linux kernel that precede the patch that resolves the issue.

5

Can CVE-2026-31684 lead to a network compromise?

Yes, CVE-2026-31684 has the potential to be exploited, which could result in unauthorized access or network traffic manipulation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203