CVE-2024-58051Published Mar 6, 2025 · Mar 6Updated Oct 28
ipmi: ipmb: Add check devm_kasprintf() returned value
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 51bd6f291583684f495ea498984dfc22049d7fd2 · < e529fbcf1f35f5fc3c839df7f06c3e3d02579715| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ipmi: ipmb: Add check devm_kasprintf() returned value
devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked.
From the CVE record · Linux
The Linux kernel IPMI IPMB code does not check whether devm_kasprintf() returns NULL on failure, creating a potential NULL-pointer dereference. The input does not establish how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes this fix; affected versions are not specified.