syzbot


KCSAN: data-race in do_nanosleep / get_wchan

Status: closed as invalid on 2019/11/19 13:44
Subsystems: kernel
[Documentation on labels]
First crash: 1638d, last: 1638d

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

write to 0xffff8881047b1090 of 8 bytes by task 8720 on cpu 1:
 do_nanosleep+0x1da/0x320 kernel/time/hrtimer.c:1878
 hrtimer_nanosleep+0x191/0x320 kernel/time/hrtimer.c:1924
 __do_sys_nanosleep kernel/time/hrtimer.c:1958 [inline]
 __se_sys_nanosleep kernel/time/hrtimer.c:1945 [inline]
 __x64_sys_nanosleep+0x106/0x150 kernel/time/hrtimer.c:1945
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8881047b1090 of 8 bytes by task 11964 on cpu 0:
 get_wchan+0x109/0x180 arch/x86/kernel/process.c:859
 do_task_stat+0xdf0/0x1370 fs/proc/array.c:522
 proc_tgid_stat+0x3d/0x60 fs/proc/array.c:632
 proc_single_show+0x89/0xe0 fs/proc/base.c:756
 seq_read+0x350/0x960 fs/seq_file.c:229
 __vfs_read+0x67/0xc0 fs/read_write.c:425
 vfs_read fs/read_write.c:461 [inline]
 vfs_read+0x143/0x2c0 fs/read_write.c:446
 ksys_read+0xd5/0x1b0 fs/read_write.c:587
 __do_sys_read fs/read_write.c:597 [inline]
 __se_sys_read fs/read_write.c:595 [inline]
 __x64_sys_read+0x4c/0x60 fs/read_write.c:595
 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: 11964 Comm: ps Not tainted 5.4.0-rc3+ #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/10/25 11:51 https://github.com/google/ktsan.git kcsan 05f2236801fe 04ca72cd .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.