Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'core-urgent-2022-05-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull PASID fix from Thomas Gleixner:
"A single bugfix for the PASID management code, which freed the PASID
too early. The PASID needs to be tied to the mm lifetime, not to the
address space lifetime"

* tag 'core-urgent-2022-05-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
mm: Fix PASID use-after-free issue

+1 -1
+1 -1
kernel/fork.c
··· 792 792 mmu_notifier_subscriptions_destroy(mm); 793 793 check_mm(mm); 794 794 put_user_ns(mm->user_ns); 795 + mm_pasid_drop(mm); 795 796 free_mm(mm); 796 797 } 797 798 EXPORT_SYMBOL_GPL(__mmdrop); ··· 1191 1190 } 1192 1191 if (mm->binfmt) 1193 1192 module_put(mm->binfmt->module); 1194 - mm_pasid_drop(mm); 1195 1193 mmdrop(mm); 1196 1194 } 1197 1195