syzbot


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

Status: moderation: reported on 2026/01/29 05:40
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+3e4f2cf9b4d6658b0889@syzkaller.appspotmail.com
First crash: 2d21h, last: 2d21h
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup serial 6 2 1663d 1688d 0/29 auto-closed as invalid on 2021/08/17 17:13
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (3) serial 6 1 1018d 1018d 0/29 auto-obsoleted due to no activity on 2023/05/25 00:29
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (4) serial 6 1 788d 786d 0/29 auto-obsoleted due to no activity on 2024/01/09 21:50
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (6) serial 6 3 81d 140d 0/29 auto-obsoleted due to no activity on 2026/01/06 05:02
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (2) serial 6 1 1608d 1608d 0/29 auto-closed as invalid on 2021/10/11 17:38
upstream KCSAN: data-race in __se_sys_ioctl / __tty_hangup (5) serial 6 1 741d 741d 0/29 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 0xffff88813a38de48 of 8 bytes by task 3417 on cpu 0:
 __tty_hangup+0x1ef/0x540 drivers/tty/tty_io.c:612
 do_tty_hangup+0x1e/0x30 drivers/tty/tty_io.c:663
 process_one_work kernel/workqueue.c:3257 [inline]
 process_scheduled_works+0x4cd/0x9d0 kernel/workqueue.c:3340
 worker_thread+0x6bc/0x8b0 kernel/workqueue.c:3421
 kthread+0x488/0x510 kernel/kthread.c:463
 ret_from_fork+0x148/0x280 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246

read to 0xffff88813a38de48 of 8 bytes by task 7977 on cpu 1:
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xa1/0x140 fs/ioctl.c:583
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:583
 x64_sys_call+0x14b0/0x3000 arch/x86/include/generated/asm/syscalls_64.h:17
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0xffffffff85aa61c0 -> 0xffffffff85aa60b0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 7977 Comm: syz.8.1114 Tainted: G        W           syzkaller #0 PREEMPT(voluntary) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/29 05:40 upstream 8dfce8991b95 0adc945e .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.