Commit 42a1b21
Mamatha Inamdar
powerpc/xics: fix refcount leak in icp_opal_init()
JIRA: https://issues.redhat.com/browse/RHEL-80861
CVE: CVE-2022-49432
commit 5dd9e27
Author: Lv Ruyi <lv.ruyi@zte.com.cn>
Date: Sat Apr 2 01:34:19 2022 +0000
powerpc/xics: fix refcount leak in icp_opal_init()
The of_find_compatible_node() function returns a node pointer with
refcount incremented, use of_node_put() on it when done.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220402013419.2410298-1-lv.ruyi@zte.com.cn
Signed-off-by: Mamatha Inamdar <minamdar@redhat.com>1 parent 5150d3a commit 42a1b21
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
0 commit comments