In the Linux kernel, the following vulnerability has been resolved:
soc: rockchip: Fix refcount leak in rockchipgrfinit
offindmatchingnodeandmatch returns a node pointer with refcount incremented, we should use ofnodeput() on it when done. Add missing ofnode_put() to avoid refcount leak.
[
{
"signature_type": "Function",
"digest": {
"function_hash": "235376206154073986608818806012592209949",
"length": 835.0
},
"id": "CVE-2022-49382-7428d5bc",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5422f323858cad3ac3581075f9a3a5e0d41c0d8",
"deprecated": false,
"target": {
"file": "drivers/soc/rockchip/grf.c",
"function": "rockchip_grf_init"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "235376206154073986608818806012592209949",
"length": 835.0
},
"id": "CVE-2022-49382-7e5e79d0",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b3e990f85eb034faa461e691e719e8ce9e2a3c8",
"deprecated": false,
"target": {
"file": "drivers/soc/rockchip/grf.c",
"function": "rockchip_grf_init"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"22792652789110318937661847076403141923",
"330672843785419529617211819743727868432",
"185802712917934572545607454763516353050",
"70335619441323757065096748466867116083",
"209812229074526261583766254157491597178",
"231203332836793123506446670760212220791",
"215315545427030951073098258009571812171",
"283192589589382333604215905337254846094"
],
"threshold": 0.9
},
"id": "CVE-2022-49382-895e11c9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b3e990f85eb034faa461e691e719e8ce9e2a3c8",
"deprecated": false,
"target": {
"file": "drivers/soc/rockchip/grf.c"
}
},
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"22792652789110318937661847076403141923",
"330672843785419529617211819743727868432",
"185802712917934572545607454763516353050",
"70335619441323757065096748466867116083",
"209812229074526261583766254157491597178",
"231203332836793123506446670760212220791",
"215315545427030951073098258009571812171",
"283192589589382333604215905337254846094"
],
"threshold": 0.9
},
"id": "CVE-2022-49382-c82d8fc1",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5422f323858cad3ac3581075f9a3a5e0d41c0d8",
"deprecated": false,
"target": {
"file": "drivers/soc/rockchip/grf.c"
}
}
]