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

CVE-2026-63861
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 764f1b7481645b2b4488eda26c4da7f331697e6b < 6aea4a99410615912d80a4ba0827c4e8d4a8312d ; affected 764f1b7481645b2b4488eda26c4da7f331697e6b < 3e79a563377a319d016ed0d3cd8c43171670c0f3 ; affected 764f1b7481645b2b4488eda26c4da7f331697e6b < 86357e1d0157d8408b78f8768a69ab263d010316 ; affected 764f1b7481645b2b4488eda26c4da7f331697e6b < e0b049bd7b279d7b6ad22a637cddced93198a51b ; affected 764f1b7481645b2b4488eda26c4da7f331697e6b < 98cf4b58299e0c6a537c68cd32155d9e7569e7cb ; affected 764f1b7481645b2b4488eda26c4da7f331697e6b < ab00febad191d7a4400aa1c3468279fb508258d4
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.141 ≤ 6.6.* ; unaffected 6.12.91 ≤ 6.12.* ; unaffected 6.18.33 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD