Critical Memory Allocation Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

27/12/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-56544: In the Linux kernel, the following vulnerability has been resolved: udmabuf: change folios array from kmalloc to kvmalloc When PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine, page_alloc only support 4MB. Affects linux versions < 6.12.3-1. Fixed in 6.12.3-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 the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It is widely used across various platforms, from servers to embedded systems. This vulnerability affects the udmabuf functionality within the kernel, which is used for managing memory buffers for DMA (Direct Memory Access) operations. The vulnerability arises from the way memory allocation is handled, potentially leading to allocation failures under certain conditions.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the udmabuf component, which changes the folios array from kmalloc to kvmalloc. When the page size is set to 4096 bytes and the maximum page order is 10, the page allocation only supports up to 4MB. If an attempt is made to allocate a larger udmabuf (e.g., 3GB), the allocation will fail, leading to warnings and potential instability. This issue can cause applications relying on udmabuf to malfunction, resulting in degraded performance or crashes.

How To Fix

Minimum fixed version

6.12.3-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 by updating to the fixed version of the Linux kernel.

Conclusion

The vulnerability in the Linux kernel's udmabuf component poses significant risks to system stability and application performance. It is crucial to update to the patched version (6.12.3-1) to mitigate these risks. Regular monitoring and timely updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

Udmabuf is a component in the Linux kernel that manages memory buffers for DMA operations, allowing devices to access memory directly.

Failing to update the kernel may leave your system vulnerable to crashes and performance issues, especially for applications relying on udmabuf.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Yes, this vulnerability is critical as it can lead to memory allocation failures, causing applications to malfunction.

If an immediate update is not possible, ensure that your applications are monitored for abnormal behavior and plan to apply the update as soon as feasible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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