← VULNERABILITIES

CVE-2026-99688

net/sched: sch_qfq: prevent aggregate self-replacement

High · 7.8Fix available
CVSS
7.8
EPSS
0.16% (p5)
Published
2026-11-20
Age
14d old
Modified
2026-11-23
Product
Linux Linux

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Fixed in

11c4ba0c976415176a6d82d6051457455d5b7e40 · 15607276081f3c1bcbabc3b2269188e4788fc8db · 2e54b3e187300893688c2c7517894f5d96732e05 · 374ea8200331708ead0ba524b5c8cd9640515fd5 · 4b3771f062438f6a9086baef5395656c2eae6d60 · 519f327c7fd1b67327de2e1cff6fbe85a02a151b · 6.12.118 · 6.18.64 · 7.3.5 · 706fb83f294286f3d7ed95600a1f45153e064810 · bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=3.8.0, <6.12.1186.12.118
LinuxKernel>=6.13.0, <6.18.646.18.64
LinuxKernel>=6.19.0, <7.3.57.3.5
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <11c4ba0c976415176a6d82d6051457455d5b7e4011c4ba0c976415176a6d82d6051457455d5b7e40
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <15607276081f3c1bcbabc3b2269188e4788fc8db15607276081f3c1bcbabc3b2269188e4788fc8db
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <2e54b3e187300893688c2c7517894f5d96732e052e54b3e187300893688c2c7517894f5d96732e05
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <374ea8200331708ead0ba524b5c8cd9640515fd5374ea8200331708ead0ba524b5c8cd9640515fd5
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <4b3771f062438f6a9086baef5395656c2eae6d604b3771f062438f6a9086baef5395656c2eae6d60
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <519f327c7fd1b67327de2e1cff6fbe85a02a151b519f327c7fd1b67327de2e1cff6fbe85a02a151b
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <706fb83f294286f3d7ed95600a1f45153e064810706fb83f294286f3d7ed95600a1f45153e064810
vendorLinux>=462dbc9101acd38e92eda93c0726857517a24bbd, <bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 11d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON