spi: rockchip-sfc: skip DMA cleanup in PIO mode
- CVE-2026-139625
- GHSA-6mpc-whv7-j9m7
- EUVD-2026-139331
Description
In the Linux kernel, the following vulnerability has been resolved: spi: rockchip-sfc: skip DMA cleanup in PIO mode With rockchip,sfc-no-dma, probe skips allocating and mapping the transfer buffer. However, controller registration failure and driver removal still call dma_unmap_single() for that nonexistent mapping. Guard the DMA mapping and buffer cleanup with use_dma. Keep the existing cleanup for allocation and mapping failures on the DMA path. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in from 6.17.6 to before 6.18 none stated 6.18 none stated before 6.18: not affected none stated from 6.18.65 up to 6.18.*: not affected none stated from 7.3.6 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.