In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: aoss: Fix refcount leak in qmpcoolingdevices_register
Every iteration of foreachavailablechildofnode() decrements the reference count of the previous node. When breaking early from a foreachavailablechildofnode() loop, we need to explicitly call ofnodeput() on the child node. Add missing ofnodeput() to avoid refcount leak.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50194.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2022-50194-0ce8c5c2",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc73c72a856c26df7410ddf15f42257cb4960fe9",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2022-50194-6953e65d",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca83c61a6ccf3934cf8d01d5ade30a5034993a86",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_version": "v1",
"id": "CVE-2022-50194-7b072067",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97713ed9b6cc4abaa2dcc8357113c56520dc6d7f",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_version": "v1",
"id": "CVE-2022-50194-9b8eea91",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc73c72a856c26df7410ddf15f42257cb4960fe9",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c",
"function": "qmp_cooling_devices_register"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"id": "CVE-2022-50194-bb4f8420",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6e0951414a314e7db3e9e24fd924b3e15515288",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_version": "v1",
"id": "CVE-2022-50194-c991d18c",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca83c61a6ccf3934cf8d01d5ade30a5034993a86",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c",
"function": "qmp_cooling_devices_register"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c",
"function": "qmp_cooling_devices_register"
},
"id": "CVE-2022-50194-e4706734",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6e0951414a314e7db3e9e24fd924b3e15515288",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_version": "v1",
"id": "CVE-2022-50194-f1586a18",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97713ed9b6cc4abaa2dcc8357113c56520dc6d7f",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c",
"function": "qmp_cooling_devices_register"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50194.json"