In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/gfx: disable gfx9 cpeccerror_irq only when enabling legacy gfx ras
gfx9 cpeccerrorirq is only enabled when legacy gfx ras is assert. So in gfxv90hwfini, interrupt disablement for cpeccerrorirq should be executed under such condition, otherwise, an amdgpuirqput calltrace will occur.
[ 7283.170322] RIP: 0010:amdgpuirqput+0x45/0x70 [amdgpu] [ 7283.170964] RSP: 0018:ffff9a5fc3967d00 EFLAGS: 00010246 [ 7283.170967] RAX: ffff98d88afd3040 RBX: ffff98d89da20000 RCX: 0000000000000000 [ 7283.170969] RDX: 0000000000000000 RSI: ffff98d89da2bef8 RDI: ffff98d89da20000 [ 7283.170971] RBP: ffff98d89da20000 R08: ffff98d89da2ca18 R09: 0000000000000006 [ 7283.170973] R10: ffffd5764243c008 R11: 0000000000000000 R12: 0000000000001050 [ 7283.170975] R13: ffff98d89da38978 R14: ffffffff999ae15a R15: ffff98d880130105 [ 7283.170978] FS: 0000000000000000(0000) GS:ffff98d996f00000(0000) knlGS:0000000000000000 [ 7283.170981] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 7283.170983] CR2: 00000000f7a9d178 CR3: 00000001c42ea000 CR4: 00000000003506e0 [ 7283.170986] Call Trace: [ 7283.170988] <TASK> [ 7283.170989] gfxv90hwfini+0x1c/0x6d0 [amdgpu] [ 7283.171655] amdgpudeviceipsuspendphase2+0x101/0x1a0 [amdgpu] [ 7283.172245] amdgpudevicesuspend+0x103/0x180 [amdgpu] [ 7283.172823] amdgpupmopsfreeze+0x21/0x60 [amdgpu] [ 7283.173412] pcipmfreeze+0x54/0xc0 [ 7283.173419] ? _pfxpcipmfreeze+0x10/0x10 [ 7283.173425] dpmruncallback+0x98/0x200 [ 7283.173430] _devicesuspend+0x164/0x5f0
v2: drop gfx11 as it's fixed in a different solution by retiring cpeccirq funcs(Hawking)
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53471.json"
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"270642250625237224003749163603157514810",
"261369433565501901516780745901677636329",
"87698547544245378557113117261249403654",
"32035533967498460463550396428940509287"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@20ca90ceda71ed90a4d6960acbe7d5e120b40c0d",
"deprecated": false,
"id": "CVE-2023-53471-04417b62",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"270642250625237224003749163603157514810",
"261369433565501901516780745901677636329",
"87698547544245378557113117261249403654",
"32035533967498460463550396428940509287"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efce310db74fdc6d2acd959f3582972ae4a8d7d5",
"deprecated": false,
"id": "CVE-2023-53471-1526cb10",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 803.0,
"function_hash": "200908081846551251398753058144624585456"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@20ca90ceda71ed90a4d6960acbe7d5e120b40c0d",
"deprecated": false,
"id": "CVE-2023-53471-47749272",
"signature_type": "Function",
"target": {
"function": "gfx_v9_0_hw_fini",
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"270642250625237224003749163603157514810",
"261369433565501901516780745901677636329",
"87698547544245378557113117261249403654",
"88800810677948839447202644919768136881"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@625d4112ea25dbad7ddf749fd5c1287ceffb2339",
"deprecated": false,
"id": "CVE-2023-53471-4f8c4c87",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"270642250625237224003749163603157514810",
"261369433565501901516780745901677636329",
"87698547544245378557113117261249403654",
"32035533967498460463550396428940509287"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a76680311330aefe5074bed8f06afa354b85c48",
"deprecated": false,
"id": "CVE-2023-53471-53cd109c",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"270642250625237224003749163603157514810",
"261369433565501901516780745901677636329",
"87698547544245378557113117261249403654",
"32035533967498460463550396428940509287"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d28af21a874c5123d1681c2d686627f7ff7e488",
"deprecated": false,
"id": "CVE-2023-53471-75675791",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 949.0,
"function_hash": "278079327167299008611443445315731595442"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd3c0f7013c37cd24fc40b601319007f136c1201",
"deprecated": false,
"id": "CVE-2023-53471-8c06c52e",
"signature_type": "Function",
"target": {
"function": "gfx_v9_0_hw_fini",
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1006.0,
"function_hash": "335083959098080304577161137575417561584"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efce310db74fdc6d2acd959f3582972ae4a8d7d5",
"deprecated": false,
"id": "CVE-2023-53471-9ea008ae",
"signature_type": "Function",
"target": {
"function": "gfx_v9_0_hw_fini",
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1006.0,
"function_hash": "335083959098080304577161137575417561584"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f661ad53658a1ea35c004af1f5fbe25c4d1cdb08",
"deprecated": false,
"id": "CVE-2023-53471-aa47a75f",
"signature_type": "Function",
"target": {
"function": "gfx_v9_0_hw_fini",
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"270642250625237224003749163603157514810",
"261369433565501901516780745901677636329",
"87698547544245378557113117261249403654",
"32035533967498460463550396428940509287"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd3c0f7013c37cd24fc40b601319007f136c1201",
"deprecated": false,
"id": "CVE-2023-53471-ad96a181",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1006.0,
"function_hash": "335083959098080304577161137575417561584"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a76680311330aefe5074bed8f06afa354b85c48",
"deprecated": false,
"id": "CVE-2023-53471-c84f1ad9",
"signature_type": "Function",
"target": {
"function": "gfx_v9_0_hw_fini",
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"270642250625237224003749163603157514810",
"261369433565501901516780745901677636329",
"87698547544245378557113117261249403654",
"32035533967498460463550396428940509287"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f661ad53658a1ea35c004af1f5fbe25c4d1cdb08",
"deprecated": false,
"id": "CVE-2023-53471-d5aad50b",
"signature_type": "Line",
"target": {
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 784.0,
"function_hash": "86938697853007479845875111531390192281"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@625d4112ea25dbad7ddf749fd5c1287ceffb2339",
"deprecated": false,
"id": "CVE-2023-53471-d7d8e223",
"signature_type": "Function",
"target": {
"function": "gfx_v9_0_hw_fini",
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1006.0,
"function_hash": "335083959098080304577161137575417561584"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d28af21a874c5123d1681c2d686627f7ff7e488",
"deprecated": false,
"id": "CVE-2023-53471-f2768285",
"signature_type": "Function",
"target": {
"function": "gfx_v9_0_hw_fini",
"file": "drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53471.json"