AZL-115525: CVE-2026-99688 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net/sched: schqfq: prevent aggregate self-replacement
qfqchangeclass() snapshots the current aggregate settings while holding the qdisc tree lock, but drops the lock before selecting the destination aggregate. During that gap, qfqenqueue() can move the class to an aggregate matching the requested settings.
When qfqchangeclass() resumes, qfqfindagg() then returns cl->agg. If it is a singleton, qfqdeactrmfromagg() frees the aggregate before qfqaddtoagg() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In qfq_change_class(), while holding the qdisc tree lock, skip aggregate replacement when the destination aggregate is already the class’s current aggregate.