net/sched: sch_qfq: prevent aggregate self-replacement
NIST has received this entry but not started reviewing it.
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.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 462dbc9101acd38e92eda93c0726857517a24bbd, before bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0; from 462dbc9101acd38e92eda93c0726857517a24bbd, before 4b3771f062438f6a9086baef5395656c2eae6d60; from 462dbc9101acd38e92eda93c0726857517a24bbd, before 15607276081f3c1bcbabc3b2269188e4788fc8db; from 462dbc9101acd38e92eda93c0726857517a24bbd, before 706fb83f294286f3d7ed95600a1f45153e064810; from 462dbc9101acd38e92eda93c0726857517a24bbd, before 374ea8200331708ead0ba524b5c8cd9640515fd5; from 462dbc9101acd38e92eda93c0726857517a24bbd, before 11c4ba0c976415176a6d82d6051457455d5b7e40; and 2 more | bcfe04e5c5fe2f655859ac2e8d56e762fc090bd0; 4b3771f062438f6a9086baef5395656c2eae6d60; 15607276081f3c1bcbabc3b2269188e4788fc8db; 706fb83f294286f3d7ed95600a1f45153e064810 |
| Linux Linux | Software | 3.8 | not recorded |
The 7.8 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 8 sources for this flaw, none tagged as a vendor patch.