In the Linux kernel, the following vulnerability has been resolved:
media: aspeed: Fix memory overwrite if timing is 1600x900
When capturing 1600x900, system could crash when system memory usage is tight.
The way to reproduce this issue: 1. Use 1600x900 to display on host 2. Mount ISO through 'Virtual media' on OpenBMC's web 3. Run script as below on host to do sha continuously #!/bin/bash while [ [1] ]; do find /media -type f -printf '"%h/%f"\n' | xargs sha256sum done 4. Open KVM on OpenBMC's web
The size of macro block captured is 8x8. Therefore, we should make sure the height of src-buf is 8 aligned to fix this issue.
[
{
"signature_type": "Function",
"digest": {
"function_hash": "271932131396821549729909976979287834333",
"length": 2064.0
},
"target": {
"file": "drivers/media/platform/aspeed/aspeed-video.c",
"function": "aspeed_video_set_resolution"
},
"signature_version": "v1",
"id": "CVE-2023-52916-1e2e68de",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c823e4027dd1d6e88c31028dec13dd19bc7b02d"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"289574077517437516776171771240543951172",
"71029288538612228298055433493452360840",
"66813522704357459105698109224239785715",
"259565152538982311631205556105882024393",
"338943372904285140967743303639814055812",
"91047290649041190155009127546218929026",
"55007976271914593485571538184878313816",
"295353719551664318156413683746062290662"
]
},
"target": {
"file": "drivers/media/platform/aspeed/aspeed-video.c"
},
"signature_version": "v1",
"id": "CVE-2023-52916-38237034",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c281355068bc258fd619c5aefd978595bede7bfe"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "138012344034467019916721002899367989660",
"length": 2136.0
},
"target": {
"file": "drivers/media/platform/aspeed/aspeed-video.c",
"function": "aspeed_video_set_resolution"
},
"signature_version": "v1",
"id": "CVE-2023-52916-72edb025",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c281355068bc258fd619c5aefd978595bede7bfe"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"289574077517437516776171771240543951172",
"71029288538612228298055433493452360840",
"66813522704357459105698109224239785715",
"259565152538982311631205556105882024393",
"338943372904285140967743303639814055812",
"91047290649041190155009127546218929026",
"55007976271914593485571538184878313816",
"295353719551664318156413683746062290662"
]
},
"target": {
"file": "drivers/media/platform/aspeed/aspeed-video.c"
},
"signature_version": "v1",
"id": "CVE-2023-52916-db9641c3",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c823e4027dd1d6e88c31028dec13dd19bc7b02d"
}
]