What’s Vulnerable › Vulnerabilities
CVE-2022-50155: mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset of_find_node_by_path() 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.
Affected products
- Linux kernel: from 5.13 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2 — fixed in 5.15.61, 5.18.18, 5.19.2
How to fix
Upgrade to a fixed version: Linux kernel 5.15.61, 5.18.18, 5.19.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/01bc3840d943cf725dea6ca13e11ffda82bad49a
- https://git.kernel.org/stable/c/3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bd
- https://git.kernel.org/stable/c/762475464982b15014f364ec0cf2a843407f5af1
- https://git.kernel.org/stable/c/e607879b0da18c451de5e91daf239cc2f2f8ff2d
Get alerted when CVE-2022-50155 or the next vulnerability affects your stack