diff options
| author | Mathieu Desnoyers <[email protected]> | 2023-01-02 10:12:16 -0500 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-01-02 16:34:12 +0100 |
| commit | bbd0b031509b880b4e9a880bb27ca2a30ad081ab (patch) | |
| tree | 3c16b06a9c0bc653348674cbc9dd5b743897f660 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c89970202a1153b2fc230e89f90c180bd5bcbcef (diff) | |
sched/rseq: Fix concurrency ID handling of usermodehelper kthreads
sched_mm_cid_after_execve() does not expect NULL t->mm, but it may happen
if a usermodehelper kthread fails when attempting to execute a binary.
sched_mm_cid_fork() can be issued from a usermodehelper kthread, which
has t->flags PF_KTHREAD set.
Fixes: af7f588d8f73 ("sched: Introduce per-memory-map concurrency ID")
Reported-by: kernel test robot <[email protected]>
Reported-by: Borislav Petkov <[email protected]>
Signed-off-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/oe-lkp/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions