CVE-2026-31783
JSON

5.5medium

spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback aml_sfc_probe() registers the on-host NAND ECC engine, but teardown was missing from both probe unwind and remove-time cleanup. Add a devm cleanup action after successful registration so nand_ecc_unregister_on_host_hw_engine() runs automatically on probe failures and during device removal.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 before ee4c064e37d4d0ddc5a7580933dbe79a2c6acafc, from 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 before 5e11741aec3b242a197250b473c37b58f53a16b6, from 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 before b0dc7e7c56573e7a52080f25f3179a45f3dd7e6f, 6.18
Not affected: before 6.18, from 6.18.22 up to 6.18.*, from 6.19.12 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.18.1 before 6.18.22, from 6.19 before 6.19.12, 6.18, 7.0NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback aml_sfc_probe() registers the on-host NAND ECC engine, but teardown was missing from both probe unwind and remove-time cleanup. Add a devm cleanup action after successful registration so nand_ecc_unregister_on_host_hw_engine() runs automatically on probe failures and during device removal.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: spi: amlogic: spifc-a4: desregistrar el motor ECC en caso de fallo de sondeo y en la función de devolución de llamada remove() aml_sfc_probe() registra el motor ECC NAND en el host, pero faltaba la limpieza tanto de la reversión del sondeo como de la limpieza en tiempo de eliminación. Añadir una acción de limpieza devm después del registro exitoso para que nand_ecc_unregister_on_host_hw_engine() se ejecute automáticamente en caso de fallos de sondeo y durante la eliminación del dispositivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31783 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-31783 changed 2026-11-11Public domain