Memory Leak Vulnerability in cgroup Package

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002198: cgroup: Fix memory leak caused by missing cgroup_bpf_offline. Affects Kernel versions >= 2b0d3d3e4fcfb19d10f9a82910b8f0f05c56ee3e, < 04f8ef5643bcd8bcde25dfdebef998aea480b2ba. 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 cgroup package is a component of the Linux Kernel that provides resource isolation and resource usage control for processes. It allows administrators to allocate resources such as CPU, memory, and I/O to groups of processes. The cgroup package is widely used in Linux systems to manage resource allocation and ensure fair sharing among processes. However, a vulnerability has been discovered in the cgroup package that can lead to a memory leak.

Vulnerability Detail

The memory leak vulnerability in the cgroup package is caused by a missing cgroup_bpf_offline function. This function is responsible for freeing memory resources when a cgroup is destroyed. Without this function, memory allocated for the cgroup is not properly released, resulting in a memory leak. An attacker could potentially exploit this vulnerability to exhaust system memory resources, leading to a denial-of-service condition. The vulnerability was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.15.

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

There is no known workaround for this vulnerability. It is necessary to update the Linux Kernel to the fixed version to address the memory leak issue.

Conclusion

The memory leak vulnerability in the cgroup package can have serious consequences, including system instability and denial-of-service conditions. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The cgroup package is a component of the Linux Kernel that provides resource isolation and resource usage control for processes.

The vulnerability can lead to a memory leak, potentially causing a denial-of-service condition by exhausting system memory resources.

To fix this vulnerability, update the Linux Kernel to version v5.15 or later.

No, there is no known workaround for this vulnerability. Updating the Linux Kernel is the recommended solution.

The vulnerability was introduced in version v5.10 of the Linux Kernel and fixed in version v5.15.

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