CVE-2026-64530

net/sched: cls_api: Handle TC_ACT_CONSUMED in tcf_qevent_handle

State
Published
Severity
9.8 Critical
Published
Jul 26, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 172ba7d46c202e679f3ccb10264c67416aaeb1c4 to before 5ed3d6f85991656667059d3fa5a1d683ac58c447Affected
  • 0b5b831122fc3789fff75be433ba3e4dd7b779d4 to before f42e8134a3a1074b834a574d404352f867ba994aAffected
  • 73f7da5fd124f2cda9161e2e46114915e6e82e97 to before 447d493034a9cf7bf13a2abac86d0573d907ec2fAffected
  • 3f14b377d01d8357eba032b4cabc8c1149b458b6 to before e1270e69dcf2c3512c453484178f2e9dc0db3f05Affected
  • 3f14b377d01d8357eba032b4cabc8c1149b458b6 to before 2140c2f3f2e7b066e1ae616ede8856cafd8015e9Affected
  • 3f14b377d01d8357eba032b4cabc8c1149b458b6 to before e28aedab9488343924d227b5a896faed67ce84d5Affected
  • 3f14b377d01d8357eba032b4cabc8c1149b458b6 to before a8a02897f2b479127db261de05cbf0c28b98d159Affected
  • f5346df0591d10bc948761ca854b1fae6d2ef441Affected
  • 5.15.148 to before 5.15.212Affected
  • 6.1.75 to before 6.1.178Affected
  • 6.6.14 to before 6.6.145Affected
  • 6.7.2 to before 6.8Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.