CVE-2022-49678

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*

History

11 Mar 2025, 22:12

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/10ba9d499a9fd82ed40897e734ba19870a879407 - () https://git.kernel.org/stable/c/10ba9d499a9fd82ed40897e734ba19870a879407 - Patch
References () https://git.kernel.org/stable/c/30bbfeb480ae8b5ee43199d72417b232590440c2 - () https://git.kernel.org/stable/c/30bbfeb480ae8b5ee43199d72417b232590440c2 - Patch
References () https://git.kernel.org/stable/c/37d838de369b07b596c19ff3662bf0293fdb09ee - () https://git.kernel.org/stable/c/37d838de369b07b596c19ff3662bf0293fdb09ee - Patch
References () https://git.kernel.org/stable/c/4f5877bdf7b593e988f1924f4c3df6523f80b39c - () https://git.kernel.org/stable/c/4f5877bdf7b593e988f1924f4c3df6523f80b39c - Patch
References () https://git.kernel.org/stable/c/734a4d15142bb4c8ecad2d8ec70d7564e78ae34d - () https://git.kernel.org/stable/c/734a4d15142bb4c8ecad2d8ec70d7564e78ae34d - Patch
References () https://git.kernel.org/stable/c/dcafd5463d8f20c4f90ddc138a5738adb99f74c8 - () https://git.kernel.org/stable/c/dcafd5463d8f20c4f90ddc138a5738adb99f74c8 - Patch
CPE cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: soc: bcm: brcmstb: pm: pm-arm: Se corrige la pérdida de refcount en brcmstb_pm_probe of_find_matching_node() devuelve un puntero de nodo con refcount incrementado, deberíamos usar of_node_put() en él cuando ya no lo necesitemos. Agrega of_node_put() faltante para evitar la pérdida de refcount. En brcmstb_init_sram, pasa dn a of_address_to_resource(), of_address_to_resource() llamará a of_find_device_by_node() para tomar la referencia, por lo que deberíamos liberar la referencia devuelta por of_find_matching_node().
CWE NVD-CWE-Other

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-03-11 22:12


NVD link : CVE-2022-49678

Mitre link : CVE-2022-49678

CVE.ORG link : CVE-2022-49678


JSON object : View

Products Affected

linux

  • linux_kernel