In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: unmap and remove csa_va properly
Root PD BO should be reserved before unmap and remove a bo_va from VM otherwise lockdep will complain.
v2: check fpriv->csava is not NULL instead of amdgpumcbp (christian)
[14616.936827] WARNING: CPU: 6 PID: 1711 at drivers/gpu/drm/amd/amdgpu/amdgpuvm.c:1762 amdgpuvmbodel+0x399/0x3f0 [amdgpu] [14616.937096] Call Trace: [14616.937097] <TASK> [14616.937102] amdgpudriverpostclosekms+0x249/0x2f0 [amdgpu] [14616.937187] drmfilefree+0x1d6/0x300 [drm] [14616.937207] drmclosehelper.isra.0+0x62/0x70 [drm] [14616.937220] drmrelease+0x5e/0x100 [drm] [14616.937234] fput+0x9f/0x280 [14616.937239] fput+0xe/0x20 [14616.937241] taskworkrun+0x61/0x90 [14616.937246] exittousermodeprepare+0x215/0x220 [14616.937251] syscallexittousermode+0x2a/0x60 [14616.937254] dosyscall64+0x48/0x90 [14616.937257] entrySYSCALL64afterhwframe+0x63/0xcd
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53545.json"
}[
{
"digest": {
"length": 1148.0,
"function_hash": "101445887628109960694045050300449379050"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5daff15cd013422bc6d1efcfe82b586800025384",
"deprecated": false,
"id": "CVE-2023-53545-461f9302",
"signature_type": "Function",
"target": {
"function": "amdgpu_driver_postclose_kms",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"121221524774607610576938107350876293392",
"120532647394862202052010592528541710509",
"278765492078474107226701337663394022605"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3a96bf843c356d1d9b2d7f6d0784b6ee28ca9d0",
"deprecated": false,
"id": "CVE-2023-53545-4dbe15dc",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_csa.h"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"12199428017441943131775950095661152099",
"300604206209936924123927756124195360895",
"108133336785267158553078548763357673916",
"53873695907447541215938648122076889768",
"62829116421676960111079243382749070104",
"94970222795592036069556862950333724509",
"243137937522818954330667706920566863215",
"295927800399473813441540798747002023021"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5daff15cd013422bc6d1efcfe82b586800025384",
"deprecated": false,
"id": "CVE-2023-53545-8964333c",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"121221524774607610576938107350876293392",
"120532647394862202052010592528541710509",
"278765492078474107226701337663394022605"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5daff15cd013422bc6d1efcfe82b586800025384",
"deprecated": false,
"id": "CVE-2023-53545-90b4d202",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_csa.h"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"12199428017441943131775950095661152099",
"300604206209936924123927756124195360895",
"108133336785267158553078548763357673916",
"53873695907447541215938648122076889768",
"62829116421676960111079243382749070104",
"94970222795592036069556862950333724509",
"243137937522818954330667706920566863215",
"295927800399473813441540798747002023021"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3a96bf843c356d1d9b2d7f6d0784b6ee28ca9d0",
"deprecated": false,
"id": "CVE-2023-53545-aa381ff3",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1148.0,
"function_hash": "101445887628109960694045050300449379050"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3a96bf843c356d1d9b2d7f6d0784b6ee28ca9d0",
"deprecated": false,
"id": "CVE-2023-53545-ffc89906",
"signature_type": "Function",
"target": {
"function": "amdgpu_driver_postclose_kms",
"file": "drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53545.json"