Bug 2461757 (CVE-2026-31684) - CVE-2026-31684 kernel: net: sched: act_csum: validate nested VLAN headers
Summary: CVE-2026-31684 kernel: net: sched: act_csum: validate nested VLAN headers
Keywords:
Status: NEW
Alias: CVE-2026-31684
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-25 09:01 UTC by OSIDB Bzimport
Modified: 2026-05-28 13:26 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:21556 0 None None None 2026-05-28 01:24:01 UTC
Red Hat Product Errata RHSA-2026:21557 0 None None None 2026-05-28 01:19:57 UTC
Red Hat Product Errata RHSA-2026:21706 0 None None None 2026-05-28 08:26:00 UTC
Red Hat Product Errata RHSA-2026:21745 0 None None None 2026-05-28 13:26:27 UTC

Description OSIDB Bzimport 2026-04-25 09:01:33 UTC
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.

Comment 4 errata-xmlrpc 2026-05-28 01:19:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:21557 https://access.redhat.com/errata/RHSA-2026:21557

Comment 5 errata-xmlrpc 2026-05-28 01:24:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:21556 https://access.redhat.com/errata/RHSA-2026:21556

Comment 6 errata-xmlrpc 2026-05-28 08:25:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:21706 https://access.redhat.com/errata/RHSA-2026:21706

Comment 7 errata-xmlrpc 2026-05-28 13:26:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:21745 https://access.redhat.com/errata/RHSA-2026:21745


Note You need to log in before you can comment on or make changes to this bug.