In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: fix use-after-free during gpu recovery
[Why] [ 754.862560] refcountt: underflow; use-after-free. [ 754.862898] Call Trace: [ 754.862903] <TASK> [ 754.862913] amdgpujobfreecb+0xc2/0xe1 [amdgpu] [ 754.863543] drmschedmain.cold+0x34/0x39 [amd_sched]
[How] The fwfence may be not init, check whether dmafence_init is performed before job free
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cb93f390453cde4d6afda1587aaa00e75e09617",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_job.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-48990-6d85d8bf",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"81279148629651947790238421550277526960",
"163983615396678042619695775666555704237",
"308562224301576103893410683813241898758",
"328075285265088662740150798409672880847"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2a89cd942edd50c1e652004fd64019be78b0a96",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_job.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-48990-8b277bf8",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"81279148629651947790238421550277526960",
"163983615396678042619695775666555704237",
"87617569192794592565578578470707979471",
"50580326373278104082273072462998850866"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2a89cd942edd50c1e652004fd64019be78b0a96",
"target": {
"function": "amdgpu_job_free_cb",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_job.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-48990-d237816f",
"signature_type": "Function",
"digest": {
"length": 196.0,
"function_hash": "53600248370532678020792909522901104680"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cb93f390453cde4d6afda1587aaa00e75e09617",
"target": {
"function": "amdgpu_job_free_cb",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_job.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-48990-e2920905",
"signature_type": "Function",
"digest": {
"length": 196.0,
"function_hash": "53600248370532678020792909522901104680"
}
}
]