{"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-20T07:01:02.444434982Z","published":"2026-11-20T05:50:33.387Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99688.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40"},{"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/519f327c7fd1b67327de2e1cff6fbe85a02a151b"},{"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"462dbc9101acd38e92eda93c0726857517a24bbd"},{"fixed":"374ea8200331708ead0ba524b5c8cd9640515fd5"},{"fixed":"11c4ba0c976415176a6d82d6051457455d5b7e40"},{"fixed":"519f327c7fd1b67327de2e1cff6fbe85a02a151b"},{"fixed":"2e54b3e187300893688c2c7517894f5d96732e05"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99688.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.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/cve-osv-conversion/osv-output/CVE-2026-99688.json"}}],"schema_version":"1.9.2"}