| 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-56679: octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c |
| |
| Add error pointer check after calling otx2_mbox_get_rsp(). |
| |
| The Linux kernel CVE team has assigned CVE-2024-56679 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.12 with commit ab58a416c93f134b72ec7e10d8d74509c3985243 and fixed in 5.15.174 with commit 785c6758ea32aca73ba9331f7d902f7ce9a25757 |
| Issue introduced in 5.12 with commit ab58a416c93f134b72ec7e10d8d74509c3985243 and fixed in 6.1.120 with commit 9265b6ee754226f61bd122ec57141a781d4e0dcb |
| Issue introduced in 5.12 with commit ab58a416c93f134b72ec7e10d8d74509c3985243 and fixed in 6.6.64 with commit 52c63a6a27d3178fab533fcfb4baa2ed5b8608a3 |
| Issue introduced in 5.12 with commit ab58a416c93f134b72ec7e10d8d74509c3985243 and fixed in 6.11.11 with commit 4b88b202cf1ae79159a94fff9500f9be31559235 |
| Issue introduced in 5.12 with commit ab58a416c93f134b72ec7e10d8d74509c3985243 and fixed in 6.12.2 with commit d4d5139d280f5837f16d116614c05c2b4eeaf28f |
| Issue introduced in 5.12 with commit ab58a416c93f134b72ec7e10d8d74509c3985243 and fixed in 6.13 with commit 0fbc7a5027c6f7f2c785adae3dcec22b2f2b69b3 |
| |
| 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-56679 |
| 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_common.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/785c6758ea32aca73ba9331f7d902f7ce9a25757 |
| https://git.kernel.org/stable/c/9265b6ee754226f61bd122ec57141a781d4e0dcb |
| https://git.kernel.org/stable/c/52c63a6a27d3178fab533fcfb4baa2ed5b8608a3 |
| https://git.kernel.org/stable/c/4b88b202cf1ae79159a94fff9500f9be31559235 |
| https://git.kernel.org/stable/c/d4d5139d280f5837f16d116614c05c2b4eeaf28f |
| https://git.kernel.org/stable/c/0fbc7a5027c6f7f2c785adae3dcec22b2f2b69b3 |