diff options
| author | Tao Cui <cuitao@kylinos.cn> | 2026-10-14 21:13:20 +0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-14 08:13:25 -1000 |
| commit | 09d17543c3194ee68f2f2576a98d0db1f37de16d (patch) | |
| tree | f74e2a5f1295fc2bf30e7e7cc4da36abaeb3fa1f /tools/perf/scripts/python/stackcollapse.py | |
| parent | a5ba5c61951dc00d296c79e96f0259b87861ce8c (diff) | |
selftests/sched_ext: Fix reload_loop error-path use-after-free
If the second pthread_create() fails, run() returns and the runner
calls cleanup, which destroys the skeleton while the first reload
thread is still running do_reload_loop() and dereferencing its maps -
a use-after-free on the error path.
Set force_exit and join the first thread before failing.
Signed-off-by: Tao Cui <cuitao@kylinos.cn>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
