CVE-2026-139461
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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

Product or packageVersionsReported by
Linux Linuxfrom 849facea92fa68d9292f9b06d7c4ee9e7a06b8dc before ac033c450bf8e6efc9acf2c54b6cbfb0266cd34b, from 849facea92fa68d9292f9b06d7c4ee9e7a06b8dc before 34644966b0b48e476aa1fc629361e73eff6aeceb, from 849facea92fa68d9292f9b06d7c4ee9e7a06b8dc before 8cd4e521b74cad199c668e1fae0ef459b316c7c4, from 849facea92fa68d9292f9b06d7c4ee9e7a06b8dc before 5e3bc6b44c8853bcc7782eac122c5baf2d02f399, 5.10
Not affected: before 5.10, from 6.12.120 up to 6.12.*, from 6.18.66 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139461 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139461 changed 2026-11-30Public domain