{"id":"CVE-2026-139625","summary":"spi: rockchip-sfc: skip DMA cleanup in PIO mode","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: rockchip-sfc: skip DMA cleanup in PIO mode\n\nWith rockchip,sfc-no-dma, probe skips allocating and mapping the transfer\nbuffer. However, controller registration failure and driver removal still\ncall dma_unmap_single() for that nonexistent mapping.\n\nGuard the DMA mapping and buffer cleanup with use_dma. Keep the existing\ncleanup for allocation and mapping failures on the DMA path.\n\nThis issue was identified during our ongoing static-analysis research while\nreviewing kernel code.","modified":"2026-12-01T21:02:34.854985798Z","published":"2026-11-30T13:36:28.813Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139625.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/697cb8e7095cef461965dc143b0b6f77164b1634"},{"type":"WEB","url":"https://git.kernel.org/stable/c/926f9c44a76fe9e722180d0804c607c6cf1ebbb4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139625.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139625"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ee795e82e10197c070efd380dc9615c73dffad6c"},{"fixed":"697cb8e7095cef461965dc143b0b6f77164b1634"},{"fixed":"66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6"},{"fixed":"926f9c44a76fe9e722180d0804c607c6cf1ebbb4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"22810d4cb0e8a7d51b24527e73beac60afc1c693"}]}],"versions":["v6.17.13","v6.17.12","v6.17.11","v6.17.10","v6.17.9","v6.17.8","v6.17.7","v6.17.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139625.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.6"},{"fixed":"6.18"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139625.json"}}],"schema_version":"1.9.2"}