A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/11c4ba0c976415176a6d82d6051457455d5b7e40
- git.kernel.org /stable/c/15607276081f3c1bcbabc3b2269188e4788fc8db
- git.kernel.org /stable/c/2e54b3e187300893688c2c7517894f5d96732e05
- git.kernel.org /stable/c/374ea8200331708ead0ba524b5c8cd9640515fd5
- git.kernel.org /stable/c/4b3771f062438f6a9086baef5395656c2eae6d60
- git.kernel.org /stable/c/519f327c7fd1b67327de2e1cff6fbe85a02a151b
- git.kernel.org /stable/c/706fb83f294286f3d7ed95600a1f45153e064810
- git.kernel.org /stable/c/bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning