| 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-49117: mips: ralink: fix a refcount leak in ill_acc_of_setup() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| mips: ralink: fix a refcount leak in ill_acc_of_setup() |
| |
| of_node_put(np) needs to be called when pdev == NULL. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49117 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 5.4.189 with commit 060a485df4ec1183d543317511cb4caa43468b5d |
| Fixed in 5.10.111 with commit 142ae7d4f21524acfe073e5a3da5667aa85eb970 |
| Fixed in 5.15.34 with commit 5fb47ca3490813d3884d8ad0b2ce511aa3537551 |
| Fixed in 5.16.20 with commit 8d7f7ef7980f287ace1c15f2ac03d6754e12f071 |
| Fixed in 5.17.3 with commit c74c755daed551b9aceb8388159180861474bdfe |
| Fixed in 5.18 with commit 4a0a1436053b17e50b7c88858fb0824326641793 |
| |
| 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-49117 |
| 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/ralink/ill_acc.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/060a485df4ec1183d543317511cb4caa43468b5d |
| https://git.kernel.org/stable/c/142ae7d4f21524acfe073e5a3da5667aa85eb970 |
| https://git.kernel.org/stable/c/5fb47ca3490813d3884d8ad0b2ce511aa3537551 |
| https://git.kernel.org/stable/c/8d7f7ef7980f287ace1c15f2ac03d6754e12f071 |
| https://git.kernel.org/stable/c/c74c755daed551b9aceb8388159180861474bdfe |
| https://git.kernel.org/stable/c/4a0a1436053b17e50b7c88858fb0824326641793 |