CVE-2024-56544
udmabuf: change folios array from kmalloc to kvmalloc
Mitigation
- Upgrade Linux to 1c0844c6184e658064e14c4335885785ad3bf84b or later.
Who should check
- Anyone running Linux >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2384a29db79bd2cfe0b7646ac0030cb355825e29; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2acc6192aa8570661ed37868c02c03002b1dc290; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 85bb72397cb63649fe493c96e27e1d0e4ed2ff63; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 1c0844c6184e658064e14c4335885785ad3bf84b
- Anyone running Linux 4.20
Vulnerability facts
- Affected
- Linux >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2384a29db79bd2cfe0b7646ac0030cb355825e29; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2acc6192aa8570661ed37868c02c03002b1dc290; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 85bb72397cb63649fe493c96e27e1d0e4ed2ff63; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 1c0844c6184e658064e14c4335885785ad3bf84b; Linux 4.20
- Fixed in
- Linux 2384a29db79bd2cfe0b7646ac0030cb355825e29, Linux 2acc6192aa8570661ed37868c02c03002b1dc290, Linux 85bb72397cb63649fe493c96e27e1d0e4ed2ff63, Linux 1c0844c6184e658064e14c4335885785ad3bf84b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
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. If above this, trigger this warn and return NULL. udmabuf can change size limit, if change it to 3072(3GB), and then alloc 3GB udmabuf, will fail create. [ 4080.876581] ------------[ cut here ]------------ [ 4080.876843] WARNING: CPU: 3 PID: 2015 at mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350 [ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350 [ 4080.879470] Call Trace: [ 4080.879473] <TASK> [ 4080.879473] ? __alloc_pages+0x2c8/0x350 [ 4080.879475] ? __warn.cold+0x8e/0xe8 [ 4080.880647] ? __alloc_pages+0x2c8/0x350 [ 4080.880909] ? report_bug+0xff/0x140 [ 4080.881175] ? handle_bug+0x3c/0x80 [ 4080.881556] ? exc_invalid_op+0x17/0x70 [ 4080.881559] ? asm_exc_invalid_op+0x1a/0x20 [ 4080.882077] ? udmabuf_create+0x131/0x400 Because MAX_PAGE_ORDER, kmalloc can max alloc 4096 * (1 << 10), 4MB memory, each array entry is pointer(8byte), so can save 524288 pages(2GB). Further more, costly order(order 3) may not be guaranteed that it can be applied for, due to fragmentation. This patch change udmabuf array use kvmalloc_array, this can fallback alloc into vmalloc, which can guarantee allocation for any size and does not affect the performance of kmalloc allocations.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2384a29db79bd2cfe0b7646ac0030cb355825e29; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2acc6192aa8570661ed37868c02c03002b1dc290; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 85bb72397cb63649fe493c96e27e1d0e4ed2ff63; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 1c0844c6184e658064e14c4335885785ad3bf84b | — | cvelist |
| Linux | 4.20 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-56544. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-56544.md Affected: Linux >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2384a29db79bd2cfe0b7646ac0030cb355825e29; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2acc6192aa8570661ed37868c02c03002b1dc290; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 85bb72397cb63649fe493c96e27e1d0e4ed2ff63; >= fbb0de795078190a9834b34… Fixed in: Linux 2384a29db79bd2cfe0b7646ac0030cb355825e29, Linux 2acc6192aa8570661ed37868c02c03002b1dc290, Linux 85bb72397cb63649fe493c96e27e1d0e4ed2ff63, Linux 1c0844c6184e658064e14c4335885785ad3bf84b Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-56544 being exploited?
There is no confirmed exploitation: CVE-2024-56544 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-56544?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-56544?
Linux >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2384a29db79bd2cfe0b7646ac0030cb355825e29; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 2acc6192aa8570661ed37868c02c03002b1dc290; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 85bb72397cb63649fe493c96e27e1d0e4ed2ff63; >= fbb0de795078190a9834b3409e4b009cfb18a6d4, < 1c0844c6184e658064e14c4335885785ad3bf84b; Linux 4.20.
Is there a fix for CVE-2024-56544?
Yes. Fixed in Linux 2384a29db79bd2cfe0b7646ac0030cb355825e29, Linux 2acc6192aa8570661ed37868c02c03002b1dc290, Linux 85bb72397cb63649fe493c96e27e1d0e4ed2ff63, Linux 1c0844c6184e658064e14c4335885785ad3bf84b. Upgrade Linux to 1c0844c6184e658064e14c4335885785ad3bf84b or later.
How do I check if I'm affected by CVE-2024-56544?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.