CVE-2026-143003 in Linux
Summary
by MITRE • 12/03/2026
In the Linux kernel, the following vulnerability has been resolved:
misc: bcm-vk: fix DMA allocation memory leak
bcm_vk_dma_alloc() leaks dma->pages and pinned user-page references when page pinning or coherent SG allocation fails. DMA mapping failures can also leave the SG list and earlier mappings unreleased, as bcm_vk_sg_alloc() skips the partially initialized slot.
This issue was found by our static analysis tool under development.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 12/03/2026
The vulnerability identified in the Linux kernel's Broadcom Video Kernel driver involves a resource management flaw within the DMA allocation subsystem, specifically affecting the functions bcm_vk_dma_alloc and bcm_vk_sg_alloc. This defect manifests as a memory leak that occurs when the system attempts to allocate or map Direct Memory Access buffers for hardware devices. The core of the issue lies in the error handling paths during these allocations. When page pinning operations fail, which are necessary to ensure user-space pages remain resident in physical memory during DMA transfers, the driver fails to release the previously allocated dma->pages structure and any pinned user-page references. This oversight results in a direct leak of kernel memory that is not reclaimed until system reboot or module unload, gradually degrading available resources over time.
Furthermore, the vulnerability extends to scenarios involving coherent Scatter-Gather list allocations. If the allocation process encounters an error after partially initializing data structures, the bcm_vk_sg_alloc function skips the cleanup logic for slots that have already been set up but not fully completed. Consequently, this leaves both the Scatter-Gather list and any earlier DMA mappings unreleased in memory. The root cause is a lack of comprehensive rollback mechanisms when intermediate steps within the allocation sequence fail. Instead of unwinding all previously acquired resources upon encountering an error condition, the code path exits prematurely without invoking the necessary deallocation routines for each component that was successfully allocated up to that point.
From a security and operational perspective, this memory leak contributes to resource exhaustion vulnerabilities classified under CWE-401, which describes missing release of memory after effective usage. In long-running systems or environments with high-frequency DMA operations, such as video processing pipelines or network interfaces utilizing Broadcom hardware, these leaks can accumulate rapidly. The gradual consumption of kernel heap space may lead to increased pressure on the page allocator, potentially triggering out-of-memory conditions for critical system processes even if user-space memory appears sufficient. This aligns with ATT&CK technique T1496, Resource Hijacking, where an attacker or malfunctioning process could theoretically exacerbate resource depletion to cause denial of service against other services running on the same host.
The issue was originally detected through static analysis tools designed to trace control flow and identify paths where resources are acquired but not released under error conditions. To mitigate this vulnerability, it is essential that developers implement robust cleanup routines in all error branches of bcm_vk_dma_alloc and bcm_vk_sg_alloc. This involves ensuring that every allocated page reference, pinned user memory segment, and Scatter-Gather list entry is explicitly freed if any subsequent step fails. Additionally, adopting defensive programming practices such as using goto-based cleanup labels common in the Linux kernel can help standardize resource release logic across complex allocation sequences. System administrators should monitor for signs of increasing kernel memory usage associated with this driver module and ensure that system updates incorporating these fixes are applied promptly to prevent potential stability issues or denial-of-service scenarios resulting from sustained memory leakage.