mtd: core: call _get_device() with the master MTD
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f971f1c63cf71579258360a12bd185bc1cd1a043, Kernel 12b31d1acd20b3185bb5f0748db0cf6874c8e9d1, Kernel 522e821e41654eb06d2f21ac78a0f22fb6b198c2 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: mtd: core: call _get_device() with the master MTD __get_mtd_device() calls the master's _get_device() callback with mtd, which may be a partition. __put_mtd_device() passes the master. This breaks gluebi partitions because gluebi_get_device() uses container_of() and therefore requires the master MTD. Pass the master to _get_device(), matching _put_device().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=46b5889cc2c54bac7d7e727a44d28a298df23cef <f971f1c63cf71579258360a12bd185bc1cd1a043, >=46b5889cc2c54bac7d7e727a44d28a298df23cef <12b31d1acd20b3185bb5f0748db0cf6874c8e9d1, >=46b5889cc2c54bac7d7e727a44d28a298df23cef <522e821e41654eb06d2f21ac78a0f22fb6b198c2, >=46b5889cc2c54bac7d7e727a44d28a298df23cef <95c8f36293c22d450c371167ad4f9a5bbadc7539, >=46b5889cc2c54bac7d7e727a44d28a298df23cef <d94731cafa57e2c986ff391122d1494e5a3f3c3f, >=46b5889cc2c54bac7d7e727a44d28a298df23cef <dc482a281a19a7d7e91ad1b2d551bb301c54d0e6, >=46b5889cc2c54bac7d7e727a44d28a298df23cef <e7e37358408b0690c367cf38aec81a9b7e2475b5, =5.7 | f971f1c63cf71579258360a12bd185bc1cd1a043, 12b31d1acd20b3185bb5f0748db0cf6874c8e9d1, 522e821e41654eb06d2f21ac78a0f22fb6b198c2, 95c8f36293c22d450c371167ad4f9a5bbadc7539, d94731cafa57e2c986ff391122d1494e5a3f3c3f, dc482a281a19a7d7e91ad1b2d551bb301c54d0e6, e7e37358408b0690c367cf38aec81a9b7e2475b5 |
| linux-kernel: Kernel | >=5.7.0 <5.15.224, >=6.13.0 <6.18.56, >=6.19.0 <7.2.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=5.16.0 <6.1.191 | 5.15.224, 6.18.56, 7.2.10, 6.6.160, 6.12.113, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket