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.
[ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5730780e9ea84e5476752a47c749036c6a74af5", "target": { "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-0cce607b" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@babd7b0124650ab71a6487e38588b8659b3aa2dc", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-2ed26cd1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77087a04c8fd554134bddcb8a9ff87b21f357926", "target": { "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-4c285327" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a74322d4b897ddc268b340c4a397f6066c2f945d", "target": { "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-532ff0d1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d10855876a6f47add6ff621cef25cc0171dac162", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap_of_versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-70bc738c" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941ef6997f9db704fe4fd62fc01e420fdd5048b2", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-77a304a8" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77087a04c8fd554134bddcb8a9ff87b21f357926", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-8a1d2ebf" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f", "target": { "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-8bb679a1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@941ef6997f9db704fe4fd62fc01e420fdd5048b2", "target": { "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-a49d2a46" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a74322d4b897ddc268b340c4a397f6066c2f945d", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-a9f29da3" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d5730780e9ea84e5476752a47c749036c6a74af5", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-c3e55a6e" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d10855876a6f47add6ff621cef25cc0171dac162", "target": { "file": "drivers/mtd/maps/physmap_of_versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-d1f003c7" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@995fb2874bb5696357846a91e59181c600e6aac8", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap_of_versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-d81cbbb0" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f", "target": { "function": "ap_flash_init", "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Function", "deprecated": false, "signature_version": "v1", "digest": { "function_hash": "269396930845509610806288873734074283253", "length": 728.0 }, "id": "CVE-2022-50160-f0253086" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@babd7b0124650ab71a6487e38588b8659b3aa2dc", "target": { "file": "drivers/mtd/maps/physmap-versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-f2059ef5" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@995fb2874bb5696357846a91e59181c600e6aac8", "target": { "file": "drivers/mtd/maps/physmap_of_versatile.c" }, "signature_type": "Line", "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "73389913537446907870277254701622033676", "338693018491866705708696527984235462268", "67525369526423429497392848671306585350", "36688756505439324418786919150086011253" ], "threshold": 0.9 }, "id": "CVE-2022-50160-f5fc00fc" } ]