Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: net_sched: fix skb memory leak in deferred qdisc drops When the network stack cleans up the deferred list via qdisc_run_end(), it operates on the root qdisc. If the root qdisc do not implement the TCQ_F_DEQUEUE_DROPS flag the packets queue to free are never freed and gets stranded on the child's local to_free list. Fix this by making qdisc_dequeue_drop() aware of the root qdisc. It fetches the root qdisc and check for the TCQ_F_DEQUEUE_DROPS flag. If the flag is present, the packet is appended directly to the root's to_free list. Otherwise, drop it directly as it was done before the optimization was implemented.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected a6efc273ab8245722eee2150fa12cf75781dc410 before bf26ad92ffda7884825d67b46bd5efe615c3babf; affected a6efc273ab8245722eee2150fa12cf75781dc410 before a6bd339dbb3514bce690fdcf252e788dfab4ee76 |
| Linux / Linux | affected 6.19; unaffected 0 before 6.19; unaffected 7.0.10 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.