{"id":"CVE-2026-139461","summary":"dma-direct: Restore arch_dma_alloc() for the DMA_ATTR_NO_KERNEL_MAPPING case","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-direct: Restore arch_dma_alloc() for the DMA_ATTR_NO_KERNEL_MAPPING case\n\nCommit 849facea92fa (\"dma-direct: simplify the DMA_ATTR_NO_KERNEL_MAPPING\nhandling\") moved the DMA_ATTR_NO_KERNEL_MAPPING shortcut in\ndma_direct_alloc() in front of the arch_dma_alloc() call. Architectures\nproviding their own DMA coherent allocator (CONFIG_ARCH_HAS_DMA_ALLOC)\ntherefore no longer see such requests. ARM 32bit is one of such. Lack of\nthe call to arch_dma_alloc() results in the lack of proper cache\nmanagement on HighMem pages.\n\nTake the dma-direct shortcut only for coherent devices or when the\narchitecture doesn't provide arch_dma_alloc(). While touching this,\nmove that check into separate function to avoid duplication in alloc\nand free paths.","modified":"2026-11-30T15:02:28.726459601Z","published":"2026-11-30T13:34:58.141Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139461.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/34644966b0b48e476aa1fc629361e73eff6aeceb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e3bc6b44c8853bcc7782eac122c5baf2d02f399"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cd4e521b74cad199c668e1fae0ef459b316c7c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac033c450bf8e6efc9acf2c54b6cbfb0266cd34b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139461.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139461"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"849facea92fa68d9292f9b06d7c4ee9e7a06b8dc"},{"fixed":"ac033c450bf8e6efc9acf2c54b6cbfb0266cd34b"},{"fixed":"34644966b0b48e476aa1fc629361e73eff6aeceb"},{"fixed":"8cd4e521b74cad199c668e1fae0ef459b316c7c4"},{"fixed":"5e3bc6b44c8853bcc7782eac122c5baf2d02f399"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139461.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139461.json"}}],"schema_version":"1.9.2"}