| 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-2023-52807: net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs |
| |
| The hns3 driver define an array of string to show the coalesce |
| info, but if the kernel adds a new mode or a new state, |
| out-of-bounds access may occur when coalesce info is read via |
| debugfs, this patch fix the problem. |
| |
| The Linux kernel CVE team has assigned CVE-2023-52807 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.16 with commit c99fead7cb07979f5db38035ccb5f02ad2c7106a and fixed in 6.1.64 with commit 07f5b8c47152cadbd9102e053dcb60685820aa09 |
| Issue introduced in 5.16 with commit c99fead7cb07979f5db38035ccb5f02ad2c7106a and fixed in 6.5.13 with commit be1f703f39efa27b7371b9a4cd983317f1366792 |
| Issue introduced in 5.16 with commit c99fead7cb07979f5db38035ccb5f02ad2c7106a and fixed in 6.6.3 with commit f79d985c69060047426be68b7e4c1663d5d731b4 |
| Issue introduced in 5.16 with commit c99fead7cb07979f5db38035ccb5f02ad2c7106a and fixed in 6.7 with commit 53aba458f23846112c0d44239580ff59bc5c36c3 |
| |
| 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-52807 |
| 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/hisilicon/hns3/hns3_debugfs.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/07f5b8c47152cadbd9102e053dcb60685820aa09 |
| https://git.kernel.org/stable/c/be1f703f39efa27b7371b9a4cd983317f1366792 |
| https://git.kernel.org/stable/c/f79d985c69060047426be68b7e4c1663d5d731b4 |
| https://git.kernel.org/stable/c/53aba458f23846112c0d44239580ff59bc5c36c3 |