CVE-2024-56684
8.4high
mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()
- Severity
- 8.4high CVSS:3.1 by Linux
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.11 before 6.11.11, from 6.12 before 6.12.2 | NVD |
All scores
| Linux | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
What each source says
CVE List
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().
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: buzón: mtk-cmdq: corrige el uso incorrecto de sizeof en cmdq_get_clocks(). Debe ser el tamaño de la estructura clk_bulk_data, no el puntero de datos pasado a devm_kcalloc().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56684 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-56684 changed 2026-08-04 | Public domain |