syzbot


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

Status: auto-obsoleted due to no activity on 2024/02/25 23:19
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+e9e338fda9dbcfec1167@syzkaller.appspotmail.com
First crash: 90d, last: 90d
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 1012d 1037d 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 367d 367d 0/26 auto-obsoleted due to no activity on 2023/05/25 00:29
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (4) serial 1 137d 135d 0/26 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 957d 957d 0/26 auto-closed as invalid on 2021/10/11 17:38

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

write to 0xffff88813231e0b0 of 8 bytes by task 30200 on cpu 0:
 __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:2743
 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:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88813231e0b0 of 8 bytes by task 30196 on cpu 1:
 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:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0xffffffff859c8e20 -> 0xffffffff85097340

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 30196 Comm: syz-executor.1 Tainted: G        W          6.7.0-syzkaller-13004-g4fbbed787267 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/21 23:18 upstream 4fbbed787267 9bd8dcda .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.