RE: [PATCH] drm/amdgpu: fix NULL pointer access issue when unloading driver

2020-08-13 Thread Zhou1, Tao
uchun > Subject: [PATCH] drm/amdgpu: fix NULL pointer access issue when unloading > driver > > When unloading driver by "modprobe -r amdgpu", one NULL pointer > dereference bug occurs in ras debugfs releasing. The cause is the duplicated > debugfs_remove, as

[PATCH] drm/amdgpu: fix NULL pointer access issue when unloading driver

2020-08-12 Thread Guchun Chen
When unloading driver by "modprobe -r amdgpu", one NULL pointer dereference bug occurs in ras debugfs releasing. The cause is the duplicated debugfs_remove, as drm debugfs_root dir has been cleaned up already by drm_minor_unregister. BUG: kernel NULL pointer dereference, address: 00a0