mtd: slram: remove failed entries from the device list
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f40acf577bb0fb0829f285ecfeb27d817840601c, Kernel 200b8bc5b6065b02f3775cf131f14b8e1156a00a, Kernel 2fd0cbbb34447ccddab67a2a638a07c6d94cae7a and 12 more.
In the Linux kernel, the following vulnerability has been resolved: mtd: slram: remove failed entries from the device list register_device() links a new slram_mtdlist entry before allocating all of the state needed by the entry. If a later allocation, memremap(), or mtd_device_register() fails, the partially initialized entry remains on the global list. A later cleanup can then dereference or free invalid state from that failed entry. Unwind the partially initialized entry and clear the list tail on each failure path after the entry has been linked.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f40acf577bb0fb0829f285ecfeb27d817840601c, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <200b8bc5b6065b02f3775cf131f14b8e1156a00a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2fd0cbbb34447ccddab67a2a638a07c6d94cae7a, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <36f1648644d769c496a8e47e53603e863e358d73, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9ee674ab10f755bbedbcbb8e76745d2bb8de88d1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bdcdfc2464659789032edfad15ff5f7a166f5d7b, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d8dcbbfa0d695a5244059aa34a2e81f3e8df1082, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e97415b8254d9cc131b7bb1c80fcf38123269b9a, =2.6.12 | f40acf577bb0fb0829f285ecfeb27d817840601c, 200b8bc5b6065b02f3775cf131f14b8e1156a00a, 2fd0cbbb34447ccddab67a2a638a07c6d94cae7a, 36f1648644d769c496a8e47e53603e863e358d73, 9ee674ab10f755bbedbcbb8e76745d2bb8de88d1, bdcdfc2464659789032edfad15ff5f7a166f5d7b, d8dcbbfa0d695a5244059aa34a2e81f3e8df1082, e97415b8254d9cc131b7bb1c80fcf38123269b9a |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=2.6.12 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket