In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Free job before xeexecqueue_put
Free job depends on job->vm being valid, the last xeexecqueueput can destroy the VM. Prevent UAF by freeing job before xeexecqueueput.
(cherry picked from commit 32a42c93b74c8ca6d0915ea3eba21bceff53042f)
[
{
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_sched_job.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"286727618813172958999494192420635855583",
"181107537185224304379837679187711411763",
"6656361730669338322264173457922283650",
"31573474117974938061854298141405905160",
"302483893211618768545563396240626444333",
"187275343678824247875011854684044446321",
"222888335704923518134333481794895074785",
"100264281968040794330695728618065513178",
"251355952920325550397769365048386212949"
]
},
"id": "CVE-2024-44978-11b6f9c1",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98aa0330f200b9b8fb9e1298e006eda57a13351c",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_sched_job.c",
"function": "xe_sched_job_destroy"
},
"digest": {
"length": 292.0,
"function_hash": "338036703451668733708125904291913702217"
},
"id": "CVE-2024-44978-7ab4c3f1",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98aa0330f200b9b8fb9e1298e006eda57a13351c",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_sched_job.c",
"function": "xe_sched_job_destroy"
},
"digest": {
"length": 292.0,
"function_hash": "338036703451668733708125904291913702217"
},
"id": "CVE-2024-44978-b41e45f7",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e7f30563677fbeff62d368d5d2a5ac7aaa9746a",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/gpu/drm/xe/xe_sched_job.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"286727618813172958999494192420635855583",
"181107537185224304379837679187711411763",
"6656361730669338322264173457922283650",
"31573474117974938061854298141405905160",
"302483893211618768545563396240626444333",
"187275343678824247875011854684044446321",
"222888335704923518134333481794895074785",
"100264281968040794330695728618065513178",
"251355952920325550397769365048386212949"
]
},
"id": "CVE-2024-44978-d9ee7df6",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e7f30563677fbeff62d368d5d2a5ac7aaa9746a",
"signature_version": "v1"
}
]