Memory Leak in tcindex_partial_destroy_work in Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001311: net: sched: fix memory leak in tcindex_partial_destroy_work. Affects Kernel versions >= 8332904aa971ed4547514f57c8b3780ad4f0f949, < 8d7924ce85bae64e7a67c366c7c50840f49f3a62. No fix is published. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functions such as process management, memory management, and device drivers. The tcindex_partial_destroy_work function in the Kernel's networking subsystem is responsible for freeing resources associated with a traffic control index. However, a memory leak vulnerability has been identified in this function, which could lead to the exhaustion of system memory over time.

Vulnerability Detail

The memory leak vulnerability in tcindex_partial_destroy_work arises from a failure to properly release memory resources when destroying a traffic control index. This can result in a gradual accumulation of unreleased memory, leading to memory exhaustion and potential system instability. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition by repeatedly creating and destroying traffic control indexes, consuming excessive memory resources. The vulnerability was introduced in version v3.18 of the Linux Kernel and has been fixed in version v5.4.136.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can mitigate the impact of this vulnerability by limiting the creation and destruction of traffic control indexes. By minimizing the frequency of these operations, the memory leak will occur at a slower rate, reducing the risk of memory exhaustion. However, this is only a temporary solution, and updating to the fixed version of the Kernel is strongly recommended.

Conclusion

The memory leak vulnerability in tcindex_partial_destroy_work in the Kernel can lead to memory exhaustion and potential system instability. It is crucial to update the Linux Kernel to version v5.4.136 or later to mitigate this vulnerability. Users can also limit the creation and destruction of traffic control indexes as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory exhaustion, potentially causing system instability and a denial-of-service (DoS) condition.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you if the vulnerability is present.

At the time of this report, there is no known exploit for this vulnerability. However, it is still important to apply the fix to prevent potential future exploitation.

Yes, you can limit the creation and destruction of traffic control indexes to slow down the memory leak. However, updating to the fixed version of the Kernel is strongly recommended for a permanent solution.

You can refer to the official Linux Kernel Git repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) for detailed information about the fix. The vulnerability details can be found in the provided reference link.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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