What’s Vulnerable › Vulnerabilities

CVE-2026-99688: net/sched: sch_qfq: prevent aggregate self-replacement

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: prevent aggregate self-replacement qfq_change_class() snapshots the current aggregate settings while holding the qdisc tree lock, but drops the lock before selecting the destination aggregate. During that gap, qfq_enqueue() can move the class to an aggregate matching the requested settings. When qfq_change_class() resumes, qfq_find_agg() then returns cl->agg. If it is a singleton, qfq_deact_rm_from_agg() frees the aggregate before qfq_add_to_agg() immediately accesses the same pointer, causing a use-after-free. While holding the tree lock, skip the replacement when the destination is already the current aggregate. Any estimator replacement has already completed, so the class change can finish normally.

Affected products

How to fix

Upgrade to a fixed version: Linux 7.4-rc2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-99688 or the next vulnerability affects your stack