Bug 2507345 - kernel: net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle
Summary: kernel: net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle
Keywords:
Status: NEW
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability-draft
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-07-26 08:01 UTC by OSIDB Bzimport
Modified: 2026-07-31 20:44 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:47620 0 None None None 2026-07-29 01:30:29 UTC
Red Hat Product Errata RHSA-2026:48222 0 None None None 2026-07-29 21:41:17 UTC
Red Hat Product Errata RHSA-2026:49032 0 None None None 2026-07-31 13:27:43 UTC
Red Hat Product Errata RHSA-2026:49033 0 None None None 2026-07-31 13:15:30 UTC
Red Hat Product Errata RHSA-2026:49212 0 None None None 2026-07-31 20:44:43 UTC
Red Hat Product Errata RHSA-2026:49213 0 None None None 2026-07-31 18:06:06 UTC
Red Hat Product Errata RHSA-2026:49214 0 None None None 2026-07-31 17:55:26 UTC

Description OSIDB Bzimport 2026-07-26 08:01:23 UTC
In the Linux kernel, the following vulnerability has been resolved:

net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle

tcf_classify() can return TC_ACT_CONSUMED while the skb is held by the
defragmentation engine (e.g. act_ct on out-of-order fragments). When
that happens the skb is no longer owned by the caller and must not be
touched again.

tcf_qevent_handle() did not handle TC_ACT_CONSUMED: it fell through the
switch and returned the skb to the caller as if classification had
passed. The only qdisc that wires up qevents today is RED, via three call sites
(qe_mark on RED_PROB_MARK/HARD_MARK, qe_early_drop on congestion_drop)
red_enqueue() was continuing to operate on an skb it no longer owns  in this
case -- enqueueing it, dropping it, or updating statistics. Resulting in a UAF.

  tc qdisc add dev eth0 root handle 1: red ... qevent early_drop block 10
  tc filter add block 10 ... action ct

  (with ct defrag enabled and traffic that produces out-of-order
  fragments, e.g. a fragmented UDP stream)

Handle TC_ACT_CONSUMED in tcf_qevent_handle() the same way the ingress
and egress fast paths do: treat it as stolen and return NULL without
touching the skb. Unlike the TC_ACT_STOLEN case, the skb must not be
dropped/freed here, as it is no longer owned by us.

Comment 5 errata-xmlrpc 2026-07-29 01:30:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

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

Comment 6 errata-xmlrpc 2026-07-29 21:41:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

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

Comment 7 errata-xmlrpc 2026-07-31 13:15:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

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

Comment 8 errata-xmlrpc 2026-07-31 13:27:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

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

Comment 9 errata-xmlrpc 2026-07-31 17:55:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 10 errata-xmlrpc 2026-07-31 18:06:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 11 errata-xmlrpc 2026-07-31 20:44:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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


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