Critical Vulnerability in Linux Package: Memory Allocation Flaw in L2TP Net Exit Handler

linux Updated 02 Oct 2025

Summary

27/12/2024
N/A
Yes i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback