syzbot


KCSAN: data-race in flush_old_exec / mm_update_next_owner

Status: auto-closed as invalid on 2020/02/15 23:36
Subsystems: fs mm
[Documentation on labels]
First crash: 1601d, last: 1601d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in flush_old_exec / mm_update_next_owner (2) fs mm 2 1471d 1475d 0/26 auto-closed as invalid on 2020/06/18 14:03

Sample crash report:
==================================================================
BUG: KCSAN: data-race in flush_old_exec / mm_update_next_owner

write to 0xffff8880b9fb8124 of 4 bytes by task 10751 on cpu 1:
 flush_old_exec fs/exec.c:1294 [inline]
 flush_old_exec+0x6b8/0xfd0 fs/exec.c:1258
 load_elf_binary+0x69a/0x2ec0 fs/binfmt_elf.c:847
 search_binary_handler fs/exec.c:1659 [inline]
 search_binary_handler+0x127/0x420 fs/exec.c:1636
 exec_binprm fs/exec.c:1702 [inline]
 __do_execve_file.isra.0+0xb76/0x11d0 fs/exec.c:1822
 do_execveat_common fs/exec.c:1868 [inline]
 do_execve fs/exec.c:1885 [inline]
 __do_sys_execve fs/exec.c:1961 [inline]
 __se_sys_execve fs/exec.c:1956 [inline]
 __x64_sys_execve+0x62/0x80 fs/exec.c:1956
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880b9fb8124 of 4 bytes by task 10752 on cpu 0:
 mm_update_next_owner+0x29f/0x460 kernel/exit.c:389
 exit_mm kernel/exit.c:484 [inline]
 do_exit+0x4c1/0x18f0 kernel/exit.c:804
 do_group_exit+0xb4/0x1c0 kernel/exit.c:921
 __do_sys_exit_group kernel/exit.c:932 [inline]
 __se_sys_exit_group kernel/exit.c:930 [inline]
 __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:930
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 10752 Comm: syz-executor.0 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/07 23:31 https://github.com/google/ktsan.git kcsan ef798c30ba4e 1508f453 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.