CVE-2024-58051
JSON

5.5medium

ipmi: ipmb: Add check devm_kasprintf() returned value

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelfrom 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.2NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ipmi: ipmb: Agregar verificación del valor devuelto por devm_kasprintf() devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto no se verifica.

References

https://git.kernel.org/stable/c/1a8a17c5ce9cb5a82797602bff9819ac732d2ff5patch
https://git.kernel.org/stable/c/caac520350546e736894d14e051b64a9edb3600cpatch
https://git.kernel.org/stable/c/eb288ab33fd87579789cb331209ff09e988ff4f7patch
https://git.kernel.org/stable/c/312a6445036d692bc5665307eeafa4508c33c4b5patch
https://git.kernel.org/stable/c/4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8patch
https://git.kernel.org/stable/c/e529fbcf1f35f5fc3c839df7f06c3e3d02579715patch
https://git.kernel.org/stable/c/a63284d415d4d114abd8be6e66a9558f3ca0702dpatch
https://git.kernel.org/stable/c/2378bd0b264ad3a1f76bd957caf33ee0c7945351patch
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

SourceRecordLicence
CVE ListCVE-2024-58051 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-58051 changed 2026-10-15Public domain