syzbot


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

Status: auto-closed as invalid on 2021/10/11 17:38
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 447d, last: 447d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup 2 502d 527d 0/24 auto-closed as invalid on 2021/08/17 17:13

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

write to 0xffff888100c1c928 of 8 bytes by task 10820 on cpu 1:
 __tty_hangup+0x247/0x650 drivers/tty/tty_io.c:630
 tty_vhangup drivers/tty/tty_io.c:711 [inline]
 tty_ioctl+0x532/0x1150 drivers/tty/tty_io.c:2745
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:860
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888100c1c928 of 8 bytes by task 10825 on cpu 0:
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xa5/0x140 fs/ioctl.c:860
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0xffffffff8308fa28 -> 0xffffffff8308f928

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 10825 Comm: syz-executor.4 Not tainted 5.14.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/09/06 17:31 upstream 27151f177827 6ca60148 .config log report info KCSAN: data-race in __se_sys_ioctl / __tty_hangup
* Struck through repros no longer work on HEAD.