CVE-2022-50160
mtd: maps: Fix refcount leak in ap_flash_init
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: mtd: maps: Fix refcount leak in ap_flash_init of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.7
References 8
git.kernel.org
- stable/c/995fb2874bb5696357846a91e59181c600e6aac8
- stable/c/d10855876a6f47add6ff621cef25cc0171dac162
- stable/c/80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f
- stable/c/941ef6997f9db704fe4fd62fc01e420fdd5048b2
- stable/c/d5730780e9ea84e5476752a47c749036c6a74af5
- stable/c/a74322d4b897ddc268b340c4a397f6066c2f945d
- stable/c/babd7b0124650ab71a6487e38588b8659b3aa2dc
- stable/c/77087a04c8fd554134bddcb8a9ff87b21f357926