CVEvulnerability
CVE-2022-49678
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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 configurations
• linux linux kernel (>= 4.15 < 4.19.250)
• linux linux kernel (>= 4.20 < 5.4.202)
• linux linux kernel (>= 5.5 < 5.10.127)
• linux linux kernel (>= 5.11 < 5.15.51)
• linux linux kernel (>= 5.16 < 5.18.8)
• linux linux kernel 5.19
References
- https://git.kernel.org/stable/c/10ba9d499a9fd82ed40897e734ba19870a879407 Patch
- https://git.kernel.org/stable/c/30bbfeb480ae8b5ee43199d72417b232590440c2 Patch
- https://git.kernel.org/stable/c/37d838de369b07b596c19ff3662bf0293fdb09ee Patch
- https://git.kernel.org/stable/c/4f5877bdf7b593e988f1924f4c3df6523f80b39c Patch
- https://git.kernel.org/stable/c/734a4d15142bb4c8ecad2d8ec70d7564e78ae34d Patch
- https://git.kernel.org/stable/c/dcafd5463d8f20c4f90ddc138a5738adb99f74c8 Patch