ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s IPMI message handler can use an invalid pointer in ipmi_create_user() when the matching interface number is not found. This can cause memory corruption. The input does not specify how an attacker could trigger the condition or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.