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

Summary

CVECVE-2026-63861
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-19 15:16:52 UTC
Updated2026-07-19 15:16:52 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 764f1b7481645b2b4488eda26c4da7f331697e6b 6aea4a99410615912d80a4ba0827c4e8d4a8312d git Not specified
CNA Linux Linux affected 764f1b7481645b2b4488eda26c4da7f331697e6b 3e79a563377a319d016ed0d3cd8c43171670c0f3 git Not specified
CNA Linux Linux affected 764f1b7481645b2b4488eda26c4da7f331697e6b 86357e1d0157d8408b78f8768a69ab263d010316 git Not specified
CNA Linux Linux affected 764f1b7481645b2b4488eda26c4da7f331697e6b e0b049bd7b279d7b6ad22a637cddced93198a51b git Not specified
CNA Linux Linux affected 764f1b7481645b2b4488eda26c4da7f331697e6b 98cf4b58299e0c6a537c68cd32155d9e7569e7cb git Not specified
CNA Linux Linux affected 764f1b7481645b2b4488eda26c4da7f331697e6b ab00febad191d7a4400aa1c3468279fb508258d4 git Not specified
CNA Linux Linux affected 5.19 Not specified
CNA Linux Linux unaffected 5.19 semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.141 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.91 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.33 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.10 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/3e79a563377a319d016ed0d3cd8c43171670c0f3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/86357e1d0157d8408b78f8768a69ab263d010316 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6aea4a99410615912d80a4ba0827c4e8d4a8312d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e0b049bd7b279d7b6ad22a637cddced93198a51b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/98cf4b58299e0c6a537c68cd32155d9e7569e7cb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ab00febad191d7a4400aa1c3468279fb508258d4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report