Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49678

soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe

Description

In the Linux kernel, the following vulnerability has been resolved: soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe of_find_matching_node() 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. In brcmstb_init_sram, it pass dn to of_address_to_resource(), of_address_to_resource() will call of_find_device_by_node() to take reference, so we should release the reference returned by of_find_matching_node().

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

  • 0b741b8234c86065fb6954d32d427b3f7e14756f to < 4f5877bdf7b593e988f1924f4c3df6523f80b39caffected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to < 734a4d15142bb4c8ecad2d8ec70d7564e78ae34daffected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to < 30bbfeb480ae8b5ee43199d72417b232590440c2affected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to < 10ba9d499a9fd82ed40897e734ba19870a879407affected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to < dcafd5463d8f20c4f90ddc138a5738adb99f74c8affected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to < 37d838de369b07b596c19ff3662bf0293fdb09eeaffected

Linux Linux

Default version status: affected

  • 4.15affected
  • 0 to < 4.15unaffected
  • 4.19.250 to ≤ 4.19.*unaffected
  • 5.4.202 to ≤ 5.4.*unaffected
  • 5.10.127 to ≤ 5.10.*unaffected
  • 5.15.51 to ≤ 5.15.*unaffected
  • 5.18.8 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References