CVE-2026-23431 Details
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.
A memory leak vulnerability has been identified in the Amlogic SPISG driver of the Linux kernel. The issue arises in the 'aml_spisg_probe()' function, where the SPI controller is allocated but not properly released in certain error scenarios. This oversight causes a memory leak whenever the driver fails to initialize after the allocation. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the driver to use 'devm_spi_alloc_host()' and 'devm_spi_alloc_target()' for memory allocation. This change ensures that the allocated resources are properly managed and released, preventing the memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/8e28a01b69f7ea8df7ceb15470cfe643b2828f4f | kernel.org | Patch |
| https://git.kernel.org/stable/c/b8db9552997924b750e727a625a30eaa4603bbb9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bec21d97c968a4806939eb2946df49ea6c341bde | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.17.1, < 6.18.20 >= 6.19, < 6.19.10 6.17 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 7.0 rc7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 23, 2026 | Initial Analysis | [email protected] |
| Apr 3, 2026 | New CVE Received | kernel.org |