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.
[
{
"digest": {
"length": 1541.0,
"function_hash": "222535123368098688250993819681303736357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4e188869406b47ac3350920bf165be303cb1c96",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c",
"function": "ti_sci_pm_domain_probe"
},
"id": "CVE-2022-49453-1159157f"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"245299793382368057213478815629862882151",
"279344991222126817088249242685571741425",
"91286697431155363818504953711378137797",
"76430613344447959178662744421223602727"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cef9274fa1b8506949d74bc45aef072b890824a",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c"
},
"id": "CVE-2022-49453-2b41bc27"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"245299793382368057213478815629862882151",
"279344991222126817088249242685571741425",
"91286697431155363818504953711378137797",
"76430613344447959178662744421223602727"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba56291e297d28aa6eb82c5c1964fae2d7594746",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c"
},
"id": "CVE-2022-49453-426c5f96"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"245299793382368057213478815629862882151",
"279344991222126817088249242685571741425",
"91286697431155363818504953711378137797",
"76430613344447959178662744421223602727"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01ba41a359622ab256ce4d4f8b94c67165ae3daf",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c"
},
"id": "CVE-2022-49453-4889dde5"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"245299793382368057213478815629862882151",
"279344991222126817088249242685571741425",
"91286697431155363818504953711378137797",
"76430613344447959178662744421223602727"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4e188869406b47ac3350920bf165be303cb1c96",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c"
},
"id": "CVE-2022-49453-75f236e1"
},
{
"digest": {
"length": 1541.0,
"function_hash": "222535123368098688250993819681303736357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba56291e297d28aa6eb82c5c1964fae2d7594746",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c",
"function": "ti_sci_pm_domain_probe"
},
"id": "CVE-2022-49453-7dccc4e7"
},
{
"digest": {
"length": 1541.0,
"function_hash": "222535123368098688250993819681303736357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05efc4591f80582b6fe53366b70b6a35a42fd255",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c",
"function": "ti_sci_pm_domain_probe"
},
"id": "CVE-2022-49453-c2807b31"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"245299793382368057213478815629862882151",
"279344991222126817088249242685571741425",
"91286697431155363818504953711378137797",
"76430613344447959178662744421223602727"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05efc4591f80582b6fe53366b70b6a35a42fd255",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c"
},
"id": "CVE-2022-49453-df795307"
},
{
"digest": {
"length": 1541.0,
"function_hash": "222535123368098688250993819681303736357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cef9274fa1b8506949d74bc45aef072b890824a",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c",
"function": "ti_sci_pm_domain_probe"
},
"id": "CVE-2022-49453-e2110171"
},
{
"digest": {
"length": 1541.0,
"function_hash": "222535123368098688250993819681303736357"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01ba41a359622ab256ce4d4f8b94c67165ae3daf",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"target": {
"file": "drivers/soc/ti/ti_sci_pm_domains.c",
"function": "ti_sci_pm_domain_probe"
},
"id": "CVE-2022-49453-f5e7dedf"
}
]