[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025030603-CVE-2024-58051-8e8a@gregkh>
Date: Thu, 6 Mar 2025 16:54:04 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-58051: ipmi: ipmb: Add check devm_kasprintf() returned value
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.
The Linux kernel CVE team has assigned CVE-2024-58051 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.3 with commit 51bd6f291583684f495ea498984dfc22049d7fd2 and fixed in 6.1.129 with commit 312a6445036d692bc5665307eeafa4508c33c4b5
Issue introduced in 5.3 with commit 51bd6f291583684f495ea498984dfc22049d7fd2 and fixed in 6.6.76 with commit 4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8
Issue introduced in 5.3 with commit 51bd6f291583684f495ea498984dfc22049d7fd2 and fixed in 6.12.13 with commit e529fbcf1f35f5fc3c839df7f06c3e3d02579715
Issue introduced in 5.3 with commit 51bd6f291583684f495ea498984dfc22049d7fd2 and fixed in 6.13.2 with commit a63284d415d4d114abd8be6e66a9558f3ca0702d
Issue introduced in 5.3 with commit 51bd6f291583684f495ea498984dfc22049d7fd2 and fixed in 6.14-rc1 with commit 2378bd0b264ad3a1f76bd957caf33ee0c7945351
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-58051
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/char/ipmi/ipmb_dev_int.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
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
Powered by blists - more mailing lists