syzbot


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

Status: auto-closed as invalid on 2022/07/16 05:33
Subsystems: serial
[Documentation on labels]
First crash: 714d, last: 714d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __tty_hangup / do_dentry_open (4) serial 1 117d 117d 0/26 auto-obsoleted due to no activity on 2024/03/04 05:22
upstream KCSAN: data-race in __tty_hangup / do_dentry_open serial 1 1215d 1215d 0/26 auto-closed as invalid on 2021/03/02 15:38
upstream KCSAN: data-race in __tty_hangup / do_dentry_open (3) serial 1 630d 630d 0/26 auto-obsoleted due to no activity on 2022/10/07 18:15

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

write to 0xffff888103fc9b28 of 8 bytes by task 5318 on cpu 1:
 __tty_hangup+0x22a/0x5b0 drivers/tty/tty_io.c:628
 tty_vhangup drivers/tty/tty_io.c:707 [inline]
 tty_ioctl+0x49f/0x970 drivers/tty/tty_io.c:2718
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

read to 0xffff888103fc9b28 of 8 bytes by task 5319 on cpu 0:
 do_dentry_open+0x5c5/0x850 fs/open.c:856
 vfs_open+0x43/0x50 fs/open.c:981
 do_open fs/namei.c:3520 [inline]
 path_openat+0x16cf/0x1b30 fs/namei.c:3653
 do_filp_open+0x105/0x220 fs/namei.c:3680
 do_sys_openat2+0xb5/0x2a0 fs/open.c:1278
 do_sys_open fs/open.c:1294 [inline]
 __do_sys_openat fs/open.c:1310 [inline]
 __se_sys_openat fs/open.c:1305 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1305
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0xffffffff84eb7fd0 -> 0xffffffff84eb7ec8

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 5319 Comm: syz-executor.0 Not tainted 5.19.0-rc1-syzkaller-00243-ga32e7ea36235-dirty #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
2022/06/11 05:29 upstream a32e7ea36235 0d5abf15 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __tty_hangup / do_dentry_open
* Struck through repros no longer work on HEAD.