| From bippy-1.1.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2023-53069: octeontx2-vf: Add missing free for alloc_percpu |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| octeontx2-vf: Add missing free for alloc_percpu |
| |
| Add the free_percpu for the allocated "vf->hw.lmt_info" in order to avoid |
| memory leak, same as the "pf->hw.lmt_info" in |
| `drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c`. |
| |
| The Linux kernel CVE team has assigned CVE-2023-53069 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 5.15.105 with commit 90874b76e5f82eaa3309714d72ff2cd8bb8d1b02 |
| Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 6.1.22 with commit 840631bcf21f58c0a3f01378a54d79e9ce86b226 |
| Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 6.2.9 with commit 813b590840771890c738ce6dbfd0c5938a1bafb9 |
| Issue introduced in 5.14 with commit 5c0512072f6517326d9fba083c4467f173ddd984 and fixed in 6.3 with commit f038f3917baf04835ba2b7bcf2a04ac93fbf8a9c |
| |
| 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-2023-53069 |
| 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: |
| drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.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/90874b76e5f82eaa3309714d72ff2cd8bb8d1b02 |
| https://git.kernel.org/stable/c/840631bcf21f58c0a3f01378a54d79e9ce86b226 |
| https://git.kernel.org/stable/c/813b590840771890c738ce6dbfd0c5938a1bafb9 |
| https://git.kernel.org/stable/c/f038f3917baf04835ba2b7bcf2a04ac93fbf8a9c |