Memory Allocation Profiling Vulnerability in Linux Kernel: Debian Packages Affected

linux Updated 02 Oct 2025

Summary

20/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-37908: In the Linux kernel, the following vulnerability has been resolved: mm, slab: clean up slab->obj_exts always When memory allocation profiling is disabled at runtime or due to an error, shutdown_mem_profiling() is called:... Affects linux versions < 6.12.29-1. Fixed in 6.12.29-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of the Debian operating system, responsible for managing hardware resources and providing essential services for software applications. It is known for its stability, performance, and flexibility, making it a popular choice for servers and desktops alike. However, vulnerabilities can arise, impacting system security and performance. This specific issue relates to improper handling of memory allocation profiling, which can lead to system errors and instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the memory management subsystem, specifically related to the slab allocator. When memory allocation profiling is disabled at runtime or due to an error, the function shutdown_mem_profiling() is invoked, but it fails to clear slab->obj_exts, which can lead to a bad page state error. This occurs because unaccount_slab() does not execute correctly when mem_alloc_profiling_enabled() is false, resulting in memory that remains incorrectly charged to a control group. This can cause significant system errors and instability, potentially leading to crashes or data loss.

How To Fix

Minimum fixed version

6.12.29-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 becomes available.

Conclusion

The identified vulnerability in the Linux kernel related to memory allocation profiling poses significant risks to system stability and security. Users of Debian 13 and 14 are urged to update their kernel to the patched version 6.12.29-1 to mitigate these risks. Regular monitoring and timely updates are essential to maintaining system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves improper handling of memory allocation profiling in the Linux kernel, which can lead to system errors.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

If exploited, this vulnerability can lead to system instability, crashes, and potential data loss due to improper memory management.

Yes, a patch is available in version 6.12.29-1 for both Debian 13 and 14. Users should update their kernel to this version.

While there are no specific workarounds, it is recommended to monitor your system closely for any unusual behavior until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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