syzbot


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

Status: auto-obsoleted due to no activity on 2022/10/07 18:15
Subsystems: serial
[Documentation on labels]
First crash: 615d, last: 615d
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 101d 101d 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 1199d 1199d 0/26 auto-closed as invalid on 2021/03/02 15:38
upstream KCSAN: data-race in __tty_hangup / do_dentry_open (2) serial 1 698d 698d 0/26 auto-closed as invalid on 2022/07/16 05:33

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

write to 0xffff8881043c5028 of 8 bytes by task 20685 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+0x63/0xcd

read to 0xffff8881043c5028 of 8 bytes by task 20698 on cpu 0:
 do_dentry_open+0x5c2/0x8b0 fs/open.c:886
 vfs_open+0x43/0x50 fs/open.c:1014
 do_open fs/namei.c:3557 [inline]
 path_openat+0x169d/0x1b00 fs/namei.c:3691
 do_filp_open+0x105/0x220 fs/namei.c:3718
 do_sys_openat2+0xb5/0x2a0 fs/open.c:1311
 do_sys_open fs/open.c:1327 [inline]
 __do_sys_openat fs/open.c:1343 [inline]
 __se_sys_openat fs/open.c:1338 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1338
 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+0x63/0xcd

value changed: 0xffffffff850b9640 -> 0xffffffff850b9538

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 20698 Comm: syz-executor.1 Not tainted 6.0.0-rc3-syzkaller-00107-g42e66b1cc3a0-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/02 18:06 upstream 42e66b1cc3a0 25194605 .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.