{"id":"CVE-2026-23431","aliases":["CVE-2026-23431"],"related":[],"kind":"vulnerability","state":"published","title":"spi: amlogic-spisg: Fix memory leak in aml_spisg_probe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: amlogic-spisg: Fix memory leak in aml_spisg_probe()\n\nIn aml_spisg_probe(), ctlr is allocated by\nspi_alloc_target()/spi_alloc_host(), but fails to call\nspi_controller_put() in several error paths. This leads\nto a memory leak whenever the driver fails to probe after\nthe initial allocation.\n\nConvert to use devm_spi_alloc_host()/devm_spi_alloc_target()\nto fix the memory leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: amlogic-spisg: Fix memory leak in aml_spisg_probe()\n\nIn aml_spisg_probe(), ctlr is allocated by\nspi_alloc_target()/spi_alloc_host(), but fails to call\nspi_controller_put() in several error paths. This leads\nto a memory leak whenever the driver fails to probe after\nthe initial allocation.\n\nConvert to use devm_spi_alloc_host()/devm_spi_alloc_target()\nto fix the memory leak.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nspi: amlogic-spisg: Corrección de fuga de memoria en aml_spisg_probe()\n\nEn aml_spisg_probe(), ctlr es asignado por spi_alloc_target()/spi_alloc_host(), pero no logra llamar a spi_controller_put() en varias rutas de error. Esto conduce a una fuga de memoria cada vez que el controlador no logra sondear después de la asignación inicial.\n\nConvertir para usar devm_spi_alloc_host()/devm_spi_alloc_target() para corregir la fuga de memoria.","source":"nvd"}],"published":"2026-04-03T15:15:17.355Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"cef9991e04aed3305c61c392e880f6e01a0c2ea4","fixed":"bec21d97c968a4806939eb2946df49ea6c341bde","status":"affected"},{"type":"git","introduced":"cef9991e04aed3305c61c392e880f6e01a0c2ea4","fixed":"8e28a01b69f7ea8df7ceb15470cfe643b2828f4f","status":"affected"},{"type":"git","introduced":"cef9991e04aed3305c61c392e880f6e01a0c2ea4","fixed":"b8db9552997924b750e727a625a30eaa4603bbb9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.20","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.10","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.17.1","fixed":"6.18.20"},{"status":"affected","introduced":"6.19","fixed":"6.19.10"},{"status":"affected","version":"6.17"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/bec21d97c968a4806939eb2946df49ea6c341bde","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e28a01b69f7ea8df7ceb15470cfe643b2828f4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b8db9552997924b750e727a625a30eaa4603bbb9","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23431","url":"https://www.cve.org/CVERecord?id=CVE-2026-23431","licence":"CVE Terms of Use","modified":"2026-05-11T22:06:46.501Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23431","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23431","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:17.871Z","epss":{"score":0.0014,"percentile":0.03573,"date":"2026-12-01T12:00:22.000Z"}}