| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-49432: powerpc/xics: fix refcount leak in icp_opal_init() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| 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. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49432 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 4.9.318 with commit 977dbc81d0f866ef63b93c127b7404f07734b3cc |
| Fixed in 4.14.283 with commit 53f3f7f73e609b934083f896cb7ca2c2cb009b9f |
| Fixed in 4.19.247 with commit 1d5c8cea85fb1680eae8d645b96b92146cb4633c |
| Fixed in 5.4.198 with commit 537a317e5ff45d1f5a0ecaf6a0d7c8043c878cb1 |
| Fixed in 5.10.121 with commit 6a61a97106279c2aa16fbbb2a171fd5dde127d23 |
| Fixed in 5.15.46 with commit df802880a7f9cd96b921b00639b00871f18a9a57 |
| Fixed in 5.17.14 with commit 2357bd7499a81c70b460e2191852bbfc7b63c354 |
| Fixed in 5.18.3 with commit 9a42bc2494fadb453de00ce61042e588563ddc6d |
| Fixed in 5.19 with commit 5dd9e27ea4a39f7edd4bf81e9e70208e7ac0b7c9 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2022-49432 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| arch/powerpc/sysdev/xics/icp-opal.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/977dbc81d0f866ef63b93c127b7404f07734b3cc |
| https://git.kernel.org/stable/c/53f3f7f73e609b934083f896cb7ca2c2cb009b9f |
| https://git.kernel.org/stable/c/1d5c8cea85fb1680eae8d645b96b92146cb4633c |
| https://git.kernel.org/stable/c/537a317e5ff45d1f5a0ecaf6a0d7c8043c878cb1 |
| https://git.kernel.org/stable/c/6a61a97106279c2aa16fbbb2a171fd5dde127d23 |
| https://git.kernel.org/stable/c/df802880a7f9cd96b921b00639b00871f18a9a57 |
| https://git.kernel.org/stable/c/2357bd7499a81c70b460e2191852bbfc7b63c354 |
| https://git.kernel.org/stable/c/9a42bc2494fadb453de00ce61042e588563ddc6d |
| https://git.kernel.org/stable/c/5dd9e27ea4a39f7edd4bf81e9e70208e7ac0b7c9 |