What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.18.22, 6.19.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31783 or the next vulnerability affects your stack