Critical Vulnerability in Linux Kernel: Memory Management Flaw in LMEM Buffer Allocation

linux Updated 02 Oct 2025

Summary

16/08/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38511: In the Linux kernel, the following vulnerability has been resolved: drm/xe/pf: Clear all LMTT pages on alloc Our LMEM buffer objects are not cleared by default on alloc and during VF provisioning we only setup LMTT PTEs... Affects linux versions < 6.12.41-1. Fixed in 6.12.41-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and device control. This vulnerability specifically affects the memory management subsystem, particularly in the handling of Local Memory (LMEM) buffer objects, which are crucial for efficient memory allocation and virtualization in environments utilizing Virtual Functions (VFs).

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the handling of LMEM buffer objects, where memory pages are not cleared by default upon allocation. This oversight can lead to the presence of stale data that may point to other Virtual Functions' allocations or even to Physical Function (PF) pages. The risk is that a malicious VF could exploit this gap to gain unauthorized access to sensitive data or manipulate memory allocations. The vulnerability was introduced in earlier versions and has been addressed in subsequent patches.

How To Fix

Minimum fixed version

6.12.41-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 available patches as soon as possible.

Conclusion

The identified vulnerability in the Linux kernel poses significant risks related to memory management and data security. It is crucial for users to update their systems to the latest patched versions to protect against potential exploitation. Regular monitoring for vulnerabilities using tools like Vulert can further enhance security measures.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves uninitialized memory pages in LMEM buffer objects, which could lead to data leaks or unauthorized access.

The vulnerability affects versions prior to 6.12.41-1 for Debian 13 and prior to 6.16.3-1 for Debian 14.

You can check your kernel version using the command 'uname -r' and compare it with the patched versions.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just a manifest file.

While there are no specific workarounds, it is crucial to prioritize updating your system to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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