syzbot


KCSAN: data-race in __tty_hangup / __vfs_read

Status: auto-closed as invalid on 2020/03/29 05:10
Subsystems: serial
[Documentation on labels]
First crash: 2040d, last: 2040d

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

write to 0xffff88812352ad28 of 8 bytes by task 24242 on cpu 0:
 __tty_hangup+0x16a/0x460 drivers/tty/tty_io.c:616
 tty_vhangup drivers/tty/tty_io.c:698 [inline]
 tty_ioctl+0x3af/0xe10 drivers/tty/tty_io.c:2601
 vfs_ioctl fs/ioctl.c:47 [inline]
 file_ioctl fs/ioctl.c:545 [inline]
 do_vfs_ioctl+0x84f/0xcf0 fs/ioctl.c:732
 ksys_ioctl+0xbd/0xe0 fs/ioctl.c:749
 __do_sys_ioctl fs/ioctl.c:756 [inline]
 __se_sys_ioctl fs/ioctl.c:754 [inline]
 __x64_sys_ioctl+0x4c/0x60 fs/ioctl.c:754
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88812352ad28 of 8 bytes by task 13493 on cpu 1:
 __vfs_read+0x35/0xc0 fs/read_write.c:424
 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/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 13493 Comm: getty Not tainted 5.5.0-rc1-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
2020/01/19 05:07 https://github.com/google/ktsan.git kcsan 245a43005292 bc8bc756 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.