Linux Kernel SPI Controller Uninitialized Memory Vulnerability

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's SPI (Serial Peripheral Interface) subsystem. This issue arises in the 'devm_spi_register_controller' function. When 'devm_add_action_or_reset()' fails, 'devm_spi_unregister()' is called, which decreases the reference count of the SPI controller's device. This can lead to a use-after-free condition in drivers that call 'spi_put_controller()' during error handling.

Impact

Exploitation of this vulnerability can lead to a use-after-free condition, potentially allowing for arbitrary code execution or memory corruption.

Added: Jun 18, 2025, 2:18 PM
Updated: Jun 18, 2025, 2:18 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.2
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.