mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 12:52:29 -04:00
Merge tag 'sched-urgent-2026-01-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar: "Fix a crash in sched_mm_cid_after_execve()" * tag 'sched-urgent-2026-01-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/mm_cid: Prevent NULL mm dereference in sched_mm_cid_after_execve()
This commit is contained in:
@@ -10694,10 +10694,11 @@ void sched_mm_cid_before_execve(struct task_struct *t)
|
||||
sched_mm_cid_exit(t);
|
||||
}
|
||||
|
||||
/* Reactivate MM CID after successful execve() */
|
||||
/* Reactivate MM CID after execve() */
|
||||
void sched_mm_cid_after_execve(struct task_struct *t)
|
||||
{
|
||||
sched_mm_cid_fork(t);
|
||||
if (t->mm)
|
||||
sched_mm_cid_fork(t);
|
||||
}
|
||||
|
||||
static void mm_cid_work_fn(struct work_struct *work)
|
||||
|
||||
Reference in New Issue
Block a user