syzbot


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

Status: auto-obsoleted due to no activity on 2023/05/25 00:29
Subsystems: serial
[Documentation on labels]
First crash: 649d, last: 649d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup serial 2 1295d 1319d 0/28 auto-closed as invalid on 2021/08/17 17:13
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (4) serial 1 420d 418d 0/28 auto-obsoleted due to no activity on 2024/01/09 21:50
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (2) serial 1 1240d 1240d 0/28 auto-closed as invalid on 2021/10/11 17:38
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (5) serial 1 373d 373d 0/28 auto-obsoleted due to no activity on 2024/02/25 23:19

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

write to 0xffff888103745028 of 8 bytes by task 2468 on cpu 1:
 __tty_hangup+0x1e2/0x510 drivers/tty/tty_io.c:622
 tty_vhangup drivers/tty/tty_io.c:701 [inline]
 tty_ioctl+0x604/0xbc0 drivers/tty/tty_io.c:2717
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888103745028 of 8 bytes by task 2466 on cpu 0:
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xa3/0x140 fs/ioctl.c:856
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0xffffffff857702a8 -> 0xffffffff84e92340

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2466 Comm: syz-executor.2 Not tainted 6.3.0-rc7-syzkaller-00060-g789b4a41c247 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/20 00:22 upstream 789b4a41c247 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __se_sys_ioctl / __tty_hangup
* Struck through repros no longer work on HEAD.