CVE-2026-99688
net/sched: sch_qfq: prevent aggregate self-replacement
What happened?
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 software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0; affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < 4b3771f062438f6a9086baef5395656c2eae6d60; affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < 15607276081f3c1bcbabc3b2269188e4788fc8db; affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < 706fb83f294286f3d7ed95600a1f45153e064810; affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < 374ea8200331708ead0ba524b5c8cd9640515fd5; affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < 11c4ba0c976415176a6d82d6051457455d5b7e40; affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < 519f327c7fd1b67327de2e1cff6fbe85a02a151b; affected: 462dbc9101acd38e92eda93c0726857517a24bbd to < 2e54b3e187300893688c2c7517894f5d96732e05 | See vendor advisory |
| LinuxLinux | affected: 3.8; unaffected: 0 to < 3.8; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99688
- https://git.kernel.org/stable/c/bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0
- https://git.kernel.org/stable/c/4b3771f062438f6a9086baef5395656c2eae6d60
- https://git.kernel.org/stable/c/15607276081f3c1bcbabc3b2269188e4788fc8db
- https://git.kernel.org/stable/c/706fb83f294286f3d7ed95600a1f45153e064810
- https://git.kernel.org/stable/c/374ea8200331708ead0ba524b5c8cd9640515fd5
- https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40
- https://git.kernel.org/stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b
- https://git.kernel.org/stable/c/2e54b3e187300893688c2c7517894f5d96732e05