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

High 7.8 Published Updated

A double-free vulnerability in the Rockchip SFC SPI driver allows attackers to cause denial of service or potentially execute code via device removal.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-43460?

CVE-2026-43460 is a high-severity use after free vulnerability in Linux kernel, published on 8 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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().

Weakness: CWE-415

Which versions are affected by CVE-2026-43460?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-43460?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-43460 being exploited?

There is no known exploitation of CVE-2026-43460 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-43460, DEBIAN-CVE-2026-43460, GHSA-4xqj-6g2r-4ggr, UBUNTU-CVE-2026-43460.

Is CVE-2026-43460 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free