syzbot


KCSAN: data-race in __stop_tty / do_con_write (6)

Status: auto-obsoleted due to no activity on 2023/04/04 15:34
Subsystems: kernel
[Documentation on labels]
First crash: 455d, last: 455d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __stop_tty / do_con_write (2) serial 1 915d 915d 0/26 auto-closed as invalid on 2021/12/10 00:27
upstream KCSAN: data-race in __stop_tty / do_con_write (3) serial 2 768d 771d 0/26 auto-closed as invalid on 2022/05/05 09:26
upstream KCSAN: data-race in __stop_tty / do_con_write serial 3 987d 1026d 0/26 auto-closed as invalid on 2021/09/28 23:33
upstream KCSAN: data-race in __stop_tty / do_con_write (9) serial 2 49d 70d 0/26 auto-obsoleted due to no activity on 2024/04/23 21:59
upstream KCSAN: data-race in __stop_tty / do_con_write (8) serial 5 184d 150d 0/26 auto-obsoleted due to no activity on 2023/12/24 00:05
upstream KCSAN: data-race in __stop_tty / do_con_write (5) serial 1 541d 541d 0/26 auto-obsoleted due to no activity on 2022/12/19 02:12
upstream KCSAN: data-race in __stop_tty / do_con_write (7) serial 7 327d 340d 0/26 auto-obsoleted due to no activity on 2023/07/20 09:58
upstream KCSAN: data-race in __stop_tty / do_con_write (4) serial 1 592d 592d 0/26 auto-obsoleted due to no activity on 2022/10/28 19:26

Sample crash report:
BUG: KCSAN: data-race in __stop_tty / do_con_write

write to 0xffff88814f8231bc of 1 bytes by task 3230 on cpu 0:
 __stop_tty+0x42/0x90
 n_tty_ioctl_helper+0x21f/0x240
 n_tty_ioctl+0xfd/0x200
 tty_ioctl+0x86f/0xbc0
 __se_sys_ioctl+0xc9/0x140
 __x64_sys_ioctl+0x43/0x50
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88814f8231bc of 1 bytes by task 3217 on cpu 1:
 do_con_write+0x1459/0x35d0
 con_write+0x24/0x40
 n_tty_write+0x76b/0xa80
 file_tty_write+0x3a0/0x600
 tty_write+0x28/0x30
 vfs_write+0x45a/0x750
 ksys_write+0xeb/0x1a0
 __x64_sys_write+0x42/0x50
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 3217 Comm: syz-executor.0 Tainted: G        W          6.2.0-rc7-syzkaller-00011-g05ecb680708a-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/07 15:08 upstream 05ecb680708a 5bc3be51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __stop_tty / do_con_write
* Struck through repros no longer work on HEAD.