# CVE-2026-139625: spi: rockchip-sfc: skip DMA cleanup in PIO mode

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:28.813Z
- Modified: 2026-11-30T14:19:45.433Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ee795e82e10197c070efd380dc9615c73dffad6c before 697cb8e7095cef461965dc143b0b6f77164b1634; from ee795e82e10197c070efd380dc9615c73dffad6c before 66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6; from ee795e82e10197c070efd380dc9615c73dffad6c before 926f9c44a76fe9e722180d0804c607c6cf1ebbb4; 22810d4cb0e8a7d51b24527e73beac60afc1c693; from 6.17.6 before 6.18; 6.18 (not affected: before 6.18; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/697cb8e7095cef461965dc143b0b6f77164b1634>
- <https://git.kernel.org/stable/c/66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6>
- <https://git.kernel.org/stable/c/926f9c44a76fe9e722180d0804c607c6cf1ebbb4>

## Sources

- CVE List: [CVE-2026-139625](https://www.cve.org/CVERecord?id=CVE-2026-139625), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139625](https://nvd.nist.gov/vuln/detail/CVE-2026-139625), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139625 · Whole record: https://cve.day/CVE-2026-139625.json · Rebuilt by cve.day 2026-11-30T14:33:39.617Z
