diff options
| author | Eric Huang <jinhuieric.huang@amd.com> | 2026-03-27 09:46:42 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-03-30 15:14:51 -0400 |
| commit | 4ea64d482fc2cc85009fce5abdf4780ece00c31c (patch) | |
| tree | 98bf438b1f49ed87c641bc0f8a6a93786576484c /include/linux/i2c/git@git.tavy.me:linux-stable.git | |
| parent | 964e532d58378e6b942d2ba12fc3e25920fd4f80 (diff) | |
drm/amdkfd: fix kernel crash on releasing NULL sysfs entry
there is an abnormal case that When a process re-opens kfd
with different mm_struct(execve() called by user), the
allocated p->kobj will be freed, but missed setting it to NULL,
that will cause sysfs/kernel crash with NULL pointers in p->kobj
on kfd_process_remove_sysfs() when releasing process, and the
similar error on kfd_procfs_del_queue() as well.
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
