HighFix available
mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()
Type: advisorySources: OSV
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().
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.11.11, 6.12.2
- CVEs
- CVE-2024-56684
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 12:43 UTC · Revision 1
Source evidence
mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()
core-osv · Original sourcePublished 28 Dec 2024, 09:46 UTC
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().
osv:CVE-2024-56684
Kernel
Fixed versions: 6.11.11, 6.12.2
Complete source record
{
"id": "1f7b302f6c50c09de2c281fb364b134a630ddaf8ce32dce32c0fd27a5283958a",
"url": "https://osv.dev/vulnerability/CVE-2024-56684",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()",
"summary": "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().",
"evidence": "osv:CVE-2024-56684",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.11.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-56684",
"aliases": [
"CVE-2024-56684"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "aa1609f571caba0db102c611829d48adf226bb70"
},
{
"fixed": "31986fad0cfdda8d8893230da04f5eb0774854d9"
},
{
"fixed": "a9c7cb960fc6e056ebecebd136a127612b15630d"
},
{
"fixed": "271ee263cc8771982809185007181ca10346fe73"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56684.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.11.0"
},
{
"fixed": "6.11.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.12.0"
},
{
"fixed": "6.12.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56684.json"
}
}
],
"modified": "2026-10-28T02:30:29.058944948Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/271ee263cc8771982809185007181ca10346fe73",
"https://git.kernel.org/stable/c/31986fad0cfdda8d8893230da04f5eb0774854d9",
"https://git.kernel.org/stable/c/a9c7cb960fc6e056ebecebd136a127612b15630d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56684.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56684",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56684.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56684",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495524,
"published_at": "2024-12-28T09:46:11.932+00:00"
}