In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: drop redundant sched job cleanup when cs is aborted
Once command submission failed due to userptr invalidation in amdgpucssubmit, legacy code will perform cleanup of scheduler job. However, it's not needed at all, as former commit has integrated job cleanup stuff into amdgpujobfree. Otherwise, because of double free, a NULL pointer dereference will occur in such scenario.
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2457
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8",
"id": "CVE-2023-53228-169349a0",
"deprecated": false,
"target": {
"function": "amdgpu_cs_submit",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
},
"signature_version": "v1",
"digest": {
"length": 2472.0,
"function_hash": "111439317937874304749171499761126873787"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4",
"id": "CVE-2023-53228-5cadbcc5",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108199546049867306240417549808528667465",
"66614987158184982896050738787503626129",
"176888092927446822173700089763464836599",
"38022049350875245411149816126800923654",
"137546632453793511959189762427374846807",
"47325553985114893663135944864913569112",
"111015315371342634831853535098063727984",
"277033018385988331894906310276652667348",
"289804434259461843061665103457691271520",
"233928764409046036512652690847212499500",
"176012788869198032045265176679045581619",
"220505525605155418287944459706486517865",
"317016182519040976717782730958781759727",
"98943946968787301164940749582583112560",
"240015224539902959846159407556001416806",
"170482830318486787977700658754326055221",
"222298548648487072025686798255891002339"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c1564d4b105ae535eb3183ecaaa987685b20a888",
"id": "CVE-2023-53228-7f2d2c48",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108199546049867306240417549808528667465",
"66614987158184982896050738787503626129",
"176888092927446822173700089763464836599",
"38022049350875245411149816126800923654",
"137546632453793511959189762427374846807",
"47325553985114893663135944864913569112",
"111015315371342634831853535098063727984",
"277033018385988331894906310276652667348",
"289804434259461843061665103457691271520",
"233928764409046036512652690847212499500",
"176012788869198032045265176679045581619",
"220505525605155418287944459706486517865",
"317016182519040976717782730958781759727",
"98943946968787301164940749582583112560",
"240015224539902959846159407556001416806",
"170482830318486787977700658754326055221",
"222298548648487072025686798255891002339"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4",
"id": "CVE-2023-53228-b9b24c8c",
"deprecated": false,
"target": {
"function": "amdgpu_cs_submit",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
},
"signature_version": "v1",
"digest": {
"length": 2472.0,
"function_hash": "111439317937874304749171499761126873787"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8",
"id": "CVE-2023-53228-c2ade142",
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108199546049867306240417549808528667465",
"66614987158184982896050738787503626129",
"176888092927446822173700089763464836599",
"38022049350875245411149816126800923654",
"137546632453793511959189762427374846807",
"47325553985114893663135944864913569112",
"111015315371342634831853535098063727984",
"277033018385988331894906310276652667348",
"289804434259461843061665103457691271520",
"233928764409046036512652690847212499500",
"176012788869198032045265176679045581619",
"220505525605155418287944459706486517865",
"317016182519040976717782730958781759727",
"98943946968787301164940749582583112560",
"240015224539902959846159407556001416806",
"170482830318486787977700658754326055221",
"222298548648487072025686798255891002339"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c1564d4b105ae535eb3183ecaaa987685b20a888",
"id": "CVE-2023-53228-fe451108",
"deprecated": false,
"target": {
"function": "amdgpu_cs_submit",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c"
},
"signature_version": "v1",
"digest": {
"length": 2472.0,
"function_hash": "111439317937874304749171499761126873787"
},
"signature_type": "Function"
}
]