# CVE-2024-56684: mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-12-28T09:46:11.932Z
- Modified: 2026-08-05T11:46:03.800Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from aa1609f571caba0db102c611829d48adf226bb70 before 31986fad0cfdda8d8893230da04f5eb0774854d9; from aa1609f571caba0db102c611829d48adf226bb70 before a9c7cb960fc6e056ebecebd136a127612b15630d; from aa1609f571caba0db102c611829d48adf226bb70 before 271ee263cc8771982809185007181ca10346fe73; 6.11 (not affected: before 6.11; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.11 before 6.11.11; from 6.12 before 6.12.2

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/31986fad0cfdda8d8893230da04f5eb0774854d9> (patch)
- <https://git.kernel.org/stable/c/a9c7cb960fc6e056ebecebd136a127612b15630d> (patch)
- <https://git.kernel.org/stable/c/271ee263cc8771982809185007181ca10346fe73> (patch)

## Sources

- CVE List: [CVE-2024-56684](https://www.cve.org/CVERecord?id=CVE-2024-56684), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-56684](https://nvd.nist.gov/vuln/detail/CVE-2024-56684), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-56684 · Whole record: https://cve.day/CVE-2024-56684.json · Rebuilt by cve.day 2026-11-25T22:58:50.531Z
