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.
Published: 2026-07-19
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During kernel initialization the mtk_snand driver registers an on-host NAND ECC engine to accelerate error correction. The original code failed to unregister that engine when the probe returned an error or when the device was removed, leaving the ECC hardware reference allocated. The lingering reference can leave the hardware registers and kernel state in an uninitialized or inconsistent condition, which in turn could lead to system instability or a kernel crash if the same resources are later reused or overwritten. This flaw is strictly about missing cleanup; it does not expose a direct exploitation path, but the consequence is a denial of service through resource leakage.

Affected Systems

The affected component is the Linux kernel for all builds that contain the mtk‑snfi SPI NAND driver. The specific affected kernel versions are not enumerated in the data, so any pre‑patch kernel that includes this driver is potentially impacted. Based on the description, it is inferred that any build containing the driver and lacking the new cleanup action is vulnerable.

Risk and Exploitability

The EPSS score is below 1 %, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Because the flaw involves kernel‑level resource management, it is likely to be noticed by an attacker with local or privileged access who can trigger or observe probe failures or device removal, potentially causing a kernel crash or denial of service. While no public exploit exists, the low EPSS score and lack of a remote exploitation vector suggest moderate overall risk, although the impact of a kernel crash warrants timely patching.

Generated by OpenCVE AI on August 4, 2026 at 18:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the devm cleanup change, which removes the ECC engine automatically on probe failure and device removal.
  • If an immediate kernel update is not feasible, blacklist or disable the mtk‑snfi driver so the affected ECC engine is never registered.
  • Ensure that device probing occurs only within controlled environments to reduce the likelihood of probe failures triggering the resource leak.
  • Follow CWE‑772 guidelines by ensuring all resources are properly released on every code path in future driver development.

Generated by OpenCVE AI on August 4, 2026 at 18:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000


Sun, 19 Jul 2026 14:45:00 +0000

Type Values Removed Values 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.
Title spi: mtk-snfi: unregister ECC engine on probe failure and remove() callback
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:04:48.793Z

Reserved: 2026-07-19T07:54:57.017Z

Link: CVE-2026-63861

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63861 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:30:12Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime