CVE-2026-90215 PUBLISHED

mtd: ubi: Release device reference on busy detach

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to 87812858c4c8df979cb70bcd0040b925a543df6f (excl.)
  • affected from 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to e065960366b55ab21e6c643c30dec2a41451900b (excl.)
  • affected from 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to 851c5e9a829d56cb0982965f07ef8966a6722884 (excl.)
  • affected from 7e84c961b2eb062d2f47037dcca52dcd1d3615b5 to 31dd710cd84d5dd63c49f640d3a9f36c9699ca95 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.9 is affected
  • unaffected from 0 to 6.9 (excl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References