Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139461

dma-direct: Restore arch_dma_alloc() for the DMA_ATTR_NO_KERNEL_MAPPING case

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: dma-direct: Restore arch_dma_alloc() for the DMA_ATTR_NO_KERNEL_MAPPING case Commit 849facea92fa ("dma-direct: simplify the DMA_ATTR_NO_KERNEL_MAPPING handling") moved the DMA_ATTR_NO_KERNEL_MAPPING shortcut in dma_direct_alloc() in front of the arch_dma_alloc() call. Architectures providing their own DMA coherent allocator (CONFIG_ARCH_HAS_DMA_ALLOC) therefore no longer see such requests. ARM 32bit is one of such. Lack of the call to arch_dma_alloc() results in the lack of proper cache management on HighMem pages. Take the dma-direct shortcut only for coherent devices or when the architecture doesn't provide arch_dma_alloc(). While touching this, move that check into separate function to avoid duplication in alloc and free paths.

Affected products and versions

Linux Linux849facea92fa68d9292f9b06d7c4ee9e7a06b8dc – < ac033c450bf8e6efc9acf2c54b6cbfb0266cd34b · 849facea92fa68d9292f9b06d7c4ee9e7a06b8dc – < 34644966b0b48e476aa1fc629361e73eff6aeceb · 849facea92fa68d9292f9b06d7c4ee9e7a06b8dc – < 8cd4e521b74cad199c668e1fae0ef459b316c7c4 · 849facea92fa68d9292f9b06d7c4ee9e7a06b8dc – < 5e3bc6b44c8853bcc7782eac122c5baf2d02f399Fixed in: ac033c450bf8e6efc9acf2c54b6cbfb0266cd34b · 34644966b0b48e476aa1fc629361e73eff6aeceb · 8cd4e521b74cad199c668e1fae0ef459b316c7c4 · 5e3bc6b44c8853bcc7782eac122c5baf2d02f399
Linux Linux5.10Fixed in: 6.12.120 · 6.18.66 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.