In the Linux kernel, the following vulnerability has been resolved:
soc: ti: tiscipmdomains: Check for null return of devmkcalloc
The allocation funciton devmkcalloc may fail and return a null pointer, which would cause a null-pointer dereference later. It might be better to check it and directly return -ENOMEM just like the usage of devmkcalloc in previous code.
[
{
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"245299793382368057213478815629862882151",
"279344991222126817088249242685571741425",
"91286697431155363818504953711378137797",
"76430613344447959178662744421223602727"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba56291e297d28aa6eb82c5c1964fae2d7594746",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49453-426c5f96"
},
{
"target": {
"function": "ti_sci_pm_domain_probe",
"file": "drivers/soc/ti/ti_sci_pm_domains.c"
},
"signature_version": "v1",
"digest": {
"length": 1541.0,
"function_hash": "222535123368098688250993819681303736357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba56291e297d28aa6eb82c5c1964fae2d7594746",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49453-7dccc4e7"
}
]