| 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-2024-56728: octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c |
| |
| Add error pointer check after calling otx2_mbox_get_rsp(). |
| |
| The Linux kernel CVE team has assigned CVE-2024-56728 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 5.10.231 with commit 5ff9de1f2712cbca53da2e37d831eea7ffcb43b6 |
| Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 5.15.174 with commit 55c41b97001a09bb490ffa2e667e251d75d15ab1 |
| Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.1.120 with commit 05a6ce174c0c724e5914e1e5efd826bab8f382b4 |
| Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.6.64 with commit c0f64fd73b60aee85f88c270c9d714ead27a7b7a |
| Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.11.11 with commit 6cda142cee032b8fe65ee11f78721721c3988feb |
| Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.12.2 with commit 2db2194727b1f49a5096c1c3981adef1b7638733 |
| Issue introduced in 5.7 with commit 75f36270990c7875c0091afb961ca37f52b6bc55 and fixed in 6.13 with commit e26f8eac6bb20b20fdb8f7dc695711ebce4c7c5c |
| |
| 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-2024-56728 |
| 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_ethtool.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/5ff9de1f2712cbca53da2e37d831eea7ffcb43b6 |
| https://git.kernel.org/stable/c/55c41b97001a09bb490ffa2e667e251d75d15ab1 |
| https://git.kernel.org/stable/c/05a6ce174c0c724e5914e1e5efd826bab8f382b4 |
| https://git.kernel.org/stable/c/c0f64fd73b60aee85f88c270c9d714ead27a7b7a |
| https://git.kernel.org/stable/c/6cda142cee032b8fe65ee11f78721721c3988feb |
| https://git.kernel.org/stable/c/2db2194727b1f49a5096c1c3981adef1b7638733 |
| https://git.kernel.org/stable/c/e26f8eac6bb20b20fdb8f7dc695711ebce4c7c5c |