CVE-2024-56684Published Dec 28, 2024 · Dec 28Updated Oct 28
mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()
Linux
High8.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.11.116.12.26.13In 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().
From the CVE record · Linux
The Linux kernel's mtk-cmdq mailbox driver uses the size of a pointer instead of the size of struct clk_bulk_data when allocating memory in cmdq_get_clocks(). The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels that include the mtk-cmdq mailbox driver should check whether their versions are affected.