In the Linux kernel, the following vulnerability has been resolved:
power: supply: Fix null pointer dereference in smb2_probe
devmkasprintf and devmkzalloc return a pointer to dynamically allocated memory which can be NULL upon failure.
[
{
"id": "CVE-2023-52465-10bbd33e",
"signature_type": "Function",
"digest": {
"length": 2837.0,
"function_hash": "58195027361721382164292613010371972841"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2717302fbc20f148bcda362facee0444b949a3a",
"target": {
"function": "smb2_probe",
"file": "drivers/power/supply/qcom_pmi8998_charger.c"
}
},
{
"id": "CVE-2023-52465-b189345b",
"signature_type": "Function",
"digest": {
"length": 2837.0,
"function_hash": "58195027361721382164292613010371972841"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88f04bc3e737155e13caddf0ba8ed19db87f0212",
"target": {
"function": "smb2_probe",
"file": "drivers/power/supply/qcom_pmi8998_charger.c"
}
},
{
"id": "CVE-2023-52465-c4053668",
"signature_type": "Line",
"digest": {
"line_hashes": [
"94636986253416049689644020963599009989",
"250383602456466282336988237942404182455",
"264193103194070243023600848795921881917",
"181048913327593326184343465892557795314",
"47760917929829046894276698683733446358",
"139071229381415276532586266922349519741",
"225754980388459404837556644502621978612",
"110489904526241882919832453740421914753"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2717302fbc20f148bcda362facee0444b949a3a",
"target": {
"file": "drivers/power/supply/qcom_pmi8998_charger.c"
}
},
{
"id": "CVE-2023-52465-c9af61a5",
"signature_type": "Line",
"digest": {
"line_hashes": [
"94636986253416049689644020963599009989",
"250383602456466282336988237942404182455",
"264193103194070243023600848795921881917",
"181048913327593326184343465892557795314",
"47760917929829046894276698683733446358",
"139071229381415276532586266922349519741",
"225754980388459404837556644502621978612",
"110489904526241882919832453740421914753"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88f04bc3e737155e13caddf0ba8ed19db87f0212",
"target": {
"file": "drivers/power/supply/qcom_pmi8998_charger.c"
}
},
{
"id": "CVE-2023-52465-eb4c32b9",
"signature_type": "Line",
"digest": {
"line_hashes": [
"94636986253416049689644020963599009989",
"250383602456466282336988237942404182455",
"264193103194070243023600848795921881917",
"181048913327593326184343465892557795314",
"47760917929829046894276698683733446358",
"139071229381415276532586266922349519741",
"225754980388459404837556644502621978612",
"110489904526241882919832453740421914753"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd3d2ec447ede9da822addf3960a5f4275e3ae76",
"target": {
"file": "drivers/power/supply/qcom_pmi8998_charger.c"
}
},
{
"id": "CVE-2023-52465-f21cf965",
"signature_type": "Function",
"digest": {
"length": 2837.0,
"function_hash": "58195027361721382164292613010371972841"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd3d2ec447ede9da822addf3960a5f4275e3ae76",
"target": {
"function": "smb2_probe",
"file": "drivers/power/supply/qcom_pmi8998_charger.c"
}
}
]