CVE-2026-22999
kernel: net/sched: sch_qfq: do not free existing class in qfq_change_class()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 25, 2026
Updated · August 5, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
net/sched: sch_qfq: do not free existing class in qfq_change_class()
Fixes qfq_change_class() error case.
cl->qdisc and cl should only be freed if a new class and qdisc were allocated, or we risk various UAF.
Statement
A use-after-free can occur in sch_qfq when qfq_change_class() hits an error path that incorrectly frees an already-existing class/qdisc. An attacker with network administration capabilities (typically CAP_NET_ADMIN, often obtainable inside a user namespace) can trigger the bug via crafted tc class changes, leading to a kernel crash.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE not specified