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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dma-direct: Restore archdmaalloc() for the DMAATTRNOKERNELMAPPING case

Commit 849facea92fa ("dma-direct: simplify the DMAATTRNOKERNELMAPPING handling") moved the DMAATTRNOKERNELMAPPING shortcut in dmadirectalloc() in front of the archdmaalloc() call. Architectures providing their own DMA coherent allocator (CONFIGARCHHASDMAALLOC) therefore no longer see such requests. ARM 32bit is one of such. Lack of the call to archdmaalloc() 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 archdmaalloc(). While touching this, move that check into separate function to avoid duplication in alloc and free paths.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description

Frequently Asked Questions

1

Which deployments are most likely to encounter this issue?

ARM 32-bit is explicitly identified as an architecture that provides its own DMA coherent allocator through CONFIG_ARCH_HAS_DMA_ALLOC. The issue is relevant when DMA_ATTR_NO_KERNEL_MAPPING allocations involve HighMem pages, where bypassing the architecture allocator omits proper cache management.

2

What condition causes the incorrect allocation path?

The problematic path occurs when the DMA_ATTR_NO_KERNEL_MAPPING shortcut is taken before arch_dma_alloc() on an architecture that provides arch_dma_alloc(). This prevents the architecture-specific allocator from handling the request.

3

How does the fix change DMA allocation behavior?

The direct dma-direct shortcut is now taken only for coherent devices or when the architecture does not provide arch_dma_alloc(). For architectures with their own allocator, DMA_ATTR_NO_KERNEL_MAPPING requests are again routed through arch_dma_alloc().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203