In the Linux kernel, the following vulnerability has been resolved:
remoteproc: imxrproc: Fix refcount leak in imxrprocaddrinit
ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not needed anymore. This function has two paths missing ofnodeput().
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0dc1663e3fc22c72e1ab33be7701a0d51cca84ef",
"id": "CVE-2022-50120-1ce4906e",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"132310309837672687339400081629636927561",
"16896071916531439549892705522452404237",
"168678646332369608736037599732731916888",
"60205266295813565268370260788925755552",
"165646979305170042830310994022770182041",
"13242661475787376564450714715883112391",
"336886721200384186590702107649855893312",
"175551286766802265136538560114469130841",
"28503411025863105466406658074203751159",
"212704804826428486222962866473741475367",
"256246887999068225599429282288685323365"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61afafe8b938bc74841cf4b1a73dd08b9d287c5a",
"id": "CVE-2022-50120-306a5768",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "imx_rproc_addr_init",
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"length": 1725.0,
"function_hash": "4317690998517956855750565842166413777"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16da9f84e26f89e58cac194ff19fefd9de27d975",
"id": "CVE-2022-50120-3900d79e",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"132310309837672687339400081629636927561",
"16896071916531439549892705522452404237",
"168678646332369608736037599732731916888",
"60205266295813565268370260788925755552",
"165646979305170042830310994022770182041",
"13242661475787376564450714715883112391",
"336886721200384186590702107649855893312",
"175551286766802265136538560114469130841",
"28503411025863105466406658074203751159",
"212704804826428486222962866473741475367",
"57149992162396201983631318082683551044"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@16da9f84e26f89e58cac194ff19fefd9de27d975",
"id": "CVE-2022-50120-3c9f4591",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "imx_rproc_addr_init",
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"length": 1725.0,
"function_hash": "4317690998517956855750565842166413777"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61afafe8b938bc74841cf4b1a73dd08b9d287c5a",
"id": "CVE-2022-50120-5a06008d",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"132310309837672687339400081629636927561",
"16896071916531439549892705522452404237",
"168678646332369608736037599732731916888",
"60205266295813565268370260788925755552",
"165646979305170042830310994022770182041",
"13242661475787376564450714715883112391",
"336886721200384186590702107649855893312",
"175551286766802265136538560114469130841",
"28503411025863105466406658074203751159",
"212704804826428486222962866473741475367",
"57149992162396201983631318082683551044"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0dc1663e3fc22c72e1ab33be7701a0d51cca84ef",
"id": "CVE-2022-50120-64117ce7",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "imx_rproc_addr_init",
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"length": 1725.0,
"function_hash": "4317690998517956855750565842166413777"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d8ac68927856c3a6d197a95be73c92ec0bd4b012",
"id": "CVE-2022-50120-862d4387",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "imx_rproc_addr_init",
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"length": 1725.0,
"function_hash": "4317690998517956855750565842166413777"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d8ac68927856c3a6d197a95be73c92ec0bd4b012",
"id": "CVE-2022-50120-af6d5c09",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/imx_rproc.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"132310309837672687339400081629636927561",
"16896071916531439549892705522452404237",
"168678646332369608736037599732731916888",
"60205266295813565268370260788925755552",
"165646979305170042830310994022770182041",
"13242661475787376564450714715883112391",
"336886721200384186590702107649855893312",
"175551286766802265136538560114469130841",
"28503411025863105466406658074203751159",
"212704804826428486222962866473741475367",
"57149992162396201983631318082683551044"
]
},
"signature_type": "Line"
}
]