CVE-2026-99688: net/sched: sch_qfq: prevent aggregate self-replacement

Published Nov 20, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/sched: schqfq: prevent aggregate self-replacement

qfqchangeclass() snapshots the current aggregate settings while holding the qdisc tree lock, but drops the lock before selecting the destination aggregate. During that gap, qfqenqueue() can move the class to an aggregate matching the requested settings.

When qfqchangeclass() resumes, qfqfindagg() then returns cl->agg. If it is a singleton, qfqdeactrmfromagg() frees the aggregate before qfqaddtoagg() 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.

Affected Software

7 affected componentsFixes available
linux/kernel>=3.8.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5
debian/linux*
debian/linux*
debian/linux*
debian/linux<=6.1.176-1, <=6.1.192-2, <=6.12.107-1, <=6.12.117-1, <=7.3.4-1
7.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.5
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.5-1
  5. Compensating control

    In qfq_change_class(), while holding the qdisc tree lock, skip aggregate replacement when the destination aggregate is already the class’s current aggregate.

Event History

Nov 20, 2026
CVE Published
via MITRE·05:50 AM
Data Sourced
via MITRE·05:50 AM
Description
Data Sourced
via OSV·05:50 AM
DescriptionAffected Software
Data Sourced
via NVD·06:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The race requires qfq_change_class() to drop the qdisc tree lock before choosing a destination aggregate, while qfq_enqueue() moves the same class into an aggregate with the requested settings. The resulting self-replacement becomes unsafe when that aggregate is a singleton, because it can be freed and then immediately accessed.

2

Which systems are exposed?

Systems using the Linux kernel QFQ traffic-control scheduler are relevant. The provided information does not state whether QFQ is enabled or configured by default.

3

What does the fix change?

The fix checks under the qdisc tree lock whether the selected destination aggregate is already the class's current aggregate. If so, it skips aggregate replacement, while allowing the class change to complete because estimator replacement has already finished.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203