CVE-2024-53057: net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
In the Linux kernel, the following vulnerability has been resolved:
net/sched: stop qdisctreereducebacklog on TCHROOT
In qdisctreereducebacklog, Qdiscs with major handle ffff: are assumed to be either root or ingress. This assumption is bogus since it's valid to create egress qdiscs with major handle ffff: Budimir Markovic found that for qdiscs like DRR that maintain an active class list, it will cause a UAF with a dangling class pointer.
In 066a3b5b2346, the concern was to avoid iterating over the ingress qdisc since its parent is itself. The proper fix is to stop when parent TCHROOT is reached because the only way to retrieve ingress is when a hierarchy which does not contain a ffff: major handle call into qdisclookup with TCHMAJ(TCHROOT).
In the scenario where major ffff: is an egress qdisc in any of the tree levels, the updates will also propagate to TCHROOT, which then the iteration must stop.
net/sched/schapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-53057?
CVE-2024-53057 has a moderate severity rating due to potential disruptions in network traffic management.
How do I fix CVE-2024-53057?
To resolve CVE-2024-53057, update the Linux kernel to a version that includes the patch, such as 6.1.123-1 or higher.
Which versions of the Linux kernel are affected by CVE-2024-53057?
CVE-2024-53057 affects Linux kernel versions between 2.6.25 and 6.12-rc5.
What are the potential impacts of CVE-2024-53057?
The potential impacts of CVE-2024-53057 include network instability and improper handling of traffic shaping.
Is there a specific distribution affected by CVE-2024-53057?
Yes, Debian and its derived distributions that use the affected Linux kernel versions are impacted by CVE-2024-53057.