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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:58.141Z
- Modified: 2026-11-30T14:19:17.390Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/ac033c450bf8e6efc9acf2c54b6cbfb0266cd34b>
- <https://git.kernel.org/stable/c/34644966b0b48e476aa1fc629361e73eff6aeceb>
- <https://git.kernel.org/stable/c/8cd4e521b74cad199c668e1fae0ef459b316c7c4>
- <https://git.kernel.org/stable/c/5e3bc6b44c8853bcc7782eac122c5baf2d02f399>

## Sources

- CVE List: [CVE-2026-139461](https://www.cve.org/CVERecord?id=CVE-2026-139461), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139461](https://nvd.nist.gov/vuln/detail/CVE-2026-139461), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139461 · Whole record: https://cve.day/CVE-2026-139461.json · Rebuilt by cve.day 2026-11-30T14:33:07.154Z
