syzbot


KCSAN: data-race in exit_signals / mm_update_next_owner (2)

Status: closed as invalid on 2020/01/09 14:13
Subsystems: kernel
[Documentation on labels]
First crash: 1612d, last: 1586d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in exit_signals / mm_update_next_owner (3) kernel 15 1426d 1563d 0/26 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in exit_signals / mm_update_next_owner (4) kernel 133 1057d 1259d 0/26 auto-closed as invalid on 2021/07/07 06:50
upstream KCSAN: data-race in exit_signals / mm_update_next_owner kasan 2 1638d 1643d 0/26 closed as invalid on 2019/11/19 13:24

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

read to 0xffff888103fc10e4 of 4 bytes by task 29357 on cpu 0:
 mm_update_next_owner+0x373/0x5a0 kernel/exit.c:389
 exit_mm kernel/exit.c:484 [inline]
 do_exit+0x4a4/0x18c0 kernel/exit.c:784
 do_group_exit+0xb4/0x1c0 kernel/exit.c:895
 get_signal+0x2a2/0x1320 kernel/signal.c:2734
 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:160
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff888103fc10e4 of 4 bytes by task 29330 on cpu 1:
 exit_signals+0x13b/0x490 kernel/signal.c:2822
 do_exit+0x188/0x18c0 kernel/exit.c:754
 do_group_exit+0xb4/0x1c0 kernel/exit.c:895
 __do_sys_exit_group kernel/exit.c:906 [inline]
 __se_sys_exit_group kernel/exit.c:904 [inline]
 __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:904
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/21 02:39 https://github.com/google/ktsan.git kcsan 245a43005292 bc586918 .config console log report ci2-upstream-kcsan-gce
2019/12/12 10:51 https://github.com/google/ktsan.git kcsan ef798c30ba4e d973f528 .config console log report ci2-upstream-kcsan-gce
2019/12/01 02:25 https://github.com/google/ktsan.git kcsan ef798c30ba4e a76bf83f .config console log report ci2-upstream-kcsan-gce
2019/11/25 02:07 https://github.com/google/ktsan.git kcsan 5863cc791e4c 598ca6c8 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.