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.
[
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-0ce8c5c2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc73c72a856c26df7410ddf15f42257cb4960fe9",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-6953e65d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca83c61a6ccf3934cf8d01d5ade30a5034993a86",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-6971ee95",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@591f0697ccbac33760d3bb1ad96a5ba2b76ae9f0",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-7b072067",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97713ed9b6cc4abaa2dcc8357113c56520dc6d7f",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-9b8eea91",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bc73c72a856c26df7410ddf15f42257cb4960fe9",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_type": "Function",
"target": {
"function": "qmp_cooling_devices_register",
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-bb4f8420",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6e0951414a314e7db3e9e24fd924b3e15515288",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-c90952c4",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@053543ac1d095132fcfd1263805d6e25afbdc6a8",
"digest": {
"line_hashes": [
"247586114262635307091652281667589058875",
"66433901281190819270833863506756692464",
"274125267539559008963479566839261084527",
"13977764902409025669581237559023401588",
"338496775603587080040218885876799337260"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-c991d18c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca83c61a6ccf3934cf8d01d5ade30a5034993a86",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_type": "Function",
"target": {
"function": "qmp_cooling_devices_register",
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-e4706734",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6e0951414a314e7db3e9e24fd924b3e15515288",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_type": "Function",
"target": {
"function": "qmp_cooling_devices_register",
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-e66fbc2f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@591f0697ccbac33760d3bb1ad96a5ba2b76ae9f0",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_type": "Function",
"target": {
"function": "qmp_cooling_devices_register",
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-f1586a18",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@97713ed9b6cc4abaa2dcc8357113c56520dc6d7f",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_type": "Function",
"target": {
"function": "qmp_cooling_devices_register",
"file": "drivers/soc/qcom/qcom_aoss.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50194-f18e7806",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@053543ac1d095132fcfd1263805d6e25afbdc6a8",
"digest": {
"function_hash": "143009130525417551967205961294056832298",
"length": 737.0
},
"signature_type": "Function",
"target": {
"function": "qmp_cooling_devices_register",
"file": "drivers/soc/qcom/qcom_aoss.c"
}
}
]