What’s Vulnerable › Vulnerabilities
CVE-2026-31489: spi: meson-spicc: Fix double-put in remove path
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-06-19
- Weakness: CWE-415
Description
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.
Affected products
- Linux kernel: from 4.14.244 before 4.15; from 4.19.203 before 4.20; from 5.4.140 before 5.5; from 5.10.58 before 5.11; from 5.13.10 before 5.14; from 5.14.1 before 6.12.80 — fixed in 4.15, 4.20, 5.11, 5.14, 5.5, 6.12.80
How to fix
Upgrade to a fixed version: Linux kernel 4.15, 4.20, 5.11, 5.14. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/01f5f7976c24d6e9beef6b5a410af3b9b1d4d476
- https://git.kernel.org/stable/c/0d645c6d13fa0597935d3d16b09a7ba5d24ed284
- https://git.kernel.org/stable/c/40ad0334c17b23d8b66b1082ad1478a6202e90e2
- https://git.kernel.org/stable/c/63542bb402b7013171c9f621c28b609eda4dbf1f
- https://git.kernel.org/stable/c/7434c64ddae88a02e7fb478bc256cc100d48d3e3
- https://git.kernel.org/stable/c/9b812ceb75a6260c17c91db4b9e74ead8cfa06f5
- https://git.kernel.org/stable/c/d61bcec3aec6f0244a9b963e0c76c00f771d49b6
- https://git.kernel.org/stable/c/da06a104f0486355073ff0d1bcb1fcbebb7080d6
Get alerted when CVE-2026-31489 or the next vulnerability affects your stack