CVE-2022-50161
mtd: maps: Fix refcount leak in of_flash_probe_versatile
- 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 of_flash_probe_versatile of_find_matching_node_and_match() 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/3c8de6a838b7e0eb392754ac89dd66e698684342
- stable/c/79e57889aa0d92a6d769bad808fb105e7b6ea495
- stable/c/9124d51e01232a91da4034768a2a8d1688472179
- stable/c/52ae2b14f76ef2d490337ddc0037bc37125be7b8
- stable/c/4d67c8f74d804b20febf716ec96e9a475457ec60
- stable/c/5d5ddd8771fa9cabeb247fba5f6ab60d63f3fbce
- stable/c/f516fbb63873ee23cba5b7c3d239677c30f13df8
- stable/c/33ec82a6d2b119938f26e5c8040ed5d92378eb54