| 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-49324: mips: cpc: Fix refcount leak in mips_cpc_default_phys_base |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| mips: cpc: Fix refcount leak in mips_cpc_default_phys_base |
| |
| Add the missing of_node_put() to release the refcount incremented |
| by of_find_compatible_node(). |
| |
| The Linux kernel CVE team has assigned CVE-2022-49324 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 4.14.283 with commit bed702566dcdb6ebe300bc0c62bf3600cf4d5874 |
| Fixed in 4.19.247 with commit 961ee8a6eeef4632a215d995d837b204f8c7c2d4 |
| Fixed in 5.4.198 with commit cc0aed22d33ced9e266c50bdf1cbe668c5acfdf8 |
| Fixed in 5.10.122 with commit c667b3872a4c435a3f29d4e15971cd8c378b0043 |
| Fixed in 5.15.47 with commit 1699ec1bfb59304a788901474f6bb003f7831b61 |
| Fixed in 5.17.15 with commit 8f843cdfc202caaa5d67db3395d893e56362e43a |
| Fixed in 5.18.4 with commit aae6b4bb63c694bc91714412718f15468407fe51 |
| Fixed in 5.19 with commit 4107fa700f314592850e2c64608f6ede4c077476 |
| |
| 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-49324 |
| 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/mips/kernel/mips-cpc.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/bed702566dcdb6ebe300bc0c62bf3600cf4d5874 |
| https://git.kernel.org/stable/c/961ee8a6eeef4632a215d995d837b204f8c7c2d4 |
| https://git.kernel.org/stable/c/cc0aed22d33ced9e266c50bdf1cbe668c5acfdf8 |
| https://git.kernel.org/stable/c/c667b3872a4c435a3f29d4e15971cd8c378b0043 |
| https://git.kernel.org/stable/c/1699ec1bfb59304a788901474f6bb003f7831b61 |
| https://git.kernel.org/stable/c/8f843cdfc202caaa5d67db3395d893e56362e43a |
| https://git.kernel.org/stable/c/aae6b4bb63c694bc91714412718f15468407fe51 |
| https://git.kernel.org/stable/c/4107fa700f314592850e2c64608f6ede4c077476 |