Use-after-free in Linux kernel's net/sched: sch_hfsc (HFSC qdisc traffic control) component
Linux Kernel
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Kernel |
| No fix yet |
Original description
A use-after-free vulnerability in the Linux kernel's net/sched: sch_hfsc (HFSC qdisc traffic control) component can be exploited to achieve local privilege escalation.
If a class with a link-sharing curve (i.e. with the HFSC_FSC flag set) has a parent without a link-sharing curve, then init_vf() will call vttree_insert() on the parent, but vttree_remove() will be skipped in update_vf(). This leaves a dangling pointer that can cause a use-after-free.
We recommend upgrading past commit b3d26c5702c7d6c45456326e56d2ccf3f103e60f.
From the CVE record · Google