Memory Management Vulnerability in Linux Kernel: UAF in Memory Cgroup Handling

linux Updated 02 Oct 2025

Summary

26/08/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-43888: In the Linux kernel, the following vulnerability has been resolved: mm: list_lru: fix UAF for memory cgroup The mem_cgroup_from_slab_obj() is supposed to be called under rcu lock or cgroup_mutex or others which could pre... Affects linux versions < 6.10.6-1. Fixed in 6.10.6-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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of a Linux operating system, managing hardware resources and providing essential services for all other software. It is known for its stability, performance, and flexibility. However, like any complex software, it can be susceptible to vulnerabilities. This specific issue pertains to the memory management subsystem, particularly in how memory cgroups are handled, which can lead to potential security risks if not addressed.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the memory management subsystem related to the handling of memory cgroups. The issue arises from a use-after-free (UAF) condition in the function mem_cgroup_from_slab_obj(). This function is expected to operate under specific locking mechanisms (rcu lock or cgroup_mutex) to prevent the returned memory cgroup from being freed prematurely. The absence of the necessary rcu read lock can lead to undefined behavior, potentially allowing an attacker to exploit this flaw, resulting in system instability or unauthorized access to memory resources.

How To Fix

Minimum fixed version

6.10.6-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 as soon as it is available.

Conclusion

The identified vulnerability in the Linux kernel regarding memory cgroup handling poses significant risks if left unaddressed. It is crucial for users to update their systems to the patched version to ensure security and stability. Regular monitoring and prompt application of updates are essential practices for maintaining a secure environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to crashes or exploitation.

You can use Vulert, which monitors open-source vulnerabilities in your software. By simply uploading your manifest file, such as package-lock.json, you can check for vulnerabilities without needing to access the code.

Exploiting this vulnerability could lead to system instability, unauthorized access to sensitive memory areas, or even remote code execution in severe cases.

While there are no specific workarounds available, it is advisable to limit access to the affected systems and monitor for any unusual activity until the patch is applied.

Detailed information about this vulnerability can be found in the Debian CVE database or through security advisories related to the Linux kernel.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.10.6-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