{"id":"CVE-2026-99688","summary":"net/sched: sch_qfq: prevent aggregate self-replacement","details":"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-\u003eagg.\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.","modified":"2026-11-23T20:50:26.394286467Z","published":"2026-11-20T05:50:33.387Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99688.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40"},{"type":"WEB","url":"https://git.kernel.org/stable/c/15607276081f3c1bcbabc3b2269188e4788fc8db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e54b3e187300893688c2c7517894f5d96732e05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/374ea8200331708ead0ba524b5c8cd9640515fd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4b3771f062438f6a9086baef5395656c2eae6d60"},{"type":"WEB","url":"https://git.kernel.org/stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/706fb83f294286f3d7ed95600a1f45153e064810"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0"},{"type":"ADVISORY","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":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"462dbc9101acd38e92eda93c0726857517a24bbd"},{"fixed":"bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0"},{"fixed":"4b3771f062438f6a9086baef5395656c2eae6d60"},{"fixed":"15607276081f3c1bcbabc3b2269188e4788fc8db"},{"fixed":"706fb83f294286f3d7ed95600a1f45153e064810"},{"fixed":"374ea8200331708ead0ba524b5c8cd9640515fd5"},{"fixed":"11c4ba0c976415176a6d82d6051457455d5b7e40"},{"fixed":"519f327c7fd1b67327de2e1cff6fbe85a02a151b"},{"fixed":"2e54b3e187300893688c2c7517894f5d96732e05"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99688.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99688.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}