CVE-2022-50158
mtd: partitions: Fix refcount leak in parse_redboot_of
- 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
- Fix
- Fixed in 5.4.211, 5.10.137, 5.13, 5.14
- 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: partitions: Fix refcount leak in parse_redboot_of of_get_child_by_name() 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
From 5.4.132 · fixed in 5.4.211; From 5.10.50 · fixed in 5.10.137; From 5.12.17 · fixed in 5.13; From 5.13.2 · fixed in 5.14
- Linux Linux
5.14