{"id":"CVE-2026-31783","aliases":["CVE-2026-31783"],"related":[],"kind":"vulnerability","state":"published","title":"spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nspi: amlogic: spifc-a4: desregistrar el motor ECC en caso de fallo de sondeo y en la función de devolución de llamada remove()\n\naml_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.","source":"nvd"}],"published":"2026-05-01T14:15:09.279Z","modified":"2026-11-11T23:10:00.263Z","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":[],"affected":[{"ranges":[{"type":"git","introduced":"4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9","fixed":"ee4c064e37d4d0ddc5a7580933dbe79a2c6acafc","status":"affected"},{"type":"git","introduced":"4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9","fixed":"5e11741aec3b242a197250b473c37b58f53a16b6","status":"affected"},{"type":"git","introduced":"4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9","fixed":"b0dc7e7c56573e7a52080f25f3179a45f3dd7e6f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.22","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.12","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.18.1","fixed":"6.18.22"},{"status":"affected","introduced":"6.19","fixed":"6.19.12"},{"status":"affected","version":"6.18"},{"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/ee4c064e37d4d0ddc5a7580933dbe79a2c6acafc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e11741aec3b242a197250b473c37b58f53a16b6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0dc7e7c56573e7a52080f25f3179a45f3dd7e6f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31783","url":"https://www.cve.org/CVERecord?id=CVE-2026-31783","licence":"CVE Terms of Use","modified":"2026-05-11T22:15:43.675Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31783","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31783","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:20.385Z","epss":{"score":0.00125,"percentile":0.0241,"date":"2026-12-01T12:00:22.000Z"}}