Loading
mips: cpc: Fix refcount leak in mips_cpc_default_phys_base
stable inclusion from stable-v4.19.247 commit 961ee8a6eeef4632a215d995d837b204f8c7c2d4 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBP2G2 CVE: CVE-2022-49324 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=961ee8a6eeef4632a215d995d837b204f8c7c2d4 ---------------------- [ Upstream commit 4107fa70 ] Add the missing of_node_put() to release the refcount incremented by of_find_compatible_node(). Signed-off-by:Gong Yuanjun <ruc_gongyuanjun@163.com> Reviewed-by:
Serge Semin <fancer.lancer@gmail.com> Signed-off-by:
Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Liu Chuang <liuchuang40@huawei.com>