Technical impact
In the Linux kernel, the dma‑direct subsystem omitted a call to arch_dma_alloc() when the DMA_ATTR_NO_KERNEL_MAPPING flag was set. The missing call prevented the required cache maintenance on high‑memory pages for architectures that implement arch_dma_alloc(), such as ARM 32‑bit. This oversight left caches stale and allowed the CPU to read or write outdated data, potentially corrupting kernel structures or destabilizing the system. The flaw represents an improper memory management weakness that can cause data corruption and unexpected crashes.
Affected Systems
All Linux kernel releases before the inclusion of commit 849facea92fa are affected on architectures with CONFIG_ARCH_HAS_DMA_ALLOC. The flaw is present on ARM 32‑bit and any other architecture that provides a custom arch_dma_alloc() implementation. Kernel builds that lack the arch_dma_alloc() function or do not use the DMA_ATTR_NO_KERNEL_MAPPING flag are not impacted.
Risk and Exploitability
An attacker with local privileged code that can invoke dma_direct_alloc() with DMA_ATTR_NO_KERNEL_MAPPING could trigger the bug. Because the vulnerability arises from omitted cache synchronization rather than a boundary violation, exploitation is unlikely to enable remote code execution; instead, it would lead to internal data corruption or service disruption. No CVSS or EPSS score is published, and the flaw is not listed in CISA’s KEV catalog, indicating no active exploitation at the time. The risk remains significant for systems that use the affected attribute on HighMem devices.