In the Linux kernel, the following vulnerability has been resolved:
remoteproc: k3-r5: Fix refcount leak in k3r5clusterofinit
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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fa220c05d282e7479abe08b54e3bdffd06c25e97",
"id": "CVE-2022-50121-11780634",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "k3_r5_cluster_of_init",
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Function",
"digest": {
"length": 679.0,
"function_hash": "145141073876797271092988650508733633435"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75358732af9b26acfe3e609943290bcba13330fc",
"id": "CVE-2022-50121-2e6396ed",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87847361950438116550929663592444945637",
"76619183566394118966878006654052265062",
"59582720341403685583804413872950282104",
"157094326884190891155216798573659686438",
"324250723004590191156624334005798843268",
"55408429416990574104870273785391380304",
"47793126674493984119894612905510479580",
"329490885745719140253067483723181129716"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61cd8cd3b6b33c7eae3b45cf783b114f2ae53528",
"id": "CVE-2022-50121-41b7b382",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87847361950438116550929663592444945637",
"76619183566394118966878006654052265062",
"59582720341403685583804413872950282104",
"157094326884190891155216798573659686438",
"324250723004590191156624334005798843268",
"55408429416990574104870273785391380304",
"47793126674493984119894612905510479580",
"329490885745719140253067483723181129716"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fa220c05d282e7479abe08b54e3bdffd06c25e97",
"id": "CVE-2022-50121-62dbe9aa",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87847361950438116550929663592444945637",
"76619183566394118966878006654052265062",
"59582720341403685583804413872950282104",
"157094326884190891155216798573659686438",
"324250723004590191156624334005798843268",
"55408429416990574104870273785391380304",
"47793126674493984119894612905510479580",
"329490885745719140253067483723181129716"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@61cd8cd3b6b33c7eae3b45cf783b114f2ae53528",
"id": "CVE-2022-50121-68df268f",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "k3_r5_cluster_of_init",
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Function",
"digest": {
"length": 679.0,
"function_hash": "145141073876797271092988650508733633435"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75358732af9b26acfe3e609943290bcba13330fc",
"id": "CVE-2022-50121-6e1dabd7",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "k3_r5_cluster_of_init",
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Function",
"digest": {
"length": 679.0,
"function_hash": "145141073876797271092988650508733633435"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f83c4cf1b78331c23876977aa7b9151aff2f9e1",
"id": "CVE-2022-50121-ba61f398",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87847361950438116550929663592444945637",
"76619183566394118966878006654052265062",
"59582720341403685583804413872950282104",
"157094326884190891155216798573659686438",
"324250723004590191156624334005798843268",
"55408429416990574104870273785391380304",
"47793126674493984119894612905510479580",
"329490885745719140253067483723181129716"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf112a52d758092ca3d5ebdad51dd17bda5ba3e5",
"id": "CVE-2022-50121-bbaa1048",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87847361950438116550929663592444945637",
"76619183566394118966878006654052265062",
"59582720341403685583804413872950282104",
"157094326884190891155216798573659686438",
"324250723004590191156624334005798843268",
"55408429416990574104870273785391380304",
"47793126674493984119894612905510479580",
"329490885745719140253067483723181129716"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf112a52d758092ca3d5ebdad51dd17bda5ba3e5",
"id": "CVE-2022-50121-d2783def",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "k3_r5_cluster_of_init",
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Function",
"digest": {
"length": 679.0,
"function_hash": "145141073876797271092988650508733633435"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f83c4cf1b78331c23876977aa7b9151aff2f9e1",
"id": "CVE-2022-50121-dabd4e46",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "k3_r5_cluster_of_init",
"file": "drivers/remoteproc/ti_k3_r5_remoteproc.c"
},
"signature_type": "Function",
"digest": {
"length": 679.0,
"function_hash": "145141073876797271092988650508733633435"
}
}
]