Race Condition in Memory Handling in Linux Kernel - CVE-2025-38008

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38008: In the Linux kernel, the following vulnerability has been resolved: mm/page_alloc: fix race condition in unaccepted memory handling The page allocator tracks the number of zones that have unaccepted memory using static_b... Affects linux versions < 6.12.30-1. Fixed in 6.12.30-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 Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It is widely used in various environments, from servers to embedded systems. The kernel's memory management subsystem includes a page allocator that handles memory allocation and deallocation. This vulnerability arises from a race condition in the handling of unaccepted memory, which can lead to unpredictable behavior and potential system instability.

Vulnerability Detail

In the Linux kernel, a race condition exists in the page allocator's handling of unaccepted memory. The static branch mechanism used to track the number of zones with unaccepted memory is not properly synchronized, allowing concurrent operations to interfere with each other. This can lead to warnings and potential system instability, particularly in high-performance scenarios. The issue was identified by developers Borislav and Thomas, who noted that the tracking mechanism could result in incorrect memory management.

How To Fix

Minimum fixed version

6.12.30-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. It is advisable to apply the patch as soon as it is available to mitigate any risks associated with the race condition.

Conclusion

CVE-2025-38008 is a significant vulnerability in the Linux kernel that can lead to race conditions in memory handling. It is essential for users to update their systems to the patched version to ensure stability and security. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38008 is a vulnerability in the Linux kernel related to a race condition in the handling of unaccepted memory, which can lead to system instability.

You can use the Vulert platform 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.

The primary risk is system instability due to improper memory management, which could lead to crashes or unpredictable behavior in applications relying on the kernel.

Yes, a patch is available in version 6.12.30-1 of the Linux package. It is recommended to update to this version or later.

While there are no specific workarounds, it is crucial to monitor the situation and apply the patch as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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