{"id":"CVE-2026-139625","state":"PUBLISHED","title":"spi: rockchip-sfc: skip DMA cleanup in PIO mode","description":"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.","publishedAt":"2026-11-30T13:36:28.813Z","updatedAt":"2026-11-30T13:36:28.813Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ee795e82e10197c070efd380dc9615c73dffad6c","status":"affected","lessThan":"697cb8e7095cef461965dc143b0b6f77164b1634","versionType":"git"},{"version":"ee795e82e10197c070efd380dc9615c73dffad6c","status":"affected","lessThan":"66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6","versionType":"git"},{"version":"ee795e82e10197c070efd380dc9615c73dffad6c","status":"affected","lessThan":"926f9c44a76fe9e722180d0804c607c6cf1ebbb4","versionType":"git"},{"version":"22810d4cb0e8a7d51b24527e73beac60afc1c693","status":"affected","versionType":"git"},{"version":"6.17.6","status":"affected","lessThan":"6.18","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip-sfc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip-sfc.c"]}],"references":["https://git.kernel.org/stable/c/697cb8e7095cef461965dc143b0b6f77164b1634","https://git.kernel.org/stable/c/66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6","https://git.kernel.org/stable/c/926f9c44a76fe9e722180d0804c607c6cf1ebbb4"],"weaknesses":[],"ingestedAt":"2026-11-30T13:52:04.503Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139625.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139625","state":"PUBLISHED","datePublished":"2026-11-30T13:36:28.813Z","dateUpdated":"2026-11-30T13:36:28.813Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.944Z"},"containers":{"cna":{"title":"spi: rockchip-sfc: skip DMA cleanup in PIO mode","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ee795e82e10197c070efd380dc9615c73dffad6c","status":"affected","lessThan":"697cb8e7095cef461965dc143b0b6f77164b1634","versionType":"git"},{"version":"ee795e82e10197c070efd380dc9615c73dffad6c","status":"affected","lessThan":"66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6","versionType":"git"},{"version":"ee795e82e10197c070efd380dc9615c73dffad6c","status":"affected","lessThan":"926f9c44a76fe9e722180d0804c607c6cf1ebbb4","versionType":"git"},{"version":"22810d4cb0e8a7d51b24527e73beac60afc1c693","status":"affected","versionType":"git"},{"version":"6.17.6","status":"affected","lessThan":"6.18","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip-sfc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip-sfc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/697cb8e7095cef461965dc143b0b6f77164b1634"},{"url":"https://git.kernel.org/stable/c/66d30f7c9062e5e5bbd2c6999c371fed0cac5cf6"},{"url":"https://git.kernel.org/stable/c/926f9c44a76fe9e722180d0804c607c6cf1ebbb4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:36:28.813Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}