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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ee795e82e10197c070efd380dc9615c73dffad6c to < 697cb8e7095cef461965dc143b0b6f77164b1634affectedee795e82e10197c070efd380dc9615c73dffad6c to < 66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6affectedee795e82e10197c070efd380dc9615c73dffad6c to < 926f9c44a76fe9e722180d0804c607c6cf1ebbb4affected22810d4cb0e8a7d51b24527e73beac60afc1c693affected6.17.6 to < 6.18affected
Linux Linux
Default version status: affected
6.18affected0 to < 6.18unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected