What’s Vulnerable › Vulnerabilities
CVE-2026-31783: spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-01 · updated 2026-06-17
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
- Linux kernel: from 6.18.1 before 6.18.22; from 6.19 before 6.19.12; 6.18, 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 (+1) — fixed in 6.18.22, 6.19.12
How to fix
Upgrade to a fixed version: Linux kernel 6.18.22, 6.19.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/5e11741aec3b242a197250b473c37b58f53a16b6
- https://git.kernel.org/stable/c/b0dc7e7c56573e7a52080f25f3179a45f3dd7e6f
- https://git.kernel.org/stable/c/ee4c064e37d4d0ddc5a7580933dbe79a2c6acafc
Get alerted when CVE-2026-31783 or the next vulnerability affects your stack