syzbot


KCSAN: data-race in do_group_exit / do_group_exit (2)

Status: auto-closed as invalid on 2020/02/20 16:37
Subsystems: kasan
[Documentation on labels]
First crash: 1890d, last: 1874d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_group_exit / do_group_exit kasan 1 1922d 1922d 0/28 closed as invalid on 2019/11/19 13:44
upstream KCSAN: data-race in do_group_exit / do_group_exit (3) kasan 2 1706d 1736d 0/28 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in do_group_exit / do_group_exit (4) kernel 6 1589d 1666d 0/28 auto-closed as invalid on 2020/10/28 04:41
upstream KCSAN: data-race in do_group_exit / do_group_exit (5) kernel 2 1486d 1493d 0/28 auto-closed as invalid on 2021/02/07 13:19
upstream KCSAN: data-race in do_group_exit / do_group_exit (8) kernel 1 568d 568d 0/28 auto-obsoleted due to no activity on 2023/08/15 00:36
upstream KCSAN: data-race in do_group_exit / do_group_exit (9) kernel 1 528d 528d 0/28 auto-obsoleted due to no activity on 2023/09/23 23:34
upstream KCSAN: data-race in do_group_exit / do_group_exit (7) kernel 1 1229d 1229d 0/28 auto-closed as invalid on 2021/10/22 14:01
upstream KCSAN: data-race in do_group_exit / do_group_exit (6) kernel 12 1347d 1437d 0/28 auto-closed as invalid on 2021/06/27 02:37

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

write to 0xffff88811f265634 of 4 bytes by task 3540 on cpu 1:
 do_group_exit+0x1a6/0x1c0 kernel/exit.c:915
 __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

read to 0xffff88811f265634 of 4 bytes by task 3533 on cpu 0:
 do_group_exit+0x7b/0x1c0 kernel/exit.c:904
 __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: 3533 Comm: syz-executor.2 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 3533 Comm: syz-executor.2 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x11d/0x181 lib/dump_stack.c:118
 panic+0x210/0x640 kernel/panic.c:221
 kcsan_report.cold+0xc/0xd kernel/kcsan/report.c:315
 kcsan_setup_watchpoint+0x3fe/0x460 kernel/kcsan/core.c:423
 check_access kernel/kcsan/core.c:466 [inline]
 __tsan_read4 kernel/kcsan/core.c:595 [inline]
 __tsan_read4+0xc6/0x100 kernel/kcsan/core.c:595
 do_group_exit+0x7b/0x1c0 kernel/exit.c:904
 __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
RIP: 0033:0x45a909
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc265fbd6c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 000000000045a909
RDX: 0000000000000003 RSI: 00007fc265fbd700 RDI: 0000000000000007
RBP: 000000000075bf20 R08: 00007fc265fbe700 R09: 0000000000000000
R10: 00007fc265fbe700 R11: 0000000000000246 R12: 000000000075bf60
R13: 00000000004ca8c9 R14: 00000000004e3a90 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/12 16:36 https://github.com/google/ktsan.git kcsan ef798c30ba4e d973f528 .config console log report ci2-upstream-kcsan-gce
2019/12/08 07:58 https://github.com/google/ktsan.git kcsan ef798c30ba4e 1508f453 .config console log report ci2-upstream-kcsan-gce
2019/12/04 12:28 https://github.com/google/ktsan.git kcsan ef798c30ba4e 0ecb9746 .config console log report ci2-upstream-kcsan-gce
2019/11/26 17:32 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.