{"api_version":"1","generated_at":"2026-11-22T20:39:58+00:00","cve":"CVE-2026-99688","urls":{"html":"https://cve.report/CVE-2026-99688","api":"https://cve.report/api/cve/CVE-2026-99688.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99688","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99688"},"summary":{"title":"net/sched: sch_qfq: prevent aggregate self-replacement","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:03","updated_at":"2026-11-22 11:17:06"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b","name":"https://git.kernel.org/stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40","name":"https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2e54b3e187300893688c2c7517894f5d96732e05","name":"https://git.kernel.org/stable/c/2e54b3e187300893688c2c7517894f5d96732e05","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/374ea8200331708ead0ba524b5c8cd9640515fd5","name":"https://git.kernel.org/stable/c/374ea8200331708ead0ba524b5c8cd9640515fd5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99688","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99688","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 462dbc9101acd38e92eda93c0726857517a24bbd 374ea8200331708ead0ba524b5c8cd9640515fd5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 462dbc9101acd38e92eda93c0726857517a24bbd 11c4ba0c976415176a6d82d6051457455d5b7e40 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 462dbc9101acd38e92eda93c0726857517a24bbd 519f327c7fd1b67327de2e1cff6fbe85a02a151b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 462dbc9101acd38e92eda93c0726857517a24bbd 2e54b3e187300893688c2c7517894f5d96732e05 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99688","cve":"CVE-2026-99688","epss":"0.001680000","percentile":"0.061830000","score_date":"2026-11-21","updated_at":"2026-11-22 00:14:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sched/sch_qfq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"374ea8200331708ead0ba524b5c8cd9640515fd5","status":"affected","version":"462dbc9101acd38e92eda93c0726857517a24bbd","versionType":"git"},{"lessThan":"11c4ba0c976415176a6d82d6051457455d5b7e40","status":"affected","version":"462dbc9101acd38e92eda93c0726857517a24bbd","versionType":"git"},{"lessThan":"519f327c7fd1b67327de2e1cff6fbe85a02a151b","status":"affected","version":"462dbc9101acd38e92eda93c0726857517a24bbd","versionType":"git"},{"lessThan":"2e54b3e187300893688c2c7517894f5d96732e05","status":"affected","version":"462dbc9101acd38e92eda93c0726857517a24bbd","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sched/sch_qfq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.8"},{"lessThan":"3.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"3.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"3.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"3.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"3.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - qfq_change_class(), the function the fix changes, is qfq_class_ops.change and is called from __tc_ctl_tclass() for RTM_NEWTCLASS. The other half of the race is a locally transmitted skb: __dev_xmit_skb() calls qfq_enqueue(), which calls qfq_change_agg() when qdisc_pkt_len() is greater than cl->agg->lmax.\nAC:L - The attacker creates one qfq class and sends RTM_NEWTCLASS with a larger TCA_QFQ_LMAX and the same weight. qfq_change_class() snapshots old_lmax under sch_tree_lock(), drops the lock, and the attacker's transmit runs qfq_change_agg() so the class becomes the sole member of an aggregate with that lmax and weight before qfq_find_agg() returns cl->agg. TCA_RATE also runs gen_replace_estimator() in the gap.\nPR:L - qfq_change_class() runs only from __tc_ctl_tclass() on RTM_NEWTCLASS, and rtnetlink_rcv_msg() accepts that message only when netlink_net_capable() sees CAP_NET_ADMIN in the network namespace's user namespace. Creating that namespace with unshare gives an unprivileged process the capability.\nUI:N - The same attacker sends RTM_NEWTCLASS and transmits the skb. qfq_classify() selects the class from skb->priority, which the sender sets to the class id.\nS:U - qfq_destroy_agg() kfree()s a qfq_aggregate of the caller's qdisc and qfq_add_to_agg() corrupts that same kernel heap. The impacted component is the kernel that handled the netlink message.\nC:H - When num_classes is 1, qfq_rm_from_agg() kfree()s the aggregate and qfq_add_to_agg() leaves the freed address in cl->agg. qfq_dump_class() copies agg->class_weight and agg->lmax to the netlink reply, and qfq_enqueue() reads agg->lmax, agg->active, and agg->grp, so reclaiming the slab slot discloses heap bytes and follows attacker-chosen pointers.\nI:H - qfq_update_agg() writes budgetmax, inv_w, and num_classes into the freed qfq_aggregate. On a later qfq_enqueue(), list_add_tail() stores cl->alist through agg->active and qfq_activate_agg() does hlist_add_head() of agg->next onto agg->grp->slots; after reclaim those are writes to attacker-chosen addresses.\nA:H - qfq_add_to_agg() and the next qfq_enqueue() or qfq_dequeue() dereference cl->agg, agg->active, and agg->grp after qfq_destroy_agg() has kfree()d that aggregate. The dangling list and group pointers oops the kernel, and the attacker can issue the class change again."}]}],"providerMetadata":{"dateUpdated":"2026-11-22T11:09:45.415Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/374ea8200331708ead0ba524b5c8cd9640515fd5"},{"url":"https://git.kernel.org/stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40"},{"url":"https://git.kernel.org/stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b"},{"url":"https://git.kernel.org/stable/c/2e54b3e187300893688c2c7517894f5d96732e05"}],"title":"net/sched: sch_qfq: prevent aggregate self-replacement","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99688","datePublished":"2026-11-20T05:50:33.387Z","dateReserved":"2026-09-25T10:25:14.429Z","dateUpdated":"2026-11-22T11:09:45.415Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:03","lastModifiedDate":"2026-11-22 11:17:06","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99688","Ordinal":"1","Title":"net/sched: sch_qfq: prevent aggregate self-replacement","CVE":"CVE-2026-99688","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99688","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"net/sched: sch_qfq: prevent aggregate self-replacement"}]}}}