In the Linux kernel, the following vulnerability has been resolved:
amd/amdkfd: sync all devices to wait all processes being evicted
If there are more than one device doing reset in parallel, the first device will call kfdsuspendall_processes() to evict all processes on all devices, this call takes time to finish. other device will start reset and recover without waiting. if the process has not been evicted before doing recover, it will be restored, then caused page fault.
{ "vanir_signatures": [ { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_device.c", "function": "kgd2kfd_resume" }, "signature_version": "v1", "digest": { "length": 465.0, "function_hash": "111681988583828323979091731454811011126" }, "id": "CVE-2024-36949-334270d6", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d06af584be5a769d124b7302b32a033e9559761d" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_device.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "152321267194016582506617233540420032507", "126363525828204486953298475945857693086", "256698567754340528129252617132269869787", "193532681627035079578209802330999657157", "282806188022502191641564324056547106074", "208503614252705365875174302898468493570", "306117799088858525916632224656889275", "102056564516104951692709716909495563228", "303299844426652190447599167469683309665", "32062403398502331472455224214011295813", "271136342631935245730523217115553909380", "298778985932237364299388430731645757490", "332882960454494084607632331061748506108", "116366610905409637341257132705262957131", "208206119535892369604544762222010936476", "6648826632439368484088429131394861793", "54660005064213361556108568965557876308", "44019836063615526571101538813300747347", "162866335999409603270346701997181997857", "180897158889382129332462571257287416439", "240672912435033695990578079737028109178", "7358955654024945233722897457562527460", "64091132838453078087852236860593041595" ], "threshold": 0.9 }, "id": "CVE-2024-36949-34fd5874", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d06af584be5a769d124b7302b32a033e9559761d" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_device.c", "function": "kgd2kfd_suspend" }, "signature_version": "v1", "digest": { "length": 404.0, "function_hash": "131185971960965249638215704380413081250" }, "id": "CVE-2024-36949-4a5f6fbd", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed28ef3840bbf93a64376ea7814ce39f86352e14" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_device.c", "function": "kgd2kfd_suspend" }, "signature_version": "v1", "digest": { "length": 404.0, "function_hash": "131185971960965249638215704380413081250" }, "id": "CVE-2024-36949-90fbbcca", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d06af584be5a769d124b7302b32a033e9559761d" }, { "deprecated": false, "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_device.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "152321267194016582506617233540420032507", "126363525828204486953298475945857693086", "256698567754340528129252617132269869787", "193532681627035079578209802330999657157", "282806188022502191641564324056547106074", "208503614252705365875174302898468493570", "306117799088858525916632224656889275", "102056564516104951692709716909495563228", "303299844426652190447599167469683309665", "32062403398502331472455224214011295813", "271136342631935245730523217115553909380", "298778985932237364299388430731645757490", "332882960454494084607632331061748506108", "116366610905409637341257132705262957131", "208206119535892369604544762222010936476", "6648826632439368484088429131394861793", "54660005064213361556108568965557876308", "44019836063615526571101538813300747347", "162866335999409603270346701997181997857", "180897158889382129332462571257287416439", "240672912435033695990578079737028109178", "7358955654024945233722897457562527460", "64091132838453078087852236860593041595" ], "threshold": 0.9 }, "id": "CVE-2024-36949-a0672a33", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed28ef3840bbf93a64376ea7814ce39f86352e14" }, { "deprecated": false, "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/amdkfd/kfd_device.c", "function": "kgd2kfd_resume" }, "signature_version": "v1", "digest": { "length": 465.0, "function_hash": "111681988583828323979091731454811011126" }, "id": "CVE-2024-36949-bb8b9638", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed28ef3840bbf93a64376ea7814ce39f86352e14" } ] }