Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99688

published high CVSS 3.1 · 7.8

net/sched: sch_qfq: prevent aggregate self-replacement

Published
20 Nov 2026, 05:50:33 UTC
Updated
23 Nov 2026, 08:06:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux462dbc9101acd38e92eda93c0726857517a24bbd to < bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 4b3771f062438f6a9086baef5395656c2eae6d60 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 15607276081f3c1bcbabc3b2269188e4788fc8db · 462dbc9101acd38e92eda93c0726857517a24bbd to < 706fb83f294286f3d7ed95600a1f45153e064810 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 374ea8200331708ead0ba524b5c8cd9640515fd5 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 11c4ba0c976415176a6d82d6051457455d5b7e40 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 519f327c7fd1b67327de2e1cff6fbe85a02a151b · 462dbc9101acd38e92eda93c0726857517a24bbd to < 2e54b3e187300893688c2c7517894f5d96732e05 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 462dbc9101acd38e92eda93c0726857517a24bbd to < bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 4b3771f062438f6a9086baef5395656c2eae6d60 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 15607276081f3c1bcbabc3b2269188e4788fc8db (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 706fb83f294286f3d7ed95600a1f45153e064810 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 374ea8200331708ead0ba524b5c8cd9640515fd5 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 11c4ba0c976415176a6d82d6051457455d5b7e40 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 519f327c7fd1b67327de2e1cff6fbe85a02a151b (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 2e54b3e187300893688c2c7517894f5d96732e05 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.8 (affected)0 to < 3.8 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

net/sched: sch_qfq: prevent aggregate self-replacement

Provenance

Schema
5.2
Searchable
yes
Content hash
40563d07f36940f8ea08220c515eaaade75a7be6f7102d0df4679a92bf8fc9d8
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected