[PATCH 0/4] mm/mempolicy: kernel_migrate_pages: fix race between security checks and suid exec
From: Oleg Nesterov
Date: Sun May 24 2026 - 12:57:41 EST
Hello,
Sorry, I have no idea how to test these changes. Please review.
Hopefully sashiko.dev will take a look too ;)
find_mm_struct() has the same problem, will send a patch tomorrow.
Unless you tell me this race doesn't need a fix.
Oleg.
---
mm/mempolicy.c | 53 +++++++++++++++++++++++++----------------------------
1 file changed, 25 insertions(+), 28 deletions(-)