{"id":"CVE-2026-99688","aliases":[],"title":"net/sched: sch_qfq: prevent aggregate self-replacement","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_qfq: prevent aggregate self-replacement\n\nqfq_change_class() snapshots the current aggregate settings while\nholding the qdisc tree lock, but drops the lock before selecting the\ndestination aggregate. During that gap, qfq_enqueue() can move the\nclass to an aggregate matching the requested settings.\n\nWhen qfq_change_class() resumes, qfq_find_agg() then returns cl->agg.\nIf it is a singleton, qfq_deact_rm_from_agg() frees the aggregate\nbefore qfq_add_to_agg() immediately accesses the same pointer, causing\na use-after-free.\n\nWhile holding the tree lock, skip the replacement when the destination\nis already the current aggregate. Any estimator replacement has already\ncompleted, so the class change can finish normally.","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00159,"percentile":0.0532},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=3.8.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <11c4ba0c976415176a6d82d6051457455d5b7e40","fixed":"11c4ba0c976415176a6d82d6051457455d5b7e40"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <15607276081f3c1bcbabc3b2269188e4788fc8db","fixed":"15607276081f3c1bcbabc3b2269188e4788fc8db"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <2e54b3e187300893688c2c7517894f5d96732e05","fixed":"2e54b3e187300893688c2c7517894f5d96732e05"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <374ea8200331708ead0ba524b5c8cd9640515fd5","fixed":"374ea8200331708ead0ba524b5c8cd9640515fd5"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <4b3771f062438f6a9086baef5395656c2eae6d60","fixed":"4b3771f062438f6a9086baef5395656c2eae6d60"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <519f327c7fd1b67327de2e1cff6fbe85a02a151b","fixed":"519f327c7fd1b67327de2e1cff6fbe85a02a151b"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <706fb83f294286f3d7ed95600a1f45153e064810","fixed":"706fb83f294286f3d7ed95600a1f45153e064810"},{"ecosystem":"vendor","name":"Linux","range":">=462dbc9101acd38e92eda93c0726857517a24bbd, <bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0","fixed":"bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0"}],"references":[{"url":"https://git.kernel.org/stable/c/374ea8200331708ead0ba524b5c8cd9640515fd5","type":"other"},{"url":"https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40","type":"other"},{"url":"https://git.kernel.org/stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b","type":"other"},{"url":"https://git.kernel.org/stable/c/2e54b3e187300893688c2c7517894f5d96732e05","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99688.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99688","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://git.kernel.org/stable/c/bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0","type":"other"},{"url":"https://git.kernel.org/stable/c/4b3771f062438f6a9086baef5395656c2eae6d60","type":"other"},{"url":"https://git.kernel.org/stable/c/15607276081f3c1bcbabc3b2269188e4788fc8db","type":"other"},{"url":"https://git.kernel.org/stable/c/706fb83f294286f3d7ed95600a1f45153e064810","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.543Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99688","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.154Z"},{"name":"osv","at":"2026-11-22T13:31:45.300Z","url":"https://osv.dev/vulnerability/CVE-2026-99688","license":"CC-BY 4.0","firstSeenAt":"2026-11-22T13:31:45.184Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:58.367Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99688","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:14.983Z"}],"firstSeenAt":"2026-11-20T06:28:14.983Z","publishedAt":"2026-11-20T05:50:33.387Z","modifiedAt":"2026-11-23T08:18:09.623Z"}