net/sched: sch_qfq: prevent aggregate self-replacement (Linux Linux)

CVE-2026-99688
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < 4b3771f062438f6a9086baef5395656c2eae6d60
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < 15607276081f3c1bcbabc3b2269188e4788fc8db
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < 706fb83f294286f3d7ed95600a1f45153e064810
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < 374ea8200331708ead0ba524b5c8cd9640515fd5
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < 11c4ba0c976415176a6d82d6051457455d5b7e40
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < 519f327c7fd1b67327de2e1cff6fbe85a02a151b
affected : ≥ 462dbc9101acd38e92eda93c0726857517a24bbd < 2e54b3e187300893688c2c7517894f5d96732e05
Other versions : unaffected
Linux · Linux
affected : 3.8
unaffected : ≥ 0 < 3.8
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.5 ≤ 7.3.*
unaffected : ≥ 7.4-rc2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD