Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50155

mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • bb17230c61a6424b622e92006ec52ba23aa5a967 to < 762475464982b15014f364ec0cf2a843407f5af1affected
  • bb17230c61a6424b622e92006ec52ba23aa5a967 to < 3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bdaffected
  • bb17230c61a6424b622e92006ec52ba23aa5a967 to < 01bc3840d943cf725dea6ca13e11ffda82bad49aaffected
  • bb17230c61a6424b622e92006ec52ba23aa5a967 to < e607879b0da18c451de5e91daf239cc2f2f8ff2daffected

Linux Linux

Default version status: affected

  • 5.13affected
  • 0 to < 5.13unaffected
  • 5.15.61 to ≤ 5.15.*unaffected
  • 5.18.18 to ≤ 5.18.*unaffected
  • 5.19.2 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References