# ipmi: ipmb: Add check devm_kasprintf() returned value

CVE record · `CVE-2024-58051`

- **Identifiers:** `CVE-2024-58051`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 6 Mar 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 6 Mar 2025, 15:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before 1a8a17c5ce9cb5a82797602bff9819ac732d2ff5` (git)
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before caac520350546e736894d14e051b64a9edb3600c` (git)
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before eb288ab33fd87579789cb331209ff09e988ff4f7` (git)
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before 312a6445036d692bc5665307eeafa4508c33c4b5` (git)
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before 4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8` (git)
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before e529fbcf1f35f5fc3c839df7f06c3e3d02579715` (git)
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before a63284d415d4d114abd8be6e66a9558f3ca0702d` (git)
  - affected: `51bd6f291583684f495ea498984dfc22049d7fd2 to before 2378bd0b264ad3a1f76bd957caf33ee0c7945351` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.3`
  - unaffected: `before 5.3` (semver)
  - unaffected: `5.4.291 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.76 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.13 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.2 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 6 Mar 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-58051](https://www.cve.org/CVERecord?id=CVE-2024-58051)
- [NVD: CVE-2024-58051](https://nvd.nist.gov/vuln/detail/CVE-2024-58051)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-58051>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-58051/>. Everything for agents: <https://agentprime.io/llms.txt>.
