1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-17 23:03:29 +02:00

drm/amdkfd: fix NULL pointer bug in svm_range_set_attr

From Eric Huang
2f9c3c161692f5bf1436e869a651bed10936e071 in linux-6.18.y/6.18.35
e984d61d92e702096058f0f828f4b2b8563b88ce in mainline linux
This commit is contained in:
jsg
2026-06-10 00:10:28 +00:00
parent bfe81926b5
commit e8f772d6e8
+3
View File
@@ -3680,6 +3680,9 @@ svm_range_set_attr(struct kfd_process *p, struct mm_struct *mm,
svms = &p->svms;
if (!process_info)
return -EINVAL;
mutex_lock(&process_info->lock);
svm_range_list_lock_and_flush_work(svms, mm);