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.
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c",
"function": "ipmb_probe"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e529fbcf1f35f5fc3c839df7f06c3e3d02579715",
"digest": {
"length": 887.0,
"function_hash": "232354520739726759079434780771712001363"
},
"id": "CVE-2024-58051-17a68b66"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb288ab33fd87579789cb331209ff09e988ff4f7",
"digest": {
"line_hashes": [
"253767543235306607453635486969785848137",
"180694607095784052035746039457837979484",
"63405938027064876438879070934033952667",
"204312485776320296550712837430638302745"
],
"threshold": 0.9
},
"id": "CVE-2024-58051-31da8fcb"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e529fbcf1f35f5fc3c839df7f06c3e3d02579715",
"digest": {
"line_hashes": [
"253767543235306607453635486969785848137",
"180694607095784052035746039457837979484",
"63405938027064876438879070934033952667",
"204312485776320296550712837430638302745"
],
"threshold": 0.9
},
"id": "CVE-2024-58051-448e0faa"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c",
"function": "ipmb_probe"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb288ab33fd87579789cb331209ff09e988ff4f7",
"digest": {
"length": 909.0,
"function_hash": "235266449858513170096647088063404519675"
},
"id": "CVE-2024-58051-aaf58528"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c",
"function": "ipmb_probe"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1a8a17c5ce9cb5a82797602bff9819ac732d2ff5",
"digest": {
"length": 837.0,
"function_hash": "189834709209012986844642569005032560465"
},
"id": "CVE-2024-58051-b028e8ba"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c",
"function": "ipmb_probe"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a63284d415d4d114abd8be6e66a9558f3ca0702d",
"digest": {
"length": 887.0,
"function_hash": "232354520739726759079434780771712001363"
},
"id": "CVE-2024-58051-b692880d"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a63284d415d4d114abd8be6e66a9558f3ca0702d",
"digest": {
"line_hashes": [
"253767543235306607453635486969785848137",
"180694607095784052035746039457837979484",
"63405938027064876438879070934033952667",
"204312485776320296550712837430638302745"
],
"threshold": 0.9
},
"id": "CVE-2024-58051-b8b4b578"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1a8a17c5ce9cb5a82797602bff9819ac732d2ff5",
"digest": {
"line_hashes": [
"253767543235306607453635486969785848137",
"180694607095784052035746039457837979484",
"63405938027064876438879070934033952667",
"204312485776320296550712837430638302745"
],
"threshold": 0.9
},
"id": "CVE-2024-58051-c110f644"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c",
"function": "ipmb_probe"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8",
"digest": {
"length": 887.0,
"function_hash": "232354520739726759079434780771712001363"
},
"id": "CVE-2024-58051-e59f5176"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/char/ipmi/ipmb_dev_int.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c9caf86d04dcb10e9fd8cd9db8eb79b5bfcc4d8",
"digest": {
"line_hashes": [
"253767543235306607453635486969785848137",
"180694607095784052035746039457837979484",
"63405938027064876438879070934033952667",
"204312485776320296550712837430638302745"
],
"threshold": 0.9
},
"id": "CVE-2024-58051-f2416649"
}
]