mtd: ubi: Release device reference on busy detach
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e065960366b55ab21e6c643c30dec2a41451900b, Kernel 31dd710cd84d5dd63c49f640d3a9f36c9699ca95, Kernel 851c5e9a829d56cb0982965f07ef8966a6722884 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7e84c961b2eb062d2f47037dcca52dcd1d3615b5 <e065960366b55ab21e6c643c30dec2a41451900b, >=7e84c961b2eb062d2f47037dcca52dcd1d3615b5 <31dd710cd84d5dd63c49f640d3a9f36c9699ca95, >=7e84c961b2eb062d2f47037dcca52dcd1d3615b5 <851c5e9a829d56cb0982965f07ef8966a6722884, >=7e84c961b2eb062d2f47037dcca52dcd1d3615b5 <87812858c4c8df979cb70bcd0040b925a543df6f, =6.9 | e065960366b55ab21e6c643c30dec2a41451900b, 31dd710cd84d5dd63c49f640d3a9f36c9699ca95, 851c5e9a829d56cb0982965f07ef8966a6722884, 87812858c4c8df979cb70bcd0040b925a543df6f |
| linux-kernel: Kernel | >=6.19.0 <7.2.6, >=6.9.0 <6.12.110, >=6.13.0 <6.18.52 | 7.2.6, 6.12.110, 6.18.52 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket