CVE-2026-23431

spi: amlogic-spisg: Fix memory leak in aml_spisg_probe()

published April 3, 2026

CVSS
—
EPSS
0%
Percentile
1.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00121 · 1.8th percentile
Published
2026-04-03T15:15Z
EPSS history
Timeline
  • 03 APR 15:15Z
    spi: amlogic-spisg: Fix memory leak in aml_spisg_probe()
    cvelistv5