Executive brief
A vulnerability in the Linux kernel's networking subsystem could allow a remote attacker to cause a system crash or potentially execute unauthorized code. The issue occurs when the system processes specific types of fragmented network traffic, leading to a memory error known as a 'use-after-free.' This affects systems using the Random Early Detection (RED) congestion control mechanism and could impact network stability and service availability.
Technical details
A use-after-free (UAF) vulnerability exists in net/sched/cls_api.c within the tcf_qevent_handle function. The root cause is the failure to handle the TC_ACT_CONSUMED return action from tcf_classify(). When the defragmentation engine (act_ct) holds an skb (socket buffer) due to out-of-order fragments, it returns TC_ACT_CONSUMED, indicating the caller no longer owns the buffer. Because tcf_qevent_handle fell through this case, it returned the skb to the caller (specifically the RED qdisc), which then attempted to operate on the unowned memory. This can be triggered by a fragmented UDP stream when RED qevents are configured. Patches have been released across multiple stable kernel branches to correctly treat TC_ACT_CONSUMED as a 'stolen' packet.
Affected products
- Linux Linux Kernel 3f14b377d01d to a8a02897f2b479127db261de05cbf0c28b98d159
Timeline
- 2026-06-20: disclosed: Initial patch submitted by Jamal Hadi Salim
- 2026-07-24: patched: Commits merged into stable branches by Greg Kroah-Hartman
- 2026-07-26: advisory: CVE-2026-64530 published
References
- https://git.kernel.org/stable/c/2140c2f3f2e7b066e1ae616ede8856cafd8015e9
- https://git.kernel.org/stable/c/447d493034a9cf7bf13a2abac86d0573d907ec2f
- https://git.kernel.org/stable/c/5ed3d6f85991656667059d3fa5a1d683ac58c447
- https://git.kernel.org/stable/c/a8a02897f2b479127db261de05cbf0c28b98d159
- https://git.kernel.org/stable/c/e1270e69dcf2c3512c453484178f2e9dc0db3f05
- https://git.kernel.org/stable/c/e28aedab9488343924d227b5a896faed67ce84d5
- https://git.kernel.org/stable/c/f42e8134a3a1074b834a574d404352f867ba994a