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

Published Nov 30, 2026
·
Updated

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 dmaunmapsingle() for that nonexistent mapping.

Guard the DMA mapping and buffer cleanup with usedma. 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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel rockchip-sfc driver, guard DMA mapping and transfer-buffer cleanup with use_dma so PIO mode with rockchip,sfc-no-dma does not unmap a nonexistent DMA mapping.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description

Frequently Asked Questions

1

Which systems are exposed to the invalid DMA cleanup path?

Systems using the Rockchip SFC driver with the rockchip,sfc-no-dma configuration are exposed. In this mode, the driver skips transfer-buffer allocation and DMA mapping.

2

When can the faulty cleanup be reached?

The invalid dma_unmap_single() call can occur if controller registration fails or when the driver is removed. Those paths perform DMA cleanup even though no DMA mapping exists in PIO mode.

3

How can I determine whether a system may be affected?

Check whether the Rockchip SFC device is configured with rockchip,sfc-no-dma and whether the system exercises driver removal or encounters controller registration failures. The affected condition is specifically the PIO/no-DMA path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203