PT-2026-39121 · Linux · Linux Kernel
Published
2026-05-08
·
Updated
2026-05-20
·
CVE-2026-43460
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A double-free issue exists in the
rockchip-sfc SPI driver. The driver utilizes devm spi register controller() for registration, which automatically handles controller unregistration during device removal. However, a manual call to the spi unregister controller() function within the remove() callback triggers a double-free condition. To ensure the controller is unregistered before the DMA buffer is unmapped, the registration method must be changed to spi register controller() in the probe() function.Recommendations
Switch from
devm spi register controller() to spi register controller() in the probe() function and ensure the remove() callback is handled correctly to prevent the double-free in the rockchip-sfc driver.Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel