spi: meson-spicc: Fix double-put in remove path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8311ee2164c5cd1b63a601ea366f540eae89f10e · < da06a104f0486355073ff0d1bcb1fcbebb7080d6| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
spi: meson-spicc: Fix double-put in remove path
meson_spicc_probe() registers the controller with devm_spi_register_controller(), so teardown already drops the controller reference via devm cleanup.
Calling spi_controller_put() again in meson_spicc_remove() causes a double-put.
From the CVE record · Linux
The Linux kernel’s meson-spicc driver drops a SPI controller reference twice during removal because managed cleanup already releases it. The input does not establish what an attacker can do or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the meson-spicc driver should check their versions; affected versions are not specified.