kernel_samsung_a53x/drivers/net/ethernet/broadcom
Joe Hattori d3eff01514 net: ethernet: bgmac-platform: fix an OF node reference leak
[ Upstream commit 0cb2c504d79e7caa3abade3f466750c82ad26f01 ]

The OF node obtained by of_parse_phandle() is not freed. Call
of_node_put() to balance the refcount.

This bug was found by an experimental static analysis tool that I am
developing.

Fixes: 1676aba5ef7e ("net: ethernet: bgmac: device tree phy enablement")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241214014912.2810315-1-joe@pf.is.s.u-tokyo.ac.jp
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-15 16:29:41 +01:00
..
bnx2x bnx2x: Fix multiple UBSAN array-index-out-of-bounds 2024-11-19 14:19:42 +01:00
bnxt bnxt_en: Reserve rings after PCIe AER recovery if NIC interface is down 2024-12-17 13:24:16 +01:00
genet net: bcmgenet: synchronize UMAC_CMD access 2024-11-19 12:26:38 +01:00
b44.c net: b44: set pause params only when interface is up 2024-11-19 11:32:39 +01:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bcmsysport.c net: systemport: fix potential memory leak in bcm_sysport_xmit() 2024-11-23 23:21:59 +01:00
bcmsysport.h
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c net: ethernet: bgmac-platform: fix an OF node reference leak 2025-01-15 16:29:41 +01:00
bgmac.c
bgmac.h
bnx2.c
bnx2.h
bnx2_fw.h
cnic.c
cnic.h
cnic_defs.h
cnic_if.h
Kconfig
Makefile
sb1250-mac.c