CVE-2026-31783 spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback
Missing ECC engine unregistration in the Amlogic SPI driver could lead to resource leaks or undefined behavior during device removal or probe failure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-31783?
CVE-2026-31783 is a medium-severity vulnerability in Linux kernel, published on 1 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-31783?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-31783?
Apply the vendor's patch.
Is CVE-2026-31783 being exploited?
There is no known exploitation of CVE-2026-31783 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-31783, DEBIAN-CVE-2026-31783, GHSA-6vm9-5cxg-cpv6, UBUNTU-CVE-2026-31783.