Description
In the Linux kernel, the following vulnerability has been resolved:

mtd: ubi: Release device reference on busy detach

ubi_detach_mtd_dev() obtains a device reference through ubi_get_device()
before checking whether the UBI device is busy. The busy return path drops
ubi->ref_count but leaves the device reference held, so the device object
cannot be released after a later detach.

Drop the device reference before returning -EBUSY.
Published: 2026-09-17
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Linux kernel UBI subsystem contains a reference‑counting bug in ubi_detach_mtd_dev(). The function obtains a device reference before verifying that the UBI device is idle. If the device is busy, it returns EBUSY after decrementing the UBI ref count but fails to release the held device reference, leaving the device object unreleasable on subsequent detach attempts. This results in a resource leak that can prevent the device from being properly removed and may exhaust kernel storage for device objects.

Affected Systems

All Linux kernels that include the buggy ubi_detach_mtd_dev implementation are affected. The bug resides in the ubi driver, so any system with UBI support compiled into or loaded as a module (common in embedded Linux devices using flash storage) is potentially impacted. No specific kernel versions are listed; the flaw applies to every build that contains the unpatched ubi code.

Risk and Exploitability

The EPSS score of < 1% indicates a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, and no CVSS score is provided. The CVE description does not describe a remote attack surface or required privilege level; therefore, exploitation would likely be possible only through legitimate calls to ubi_detach_mtd_dev, typically performed by system utilities or kernel components with local access. The resulting denial of service originates from a resource leak that can prevent a busy UBI device from being fully detached or reused.

Generated by OpenCVE AI on September 20, 2026 at 02:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the ubi detach patch.
  • Ensure applications and system scripts avoid calling ubi_detach_mtd_dev while a device is busy; verify device idle status before detach.
  • After applying the patch, reload the ubi module or reboot the system to clear any lingering references.

Generated by OpenCVE AI on September 20, 2026 at 02:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sun, 20 Sep 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-754

Thu, 17 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mtd: ubi: Release device reference on busy detach ubi_detach_mtd_dev() obtains a device reference through ubi_get_device() before checking whether the UBI device is busy. The busy return path drops ubi->ref_count but leaves the device reference held, so the device object cannot be released after a later detach. Drop the device reference before returning -EBUSY.
Title mtd: ubi: Release device reference on busy detach
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-09-17T16:07:28.071Z

Reserved: 2026-09-11T19:38:34.793Z

Link: CVE-2026-90215

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-17T17:17:16.790

Modified: 2026-09-17T17:17:16.790

Link: CVE-2026-90215

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T02:45:18Z

Weaknesses
  • CWE-754

    Improper Check for Unusual or Exceptional Conditions