In the Linux kernel, the following vulnerability has been resolved:
gpio/rockchip: fix refcount leak in rockchipgpiolibregister()
The node returned by ofgetparent() with refcount incremented, ofnodeput() needs be called when finish using it. So add it in the end of ofpinctrlget().
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48965.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48965.json"
[
{
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-rockchip.c",
"function": "rockchip_gpiolib_register"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5cb8f1a784fd6115be58282fe15105572319d8be",
"deprecated": false,
"digest": {
"function_hash": "334303504863716720693977987781320951805",
"length": 1076.0
},
"id": "CVE-2022-48965-18cd283a",
"signature_type": "Function"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-rockchip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@033c79b7ee8a7bf1c1a13ac3addc91184425cbae",
"deprecated": false,
"digest": {
"line_hashes": [
"135267559285356011781654494435941327671",
"226304762411477471967460893535247597411",
"240025275876975480191041097136586589459",
"305507804163176230809661989313180148154"
],
"threshold": 0.9
},
"id": "CVE-2022-48965-1a6da788",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-rockchip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5cb8f1a784fd6115be58282fe15105572319d8be",
"deprecated": false,
"digest": {
"line_hashes": [
"135267559285356011781654494435941327671",
"226304762411477471967460893535247597411",
"240025275876975480191041097136586589459",
"305507804163176230809661989313180148154"
],
"threshold": 0.9
},
"id": "CVE-2022-48965-5e74b846",
"signature_type": "Line"
},
{
"signature_version": "v1",
"target": {
"file": "drivers/gpio/gpio-rockchip.c",
"function": "rockchip_gpiolib_register"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@033c79b7ee8a7bf1c1a13ac3addc91184425cbae",
"deprecated": false,
"digest": {
"function_hash": "279446482335817221840181898636902949907",
"length": 996.0
},
"id": "CVE-2022-48965-d7699678",
"signature_type": "Function"
}
]