| 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-56684: mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks() |
| |
| It should be size of the struct clk_bulk_data, not data pointer pass to |
| devm_kcalloc(). |
| |
| The Linux kernel CVE team has assigned CVE-2024-56684 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.11 with commit aa1609f571caba0db102c611829d48adf226bb70 and fixed in 6.11.11 with commit 31986fad0cfdda8d8893230da04f5eb0774854d9 |
| Issue introduced in 6.11 with commit aa1609f571caba0db102c611829d48adf226bb70 and fixed in 6.12.2 with commit a9c7cb960fc6e056ebecebd136a127612b15630d |
| Issue introduced in 6.11 with commit aa1609f571caba0db102c611829d48adf226bb70 and fixed in 6.13 with commit 271ee263cc8771982809185007181ca10346fe73 |
| |
| 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-56684 |
| 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/mailbox/mtk-cmdq-mailbox.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/31986fad0cfdda8d8893230da04f5eb0774854d9 |
| https://git.kernel.org/stable/c/a9c7cb960fc6e056ebecebd136a127612b15630d |
| https://git.kernel.org/stable/c/271ee263cc8771982809185007181ca10346fe73 |