What’s Vulnerable › Vulnerabilities

CVE-2023-4623: Use-after-free in Linux kernel's net/sched: sch_hfsc (HFSC qdisc traffic control) component

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.327, 4.19.295, 5.10.195, 5.15.132. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-4623 or the next vulnerability affects your stack