CVE-2026-63861
spi: mtk-snfi: unregister ECC engine on probe failure and remove() callback
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.
INFO
Published Date :
July 19, 2026, 3:16 p.m.
Last Modified :
July 19, 2026, 3:16 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-63861
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Apply the kernel patch for mtk-snfi ECC engine.
- Ensure ECC engine is unregistered on probe failure.
- Ensure ECC engine is unregistered during device removal.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-63861.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-63861 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-63861
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-63861 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-63861 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 19, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '764f1b7481645b2b4488eda26c4da7f331697e6b', 'lessThan': '6aea4a99410615912d80a4ba0827c4e8d4a8312d', 'versionType': 'git'}, {'status': 'affected', 'version': '764f1b7481645b2b4488eda26c4da7f331697e6b', 'lessThan': '3e79a563377a319d016ed0d3cd8c43171670c0f3', 'versionType': 'git'}, {'status': 'affected', 'version': '764f1b7481645b2b4488eda26c4da7f331697e6b', 'lessThan': '86357e1d0157d8408b78f8768a69ab263d010316', 'versionType': 'git'}, {'status': 'affected', 'version': '764f1b7481645b2b4488eda26c4da7f331697e6b', 'lessThan': 'e0b049bd7b279d7b6ad22a637cddced93198a51b', 'versionType': 'git'}, {'status': 'affected', 'version': '764f1b7481645b2b4488eda26c4da7f331697e6b', 'lessThan': '98cf4b58299e0c6a537c68cd32155d9e7569e7cb', 'versionType': 'git'}, {'status': 'affected', 'version': '764f1b7481645b2b4488eda26c4da7f331697e6b', 'lessThan': 'ab00febad191d7a4400aa1c3468279fb508258d4', 'versionType': 'git'}], 'programFiles': ['drivers/spi/spi-mtk-snfi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/spi/spi-mtk-snfi.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/3e79a563377a319d016ed0d3cd8c43171670c0f3 Added Reference https://git.kernel.org/stable/c/6aea4a99410615912d80a4ba0827c4e8d4a8312d Added Reference https://git.kernel.org/stable/c/86357e1d0157d8408b78f8768a69ab263d010316 Added Reference https://git.kernel.org/stable/c/98cf4b58299e0c6a537c68cd32155d9e7569e7cb Added Reference https://git.kernel.org/stable/c/ab00febad191d7a4400aa1c3468279fb508258d4 Added Reference https://git.kernel.org/stable/c/e0b049bd7b279d7b6ad22a637cddced93198a51b