CVE-2024-56684
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 6.11 before 6.11.11, from 6.12 before 6.12.2NVD

All scores

Linux8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS: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

SourceRecordLicence
CVE ListCVE-2024-56684 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-56684 changed 2026-08-04Public domain