CVE-2026-23431
publishedspi: amlogic-spisg: Fix memory leak in aml_spisg_probe()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcef9991e04aed3305c61c392e880f6e01a0c2ea4 to < bec21d97c968a4806939eb2946df49ea6c341bde · cef9991e04aed3305c61c392e880f6e01a0c2ea4 to < 8e28a01b69f7ea8df7ceb15470cfe643b2828f4f · cef9991e04aed3305c61c392e880f6e01a0c2ea4 to < b8db9552997924b750e727a625a30eaa4603bbb9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.20 through 6.18.* (unaffected · semver) · 6.19.10 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cef9991e04aed3305c61c392e880f6e01a0c2ea4 to < bec21d97c968a4806939eb2946df49ea6c341bde (affected · git)cef9991e04aed3305c61c392e880f6e01a0c2ea4 to < 8e28a01b69f7ea8df7ceb15470cfe643b2828f4f (affected · git)cef9991e04aed3305c61c392e880f6e01a0c2ea4 to < b8db9552997924b750e727a625a30eaa4603bbb9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.20 through 6.18.* (unaffected · semver)6.19.10 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
spi: amlogic-spisg: Fix memory leak in aml_spisg_probe()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5e75c5fa7fb34cb0e9478c3a64652148946f75c1ef85bddd0359848e8855d527
- Ingested
- 23 Sep 2026, 09:06:03 UTC
- Source record
- Official CVE record