Linux
ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()
In the Linux kernel, the following vulnerability has been resolved: ipmi:msghandler: Fix potential memory corruption in ipmi_create_user() The "intf" list iterator is an invalid pointer if the correct "intf->intf_num" is not found. Calling atomic_dec(&intf->nr_users) on and invalid pointer will lead to memory corruption. We don't really need to call atomic_dec() if we haven't called atomic_add_return() so update the if (intf->in_shutdown) path as well.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82, < cbc1670297f675854e982d23c8583900ff0cc67a
- >= 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82, < e2d5c005dfc96fe857676d1d8ac46b29275cb89b
- >= 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82, < 9e0d33e75c1604c3fad5586ad4dfa3b2695a3950
- >= 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82, < 7c1a6ddb99858e7d68961f74ae27caeeeca67b6a
- >= 8e76741c3d8b20dfa2d6c30fa10ff927cfd93d82, < fa332f5dc6fc662ad7d3200048772c96b861cf6b
Fixed in cbc1670297f675854e982d23c8583900ff0cc67a, e2d5c005dfc96fe857676d1d8ac46b29275cb89b, 9e0d33e75c1604c3fad5586ad4dfa3b2695a3950, 7c1a6ddb99858e7d68961f74ae27caeeeca67b6a, fa332f5dc6fc662ad7d3200048772c96b861cf6b
- 5.19
Fixed in 0, 6.1.146, 6.6.99, 6.12.39, 6.15.7, 6.16
Mitigation
Upgrade Linux to cbc1670297f675854e982d23c8583900ff0cc67a or e2d5c005dfc96fe857676d1d8ac46b29275cb89b or 9e0d33e75c1604c3fad5586ad4dfa3b2695a3950 or 7c1a6ddb99858e7d68961f74ae27caeeeca67b6a or fa332f5dc6fc662ad7d3200048772c96b861cf6b or later.
Upgrade Linux to 0 or 6.1.146 or 6.6.99 or 6.12.39 or 6.15.7 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.