CVE-2022-49678

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

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to before 4f5877bdf7b593e988f1924f4c3df6523f80b39cAffected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to before 734a4d15142bb4c8ecad2d8ec70d7564e78ae34dAffected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to before 30bbfeb480ae8b5ee43199d72417b232590440c2Affected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to before 10ba9d499a9fd82ed40897e734ba19870a879407Affected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to before dcafd5463d8f20c4f90ddc138a5738adb99f74c8Affected
  • 0b741b8234c86065fb6954d32d427b3f7e14756f to before 37d838de369b07b596c19ff3662bf0293fdb09eeAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 4.19.250 through 4.19.*Not affected
  • 5.4.202 through 5.4.*Not affected
  • 5.10.127 through 5.10.*Not affected
  • 5.15.51 through 5.15.*Not affected
  • 5.18.8 through 5.18.*Not affected
  • 5.19 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.