{"id":"CVE-2026-31783","summary":"spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback\n\naml_sfc_probe() registers the on-host NAND ECC engine, but teardown was\nmissing from both probe unwind and remove-time cleanup. Add a devm cleanup\naction after successful registration so\nnand_ecc_unregister_on_host_hw_engine() runs automatically on probe\nfailures and during device removal.","modified":"2026-07-08T08:00:04.946344106Z","published":"2026-05-01T14:15:09.279Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31783.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5e11741aec3b242a197250b473c37b58f53a16b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0dc7e7c56573e7a52080f25f3179a45f3dd7e6f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee4c064e37d4d0ddc5a7580933dbe79a2c6acafc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31783.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31783"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9"},{"fixed":"ee4c064e37d4d0ddc5a7580933dbe79a2c6acafc"},{"fixed":"5e11741aec3b242a197250b473c37b58f53a16b6"},{"fixed":"b0dc7e7c56573e7a52080f25f3179a45f3dd7e6f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31783.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.22"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31783.json"}}],"schema_version":"1.7.5"}