{"id":"CVE-2022-50158","published":"2025-06-18T11:03:15Z","modified":"2026-05-23T15:23:44Z","title":"mtd: partitions: Fix refcount leak in parse_redboot_of","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: partitions: Fix refcount leak in parse_redboot_of\n\nof_get_child_by_name() 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.0028,"percentile":0.13049,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f3cc27198c5d78cdda60a55ae749f815cd1fe5eb","tags":[]},{"url":"https://git.kernel.org/stable/c/55d0f7da66dec93c4d53d0886a1555618079a900","tags":[]},{"url":"https://git.kernel.org/stable/c/8ea607579d300b2f7fc997f3dd20949114565fcd","tags":[]},{"url":"https://git.kernel.org/stable/c/7ec48ac18d8f9e002ce9bfbad32741086739e499","tags":[]},{"url":"https://git.kernel.org/stable/c/e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e","tags":[]},{"url":"https://git.kernel.org/stable/c/9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.61}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6490ed7c4684caf9851a0b98e0ab17a8d693dada, < f3cc27198c5d78cdda60a55ae749f815cd1fe5eb",">= 2f8824f556a3ebea9840c53326e55cc183316611, < 55d0f7da66dec93c4d53d0886a1555618079a900",">= 237960880960863fb41888763d635b384cffb104, < 8ea607579d300b2f7fc997f3dd20949114565fcd",">= 237960880960863fb41888763d635b384cffb104, < 7ec48ac18d8f9e002ce9bfbad32741086739e499",">= 237960880960863fb41888763d635b384cffb104, < e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e",">= 237960880960863fb41888763d635b384cffb104, < 9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016","fa132c7ea108eacc67357ffe3172d3e68fcd71a2","d5023eb76f0dc651558b0c7ba04565891ff18435",">= 5.4.132, < 5.4.211",">= 5.10.50, < 5.10.137"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"euvd":{"id":"EUVD-2022-55423","exploited":false,"provenance":"source"}}