# CVE-2024-58051: ipmi: ipmb: Add check devm_kasprintf() returned value

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-03-06T15:53:56.175Z
- Modified: 2026-10-15T02:17:19.047Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 51bd6f291583684f495ea498984dfc22049d7fd2 before 1a8a17c5ce9cb5a82797602bff9819ac732d2ff5; from 51bd6f291583684f495ea498984dfc22049d7fd2 before caac520350546e736894d14e051b64a9edb3600c; from 51bd6f291583684f495ea498984dfc22049d7fd2 before eb288ab33fd87579789cb331209ff09e988ff4f7; from 51bd6f291583684f495ea498984dfc22049d7fd2 before 312a6445036d692bc5665307eeafa4508c33c4b5; from 51bd6f291583684f495ea498984dfc22049d7fd2 before 4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8; from 51bd6f291583684f495ea498984dfc22049d7fd2 before e529fbcf1f35f5fc3c839df7f06c3e3d02579715; from 51bd6f291583684f495ea498984dfc22049d7fd2 before a63284d415d4d114abd8be6e66a9558f3ca0702d; from 51bd6f291583684f495ea498984dfc22049d7fd2 before 2378bd0b264ad3a1f76bd957caf33ee0c7945351; 5.3 (not affected: before 5.3; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.3 before 5.4.291; from 5.5 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## References

- <https://git.kernel.org/stable/c/1a8a17c5ce9cb5a82797602bff9819ac732d2ff5> (patch)
- <https://git.kernel.org/stable/c/caac520350546e736894d14e051b64a9edb3600c> (patch)
- <https://git.kernel.org/stable/c/eb288ab33fd87579789cb331209ff09e988ff4f7> (patch)
- <https://git.kernel.org/stable/c/312a6445036d692bc5665307eeafa4508c33c4b5> (patch)
- <https://git.kernel.org/stable/c/4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8> (patch)
- <https://git.kernel.org/stable/c/e529fbcf1f35f5fc3c839df7f06c3e3d02579715> (patch)
- <https://git.kernel.org/stable/c/a63284d415d4d114abd8be6e66a9558f3ca0702d> (patch)
- <https://git.kernel.org/stable/c/2378bd0b264ad3a1f76bd957caf33ee0c7945351> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-58051](https://www.cve.org/CVERecord?id=CVE-2024-58051), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-58051](https://nvd.nist.gov/vuln/detail/CVE-2024-58051), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-58051 · Whole record: https://cve.day/CVE-2024-58051.json · Rebuilt by cve.day 2026-11-25T22:58:52.208Z
