In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix call trace warning and hang when removing amdgpu device
On GPUs with RAS enabled, below call trace and hang are observed when shutting down device.
v2: use DRM device unplugged flag instead of shutdown flag as the check to prevent memory wipe in shutdown stage.
[ +0.000000] RIP: 0010:amdgpuvrammgrfini+0x18d/0x1c0 [amdgpu] [ +0.000001] PKRU: 55555554 [ +0.000001] Call Trace: [ +0.000001] <TASK> [ +0.000002] amdgputtmfini+0x140/0x1c0 [amdgpu] [ +0.000183] amdgpubofini+0x27/0xa0 [amdgpu] [ +0.000184] gmcv110swfini+0x2b/0x40 [amdgpu] [ +0.000163] amdgpudevicefinisw+0xb6/0x510 [amdgpu] [ +0.000152] amdgpudriverreleasekms+0x16/0x30 [amdgpu] [ +0.000090] drmdevrelease+0x28/0x50 [drm] [ +0.000016] devmdrmdevinitrelease+0x38/0x60 [drm] [ +0.000011] devmactionrelease+0x15/0x20 [ +0.000003] releasenodes+0x40/0xc0 [ +0.000001] devresreleaseall+0x9e/0xe0 [ +0.000001] deviceunbindcleanup+0x12/0x80 [ +0.000003] devicereleasedriverinternal+0xff/0x160 [ +0.000001] driverdetach+0x4a/0x90 [ +0.000001] busremovedriver+0x6c/0xf0 [ +0.000001] driverunregister+0x31/0x50 [ +0.000001] pciunregisterdriver+0x40/0x90 [ +0.000003] amdgpuexit+0x15/0x120 [amdgpu]