# CVE-2026-63861: spi: mtk-snfi: unregister ECC engine on probe failure and remove() callback

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:04:48.793Z
- Modified: 2026-10-26T17:07:25.440Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 764f1b7481645b2b4488eda26c4da7f331697e6b before 6aea4a99410615912d80a4ba0827c4e8d4a8312d; from 764f1b7481645b2b4488eda26c4da7f331697e6b before 3e79a563377a319d016ed0d3cd8c43171670c0f3; from 764f1b7481645b2b4488eda26c4da7f331697e6b before 86357e1d0157d8408b78f8768a69ab263d010316; from 764f1b7481645b2b4488eda26c4da7f331697e6b before e0b049bd7b279d7b6ad22a637cddced93198a51b; from 764f1b7481645b2b4488eda26c4da7f331697e6b before 98cf4b58299e0c6a537c68cd32155d9e7569e7cb; from 764f1b7481645b2b4488eda26c4da7f331697e6b before ab00febad191d7a4400aa1c3468279fb508258d4; 5.19 (not affected: before 5.19; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.19 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/6aea4a99410615912d80a4ba0827c4e8d4a8312d> (patch)
- <https://git.kernel.org/stable/c/3e79a563377a319d016ed0d3cd8c43171670c0f3> (patch)
- <https://git.kernel.org/stable/c/86357e1d0157d8408b78f8768a69ab263d010316> (patch)
- <https://git.kernel.org/stable/c/e0b049bd7b279d7b6ad22a637cddced93198a51b> (patch)
- <https://git.kernel.org/stable/c/98cf4b58299e0c6a537c68cd32155d9e7569e7cb> (patch)
- <https://git.kernel.org/stable/c/ab00febad191d7a4400aa1c3468279fb508258d4> (patch)

## Sources

- CVE List: [CVE-2026-63861](https://www.cve.org/CVERecord?id=CVE-2026-63861), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-63861](https://nvd.nist.gov/vuln/detail/CVE-2026-63861), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-63861 · Whole record: https://cve.day/CVE-2026-63861.json · Rebuilt by cve.day 2026-11-25T22:59:28.775Z
