Critical Vulnerability in Linux Package: Memory Allocation Flaw in L2TP Net Exit Handler
Summary
DEBIAN-CVE-2024-53211: In the Linux kernel, the following vulnerability has been resolved: net/l2tp: fix warning in l2tp_exit_net found by syzbot In l2tp's net exit handler, we check that an IDR is empty before destroying it: WARN_ON_ONCE(!idr... Affects linux versions < 6.12.3-1. Fixed in 6.12.3-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is a core component of the Debian operating system, providing essential services for hardware management, process scheduling, and system resource allocation. The kernel supports various networking protocols, including L2TP (Layer 2 Tunneling Protocol), which is used for tunneling data over IP networks. This vulnerability affects the L2TP implementation within the kernel, specifically during the network exit process, where improper handling of memory allocation can lead to unexpected behavior.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the L2TP net exit handler. The issue arises when the system checks if an IDR (Identifier Radix Tree) is empty before destroying it. A flaw allows syzbot to trigger a condition where idr_is_empty returns false, despite the IDR being devoid of items. This occurs due to internal radix-tree nodes remaining in the tree, which are not cleared properly. The ramifications of this vulnerability include potential system instability and unexpected behavior during the cleanup process, which could lead to security risks.
How To Fix
Minimum fixed version
6.12.3-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the Linux package as described above.
Conclusion
The identified vulnerability in the Linux kernel's L2TP net exit handler poses significant risks to system stability due to improper memory allocation handling. Users are strongly advised to update their Linux packages to the patched version 6.12.3-1 to ensure their systems remain secure.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves improper handling of memory allocation in the L2TP net exit handler, which can lead to system instability.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
The vulnerability could lead to unexpected behavior during the cleanup process of the L2TP implementation, potentially compromising system stability.
Yes, the patched version of the Linux package is 6.12.3-1, which addresses this vulnerability.
While there are no specific workarounds, it is crucial to prioritize updating your package to mitigate the risk associated with this vulnerability.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.