Kernel-memory leak via unreleased dma_buf object
Published Dec 29, 2024 · Updated May 11, 2026
Memory leak in Linux kernel udmabuf 4.20 through 6.12.6 allows local users to consume kernel memory after file-descriptor exhaustion. When dma_buf_fd() fails in export_udmabuf(), udmabuf_create() tears down the udmabuf without releasing its containing dma_buf, leaving a dangling pointer and allocation. The path requires a local low-privileged user to fill the process file-descriptor table and invoke UDMABUF_CREATE; only memory leakage and reduced availability are reported.
Summary
What happened
Memory leak in Linux kernel udmabuf 4.20 through 6.12.6 allows local users to consume kernel memory after file-descriptor exhaustion. When dma_buf_fd() fails in export_udmabuf(), udmabuf_create() tears down the udmabuf without releasing its containing dma_buf, leaving a dangling pointer and allocation. The path requires a local low-privileged user to fill the process file-descriptor table and invoke UDMABUF_CREATE; only memory leakage and reduced availability are reported.
The record
- CVE
- CVE-2024-56712
- Published
- Dec 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 29, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.20
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <c9fc8428d4255c2128da9c4d5cd92e554d0150cf
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <f49856f525acd5bef52ae28b7da2e001bbe7439e
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo