In the Linux kernel, the following vulnerability has been resolved:
mtd: maps: Fix refcount leak in apflashinit
offindmatchingnode() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnode_put() to avoid refcount leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50160.json"
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50160-4c285327",
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77087a04c8fd554134bddcb8a9ff87b21f357926"
},
{
"digest": {
"length": 728.0,
"function_hash": "269396930845509610806288873734074283253"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50160-77a304a8",
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941ef6997f9db704fe4fd62fc01e420fdd5048b2"
},
{
"digest": {
"length": 728.0,
"function_hash": "269396930845509610806288873734074283253"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50160-8a1d2ebf",
"target": {
"function": "ap_flash_init",
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77087a04c8fd554134bddcb8a9ff87b21f357926"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"73389913537446907870277254701622033676",
"338693018491866705708696527984235462268",
"67525369526423429497392848671306585350",
"36688756505439324418786919150086011253"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50160-a49d2a46",
"target": {
"file": "drivers/mtd/maps/physmap-versatile.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941ef6997f9db704fe4fd62fc01e420fdd5048b2"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50160.json"