In the Linux kernel, the following vulnerability has been resolved:
mailbox: mtk-cmdq: fix wrong use of sizeof in cmdqgetclocks()
It should be size of the struct clkbulkdata, not data pointer pass to devm_kcalloc().
[
{
"signature_type": "Function",
"id": "CVE-2024-56684-0b742c62",
"target": {
"function": "cmdq_get_clocks",
"file": "drivers/mailbox/mtk-cmdq-mailbox.c"
},
"digest": {
"function_hash": "193167271565520971742028326036548298135",
"length": 1076.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@31986fad0cfdda8d8893230da04f5eb0774854d9",
"deprecated": false
},
{
"signature_type": "Line",
"id": "CVE-2024-56684-6184bccd",
"target": {
"file": "drivers/mailbox/mtk-cmdq-mailbox.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"97623066412692802741730628468903934027",
"285437370392528851476938065999710802777",
"272974842692941827561095361519713599311",
"9266682391191055835194650125117794009"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@271ee263cc8771982809185007181ca10346fe73",
"deprecated": false
},
{
"signature_type": "Function",
"id": "CVE-2024-56684-63558292",
"target": {
"function": "cmdq_get_clocks",
"file": "drivers/mailbox/mtk-cmdq-mailbox.c"
},
"digest": {
"function_hash": "193167271565520971742028326036548298135",
"length": 1076.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a9c7cb960fc6e056ebecebd136a127612b15630d",
"deprecated": false
},
{
"signature_type": "Function",
"id": "CVE-2024-56684-93c918d4",
"target": {
"function": "cmdq_get_clocks",
"file": "drivers/mailbox/mtk-cmdq-mailbox.c"
},
"digest": {
"function_hash": "193167271565520971742028326036548298135",
"length": 1076.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@271ee263cc8771982809185007181ca10346fe73",
"deprecated": false
},
{
"signature_type": "Line",
"id": "CVE-2024-56684-b0aee917",
"target": {
"file": "drivers/mailbox/mtk-cmdq-mailbox.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"97623066412692802741730628468903934027",
"285437370392528851476938065999710802777",
"272974842692941827561095361519713599311",
"9266682391191055835194650125117794009"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@31986fad0cfdda8d8893230da04f5eb0774854d9",
"deprecated": false
},
{
"signature_type": "Line",
"id": "CVE-2024-56684-bea49140",
"target": {
"file": "drivers/mailbox/mtk-cmdq-mailbox.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"97623066412692802741730628468903934027",
"285437370392528851476938065999710802777",
"272974842692941827561095361519713599311",
"9266682391191055835194650125117794009"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a9c7cb960fc6e056ebecebd136a127612b15630d",
"deprecated": false
}
]