Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-90215

mtd: ubi: Release device reference on busy detach

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to < 87812858c4c8df979cb70bcd0040b925a543df6faffected
  • 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to < e065960366b55ab21e6c643c30dec2a41451900baffected
  • 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to < 851c5e9a829d56cb0982965f07ef8966a6722884affected
  • 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to < 31dd710cd84d5dd63c49f640d3a9f36c9699ca95affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.12.110 to ≤ 6.12.*unaffected
  • 6.18.52 to ≤ 6.18.*unaffected
  • 7.2.6 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References