In the Linux kernel, the following vulnerability has been resolved:
mtd: parsers: ofpart: Fix refcount leak in bcm4908partitionsfw_offset
offindnodebypath() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.
{ "vanir_signatures": [ { "signature_type": "Line", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c" }, "id": "CVE-2022-50155-126276af", "digest": { "threshold": 0.9, "line_hashes": [ "30235300014676466064866241609218677440", "138570704064358559040412966341290067341", "164892179669021525717959587681268426837", "70570648942659701630528411314542082475", "249427734794769296406182766197517636083", "299273795363371875504254446125935008973", "150483075874421853212242370992082442271", "87525674895685643704461793028514992696" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01bc3840d943cf725dea6ca13e11ffda82bad49a", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c" }, "id": "CVE-2022-50155-346cad1b", "digest": { "threshold": 0.9, "line_hashes": [ "30235300014676466064866241609218677440", "138570704064358559040412966341290067341", "164892179669021525717959587681268426837", "70570648942659701630528411314542082475", "249427734794769296406182766197517636083", "299273795363371875504254446125935008973", "150483075874421853212242370992082442271", "87525674895685643704461793028514992696" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@762475464982b15014f364ec0cf2a843407f5af1", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c", "function": "bcm4908_partitions_fw_offset" }, "id": "CVE-2022-50155-3ad56060", "digest": { "length": 537.0, "function_hash": "179454105896319353382176849670903864394" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01bc3840d943cf725dea6ca13e11ffda82bad49a", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c" }, "id": "CVE-2022-50155-55176579", "digest": { "threshold": 0.9, "line_hashes": [ "30235300014676466064866241609218677440", "138570704064358559040412966341290067341", "164892179669021525717959587681268426837", "70570648942659701630528411314542082475", "249427734794769296406182766197517636083", "299273795363371875504254446125935008973", "150483075874421853212242370992082442271", "87525674895685643704461793028514992696" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e607879b0da18c451de5e91daf239cc2f2f8ff2d", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c", "function": "bcm4908_partitions_fw_offset" }, "id": "CVE-2022-50155-a65c6029", "digest": { "length": 537.0, "function_hash": "179454105896319353382176849670903864394" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@762475464982b15014f364ec0cf2a843407f5af1", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c", "function": "bcm4908_partitions_fw_offset" }, "id": "CVE-2022-50155-b060805a", "digest": { "length": 537.0, "function_hash": "179454105896319353382176849670903864394" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e607879b0da18c451de5e91daf239cc2f2f8ff2d", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c", "function": "bcm4908_partitions_fw_offset" }, "id": "CVE-2022-50155-c88d2a1c", "digest": { "length": 537.0, "function_hash": "179454105896319353382176849670903864394" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bd", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "drivers/mtd/parsers/ofpart_bcm4908.c" }, "id": "CVE-2022-50155-d26b4116", "digest": { "threshold": 0.9, "line_hashes": [ "30235300014676466064866241609218677440", "138570704064358559040412966341290067341", "164892179669021525717959587681268426837", "70570648942659701630528411314542082475", "249427734794769296406182766197517636083", "299273795363371875504254446125935008973", "150483075874421853212242370992082442271", "87525674895685643704461793028514992696" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bd", "signature_version": "v1" } ] }