spi: rockchip-sfc: skip DMA cleanup in PIO mode
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | ee795e82e10197c070efd380dc9615c73dffad6c to before 697cb8e7095cef461965dc143b0b6f77164b1634 Affectedee795e82e10197c070efd380dc9615c73dffad6c to before 66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6 Affectedee795e82e10197c070efd380dc9615c73dffad6c to before 926f9c44a76fe9e722180d0804c607c6cf1ebbb4 Affected22810d4cb0e8a7d51b24527e73beac60afc1c693 Affected6.17.6 to before 6.18 Affected |
| Linux Linux | 6.18 Affectedbefore 6.18 Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.