CVE-2024-56544
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2024-56544) was discovered in the udmabuf (user-space direct memory access buffer) functionality. The issue occurs when PAGE_SIZE is 4096 and MAX_PAGE_ORDER is 10 on 64-bit machines, where page allocation only supports up to 4MB. When attempting to allocate larger buffers (e.g., 3GB), the allocation fails due to memory allocation limitations (NVD). This vulnerability affects Linux kernel versions from 4.20 up to (excluding) 6.11.11 and from 6.12 up to (excluding) 6.12.2.

Technical details

The vulnerability stems from using kmalloc for array allocation in the udmabuf subsystem. Due to MAX_PAGE_ORDER limitations, kmalloc can only allocate up to 4MB (4096 * (1 << 10)) of memory. Each array entry is a pointer (8 bytes), allowing storage of up to 524,288 pages (2GB). Additionally, higher-order allocations (order 3) may fail due to memory fragmentation. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When attempting to allocate large udmabuf buffers (e.g., 3GB), the allocation fails, triggering a warning and returning NULL. This can lead to denial of service conditions in applications relying on large direct memory access buffers (NVD).

Mitigation and workarounds

The vulnerability has been patched by changing the udmabuf array allocation from kmalloc to kvmalloc_array. This modification allows fallback to vmalloc when needed, guaranteeing allocation for any size while maintaining kmalloc allocation performance where possible (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management