syzbot


KCSAN: data-race in __tty_hangup / n_tty_poll (2)

Status: auto-closed as invalid on 2020/10/25 07:28
Subsystems: serial
[Documentation on labels]
First crash: 1314d, last: 1314d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __tty_hangup / n_tty_poll serial 1 1412d 1412d 0/26 closed as invalid on 2020/06/18 14:13

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

write to 0xffff888121df55e4 of 2 bytes by task 2112 on cpu 1:
 __tty_hangup+0x4e9/0x610 drivers/tty/tty_io.c:634
 tty_vhangup drivers/tty/tty_io.c:698 [inline]
 tty_ioctl+0x5a1/0xfd0 drivers/tty/tty_io.c:2597
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:739
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888121df55e4 of 2 bytes by task 2104 on cpu 0:
 n_tty_poll+0x3aa/0x4a0 drivers/tty/n_tty.c:2416
 tty_poll+0xa7/0x140 drivers/tty/tty_io.c:2112
 vfs_poll include/linux/poll.h:90 [inline]
 do_pollfd fs/select.c:869 [inline]
 do_poll fs/select.c:917 [inline]
 do_sys_poll+0x606/0xbc0 fs/select.c:1011
 __do_sys_ppoll fs/select.c:1111 [inline]
 __se_sys_ppoll+0x169/0x1b0 fs/select.c:1091
 __x64_sys_ppoll+0x63/0x70 fs/select.c:1091
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2104 Comm: syz-executor.5 Not tainted 5.9.0-rc5-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/09/20 07:19 upstream 325d0eab4f31 53ce8104 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.