In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: ipc4-mtrace: prevent underflow in sofipc4prioritymaskdfs_write()
The "id" comes from the user. Change the type to unsigned to prevent an array underflow.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52987.json",
"cna_assigner": "Linux"
}[
{
"id": "CVE-2023-52987-096301ec",
"signature_version": "v1",
"digest": {
"function_hash": "110260568650805491795245192937756097606",
"length": 611.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea57680af47587397f5005d7758022441ed66d54",
"signature_type": "Function",
"target": {
"file": "sound/soc/sof/ipc4-mtrace.c",
"function": "sof_ipc4_priority_mask_dfs_write"
}
},
{
"id": "CVE-2023-52987-11498a94",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"162268643403140312277841448858842982874",
"37842780346914790764236154090224333870",
"238787098150694526747689434375983270332",
"339948979988810871973816395975268047842",
"281298758624511035145836380784906231655",
"31518360596212207833801696227799646308",
"275807388859136437639146153073438928188",
"247199360157891162182204009326339804423",
"333579283806330694001634407008169325325",
"303743223103566411534511608569911846339",
"215550138577705485149668837882555300247",
"235150803301549256932325849830596016342"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea57680af47587397f5005d7758022441ed66d54",
"signature_type": "Line",
"target": {
"file": "sound/soc/sof/ipc4-mtrace.c"
}
},
{
"id": "CVE-2023-52987-2090d409",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"162268643403140312277841448858842982874",
"37842780346914790764236154090224333870",
"238787098150694526747689434375983270332",
"339948979988810871973816395975268047842",
"281298758624511035145836380784906231655",
"31518360596212207833801696227799646308",
"275807388859136437639146153073438928188",
"247199360157891162182204009326339804423",
"333579283806330694001634407008169325325",
"303743223103566411534511608569911846339",
"215550138577705485149668837882555300247",
"235150803301549256932325849830596016342"
]
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d52f34784e4e2f6e77671a9f104d8a69a3b5d24c",
"signature_type": "Line",
"target": {
"file": "sound/soc/sof/ipc4-mtrace.c"
}
},
{
"id": "CVE-2023-52987-9d9b6830",
"signature_version": "v1",
"digest": {
"function_hash": "110260568650805491795245192937756097606",
"length": 611.0
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d52f34784e4e2f6e77671a9f104d8a69a3b5d24c",
"signature_type": "Function",
"target": {
"file": "sound/soc/sof/ipc4-mtrace.c",
"function": "sof_ipc4_priority_mask_dfs_write"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52987.json"