{"id":"CVE-2022-50160","published":"2025-06-18T11:03:16Z","modified":"2026-05-11T19:13:58Z","title":"mtd: maps: Fix refcount leak in ap_flash_init","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: maps: Fix refcount leak in ap_flash_init\n\nof_find_matching_node() returns a node pointer with refcount\nincremented, we should use of_node_put() on it when not need anymore.\nAdd missing of_node_put() to avoid refcount leak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00202,"percentile":0.10293,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/995fb2874bb5696357846a91e59181c600e6aac8","tags":[]},{"url":"https://git.kernel.org/stable/c/d10855876a6f47add6ff621cef25cc0171dac162","tags":[]},{"url":"https://git.kernel.org/stable/c/80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f","tags":[]},{"url":"https://git.kernel.org/stable/c/941ef6997f9db704fe4fd62fc01e420fdd5048b2","tags":[]},{"url":"https://git.kernel.org/stable/c/d5730780e9ea84e5476752a47c749036c6a74af5","tags":[]},{"url":"https://git.kernel.org/stable/c/a74322d4b897ddc268b340c4a397f6066c2f945d","tags":[]},{"url":"https://git.kernel.org/stable/c/babd7b0124650ab71a6487e38588b8659b3aa2dc","tags":[]},{"url":"https://git.kernel.org/stable/c/77087a04c8fd554134bddcb8a9ff87b21f357926","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.06}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 995fb2874bb5696357846a91e59181c600e6aac8",">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < d10855876a6f47add6ff621cef25cc0171dac162",">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f",">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 941ef6997f9db704fe4fd62fc01e420fdd5048b2",">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < d5730780e9ea84e5476752a47c749036c6a74af5",">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < a74322d4b897ddc268b340c4a397f6066c2f945d",">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < babd7b0124650ab71a6487e38588b8659b3aa2dc",">= b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 77087a04c8fd554134bddcb8a9ff87b21f357926"]},{"vendor":"Linux","product":"Linux","versions":["4.7"]}],"euvd":{"id":"EUVD-2022-55425","exploited":false,"provenance":"source"}}