CVE-2026-43460

spi: rockchip-sfc: Fix double-free in remove() callback

published May 8, 2026

CVSS
—
EPSS
0%
Percentile
6.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

spi: rockchip-sfc: Fix double-free in remove() callback

The driver uses devm_spi_register_controller() for registration, which

automatically unregisters the controller via devm cleanup when the

device is removed. The manual call to spi_unregister_controller() in

the remove() callback can lead to a double-free.

And to make sure controller is unregistered before DMA buffer is

unmapped, switch to use spi_register_controller() in probe().

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00173 · 6.4th percentile
Published
2026-05-08T14:22Z
EPSS history
Timeline
  • 08 MAY 14:22Z
    spi: rockchip-sfc: Fix double-free in remove() callback
    cvelistv5