Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Weakness type: Use after free.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
In the Linux kernel, the following vulnerability has been resolved:
sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()
When enqueuing the first packet to an HFSC class, hfsc_enqueue() calls the
child qdisc's peek() operation before incrementing sch->q.qlen and
sch->qstats.backlog. If the child qdisc uses qdisc_peek_dequeued(), this may
trigger an immediate dequeue and potential packet drop. In such cases,
qdisc_tree_reduce_backlog() is called, but the HFSC qdisc's qlen and backlog
have not yet been updated, leading to inconsistent queue accounting. This
can leave an empty HFSC class in the active list, causing further
consequences like use-after-free.
This patch fixes the bug by moving the increment of sch->q.qlen and
sch->qstats.backlog before the call to the child qdisc's peek() operation.
This ensures that queue length and backlog are always accurate when packet
drops or dequeues are triggered during the peek.
Weakness: CWE-416 – Use after free
| Vendor | Product | Versions |
|---|---|---|
| linux | linux kernel | >=4.8 <5.4.294 |
| linux | linux kernel | >=5.5 <5.10.238 |
| linux | linux kernel | >=5.11 <5.15.185 |
| linux | linux kernel | >=5.16 <6.1.141 |
| linux | linux kernel | >=6.2 <6.6.93 |
| linux | linux kernel | >=6.7 <6.12.31 |
| linux | linux kernel | >=6.13 <6.14.9 |
| linux | linux kernel | 6.15 |
| debian | debian linux | 11.0 |