NetSight
unscored

CVE-2026-99688

In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: prevent aggregate self-replacement qfq_change_class() snapshots the cur…

Impact

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 · Linux

ProductAffected versions
Linux
from 462dbc9101acd38e92eda93c0726857517a24bbd before 374ea8200331708ead0ba524b5c8cd9640515fd5
from 462dbc9101acd38e92eda93c0726857517a24bbd before 11c4ba0c976415176a6d82d6051457455d5b7e40
from 462dbc9101acd38e92eda93c0726857517a24bbd before 519f327c7fd1b67327de2e1cff6fbe85a02a151b
from 462dbc9101acd38e92eda93c0726857517a24bbd before 2e54b3e187300893688c2c7517894f5d96732e05
Versions 3.8, patch: 6.18.64

References