CVE-2022-50155

mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bb17230c61a6424b622e92006ec52ba23aa5a967 to before 762475464982b15014f364ec0cf2a843407f5af1Affected
  • bb17230c61a6424b622e92006ec52ba23aa5a967 to before 3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bdAffected
  • bb17230c61a6424b622e92006ec52ba23aa5a967 to before 01bc3840d943cf725dea6ca13e11ffda82bad49aAffected
  • bb17230c61a6424b622e92006ec52ba23aa5a967 to before e607879b0da18c451de5e91daf239cc2f2f8ff2dAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.