diff options
author | Mickaël Salaün <[email protected]> | 2024-04-08 09:46:20 +0200 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-05-06 14:22:02 -0600 |
commit | f8aa1b98ce40184521ed95ec26cc115a255183b2 (patch) | |
tree | 9a9c27c6d2b6f69f901697250710aeef55d563ee /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cde5e1b4a90486b4ac731ee43e4e0152cc16887b (diff) |
kunit: Fix kthread reference
There is a race condition when a kthread finishes after the deadline and
before the call to kthread_stop(), which may lead to use after free.
Cc: Brendan Higgins <[email protected]>
Cc: Shuah Khan <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Fixes: adf505457032 ("kunit: fix UAF when run kfence test case test_gfpzero")
Reviewed-by: David Gow <[email protected]>
Reviewed-by: Rae Moar <[email protected]>
Signed-off-by: Mickaël Salaün <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions