In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: fix svmmigratefini warning
Device manager releases device-specific resources when a driver disconnects from a device, devmmemunmappages and devmreleasememregion calls in svmmigrate_fini are redundant.
It causes below warning trace after patch "drm/amdgpu: Split amdgpudevicefini into early and late", so remove function svmmigratefini.
BUG: https://gitlab.freedesktop.org/drm/amd/-/issues/1718
WARNING: CPU: 1 PID: 3646 at drivers/base/devres.c:795 devmreleaseaction+0x51/0x60 Call Trace: ? memunmappages+0x360/0x360 svmmigratefini+0x2d/0x60 [amdgpu] kgd2kfddeviceexit+0x23/0xa0 [amdgpu] amdgpuamdkfddevicefinisw+0x1d/0x30 [amdgpu] amdgpudevicefinisw+0x45/0x290 [amdgpu] amdgpudriverreleasekms+0x12/0x30 [amdgpu] drmdevrelease+0x20/0x40 [drm] releasenodes+0x196/0x1e0 devicereleasedriverinternal+0x104/0x1d0 driverdetach+0x47/0x90 busremovedriver+0x7a/0xd0 pciunregisterdriver+0x3d/0x90 amdgpu_exit+0x11/0x20 [amdgpu]