Bug 2468148 (CVE-2026-43460) - CVE-2026-43460 kernel: spi: rockchip-sfc: Fix double-free in remove() callback
Summary: CVE-2026-43460 kernel: spi: rockchip-sfc: Fix double-free in remove() callback
Keywords:
Status: NEW
Alias: CVE-2026-43460
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-08 15:01 UTC by OSIDB Bzimport
Modified: 2026-05-09 01:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-08 15:01:39 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.