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.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
No affected versions have been published.
Timeline
- Published
- Nov 30, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Received