CVE-2026-23431

medium

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.

References

https://git.kernel.org/stable/c/bec21d97c968a4806939eb2946df49ea6c341bde

https://git.kernel.org/stable/c/b8db9552997924b750e727a625a30eaa4603bbb9

https://git.kernel.org/stable/c/8e28a01b69f7ea8df7ceb15470cfe643b2828f4f

Details

Source: Mitre, NVD

Published: 2026-04-03

Updated: 2026-04-07

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00017