CVE-2026-139394
In the Linux kernel, the following vulnerability has been resolved: spi: meson-spicc: fix invalid DMA unmap on mapping failure meson_spicc_dma_unmap() decided whether a buffer had to be unmapped by testing its DMA address for non-zero. On a mapping failure dma_map_single() returns DMA_MAPPING_ERROR (typically non-zero), so the error path in meson_spicc_transfer_one() passed that error value to dma_unmap_single(), unmapping an address which was never mapped. The same happened for t->rx_dma on TX mapping failure, which is not written at all. Initialize both addresses to DMA_MAPPING_ERROR before mapping and use dma_mapping_error() to decide, so only buffers which were actually mapped are unmapped.
Affected versions
Linux kernel versions
6.16
and later are affected. Fixed in
6.18.65,
7.3.6,
7.4-rc1
and their respective stable series.
References
3 totalFrequently asked questions
-
What is CVE-2026-139394?
CVE-2026-139394 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.16 onward and has been patched in 6.18.65, 7.3.6 and 7.4-rc1. CVE-2026-139394 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-139394?
Yes. CVE-2026-139394 has been patched. Fixed versions include 6.18.65, 7.3.6 and 7.4-rc1. If you are running Linux kernel 6.16 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-139394 actively exploited?
No. CVE-2026-139394 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.