CVE-2024-58051

ipmi: ipmb: Add check devm_kasprintf() returned value

MEDIUM
5.5
CVSS Score
Published: March 6, 2025 at 03:53 PM UTC
Updated: October 15, 2026 at 02:17 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1795.16 ≤ v < 6.1.1295.3 ≤ v < 5.4.2915.5 ≤ v < 5.10.2356.13 ≤ v < 6.13.26.2 ≤ v < 6.6.766.7 ≤ v < 6.12.135.351bd6f291583684f495ea498984dfc22049d7fd2
Vendor states this is fixed in 1a8a17c5ce9cb5a82797602bff9819ac732d2ff5 (fixed)
Vendor states this is fixed in 2378bd0b264ad3a1f76bd957caf33ee0c7945351 (fixed)
Vendor states this is fixed in 312a6445036d692bc5665307eeafa4508c33c4b5 (fixed)
Vendor states this is fixed in 4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8 (fixed)
Vendor states this is fixed in a63284d415d4d114abd8be6e66a9558f3ca0702d (fixed)
Vendor states this is fixed in caac520350546e736894d14e051b64a9edb3600c (fixed)
Vendor states this is fixed in e529fbcf1f35f5fc3c839df7f06c3e3d02579715 (fixed)
Vendor states this is fixed in eb288ab33fd87579789cb331209ff09e988ff4f7 (fixed)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.3 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1a8a17c5ce9cb5a82797602bff9819ac732d2ff5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2378bd0b264ad3a1f76bd957caf33ee0c7945351
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/312a6445036d692bc5665307eeafa4508c33c4b5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a63284d415d4d114abd8be6e66a9558f3ca0702d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/caac520350546e736894d14e051b64a9edb3600c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e529fbcf1f35f5fc3c839df7f06c3e3d02579715
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb288ab33fd87579789cb331209ff09e988ff4f7

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card