syzbot


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

Status: auto-obsoleted due to no activity on 2024/01/09 21:50
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+78cbd9047e9c2f144fbc@syzkaller.appspotmail.com
First crash: 171d, last: 171d
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 1046d 1071d 0/26 auto-closed as invalid on 2021/08/17 17:13
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (3) serial 1 401d 401d 0/26 auto-obsoleted due to no activity on 2023/05/25 00:29
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (2) serial 1 991d 991d 0/26 auto-closed as invalid on 2021/10/11 17:38
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (5) serial 1 124d 124d 0/26 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 0xffff8881099686b0 of 8 bytes by task 18867 on cpu 1:
 __tty_hangup+0x1e8/0x530 drivers/tty/tty_io.c:621
 tty_vhangup drivers/tty/tty_io.c:700 [inline]
 tty_ioctl+0x60a/0xbc0 drivers/tty/tty_io.c:2720
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:857
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff8881099686b0 of 8 bytes by task 18869 on cpu 0:
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xa6/0x140 fs/ioctl.c:857
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0xffffffff84e96298 -> 0xffffffff84e96130

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 18869 Comm: syz-executor.4 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/05 21:49 upstream bee0e7762ad2 858d62d1 .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.