CVE-2026-63861 spi: mtk-snfi: unregister ECC engine on probe failure and remove() callback
Missing ECC engine unregistration in the MediaTek SPI NAND driver can cause resource leaks or crashes during device removal or probe failure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-63861?
CVE-2026-63861 is a medium-severity vulnerability in Linux kernel, published on 19 Jul 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: mtk-snfi: unregister ECC engine on probe failure and remove() callback
mtk_snand_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-63861?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-63861?
Apply the vendor's patch.
Is CVE-2026-63861 being exploited?
There is no known exploitation of CVE-2026-63861 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-63861, DEBIAN-CVE-2026-63861, GHSA-g8cm-gmx3-562c, UBUNTU-CVE-2026-63861.