ubi: Fix rollback for explicit UBI device numbers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4417ab6ecad01cf2d01045ef8104c95a66b0e893, Kernel 552e565ed8846e7db143e4a6bdf3f5677453c686, Kernel 5b0a6b554e12a97f9771a9a9f4ea1f5457373c73 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: ubi: Fix rollback for explicit UBI device numbers ubi_init_attach() rolls back module initialization failures by scanning ubi_devices[0..i-1], where i is the mtd= parameter index. That assumes the parameter index matches the UBI device number. That assumption is not true when mtd= specifies an explicit ubi_num. A successfully attached device can be stored at a higher ubi_devices[] slot, and a later failure can miss it during rollback. Scan the full ubi_devices[] array and detach by the actual array index, matching the way UBI devices are stored.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.11, >=83ff59a066637a6c28844bbf43009459408240f4 <4417ab6ecad01cf2d01045ef8104c95a66b0e893, >=83ff59a066637a6c28844bbf43009459408240f4 <552e565ed8846e7db143e4a6bdf3f5677453c686, >=83ff59a066637a6c28844bbf43009459408240f4 <5b0a6b554e12a97f9771a9a9f4ea1f5457373c73, >=83ff59a066637a6c28844bbf43009459408240f4 <6b92e66ec6dd8019e8efb2a568ef7c967c5a18c5, >=83ff59a066637a6c28844bbf43009459408240f4 <83c978921688af40dcab6db74882d1ff9b0b765c, >=83ff59a066637a6c28844bbf43009459408240f4 <87b3da4acb860605643ebee312178f13b20744cf, >=83ff59a066637a6c28844bbf43009459408240f4 <9754f049d5f1945d4c691d1f52824eb8daf8f9be, >=83ff59a066637a6c28844bbf43009459408240f4 <e3f7e58189bc222971ddc860f1716f37e51ba996 | 4417ab6ecad01cf2d01045ef8104c95a66b0e893, 552e565ed8846e7db143e4a6bdf3f5677453c686, 5b0a6b554e12a97f9771a9a9f4ea1f5457373c73, 6b92e66ec6dd8019e8efb2a568ef7c967c5a18c5, 83c978921688af40dcab6db74882d1ff9b0b765c, 87b3da4acb860605643ebee312178f13b20744cf, 9754f049d5f1945d4c691d1f52824eb8daf8f9be, e3f7e58189bc222971ddc860f1716f37e51ba996 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket