syzbot


KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (11)

Status: moderation: reported on 2024/08/10 05:07
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+bd604efc607d61854e34@syzkaller.appspotmail.com
First crash: 33d, last: 33d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (3) serial 1 736d 736d 0/27 auto-obsoleted due to no activity on 2022/10/12 09:32
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common serial 3 998d 1041d 0/27 auto-closed as invalid on 2022/01/22 22:31
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (10) serial 2 126d 149d 0/27 auto-obsoleted due to no activity on 2024/06/13 09:39
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (4) serial 1 675d 675d 0/27 auto-obsoleted due to no activity on 2022/12/12 09:48
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (6) serial 2 404d 408d 0/27 auto-obsoleted due to no activity on 2023/09/09 12:48
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (9) serial 2 226d 227d 0/27 auto-obsoleted due to no activity on 2024/03/05 13:33
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (7) serial 1 367d 367d 0/27 auto-obsoleted due to no activity on 2023/10/16 13:09
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (2) serial 1 852d 852d 0/27 auto-closed as invalid on 2022/06/18 01:09
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (8) serial 1 267d 267d 0/27 auto-obsoleted due to no activity on 2024/01/24 11:50
upstream KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common (5) serial 1 508d 508d 0/27 auto-obsoleted due to no activity on 2023/05/28 00:42

Sample crash report:
BUG: KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common

write to 0xffff88811d2025dc of 4 bytes by task 12388 on cpu 0:
 tty_set_flow_change drivers/tty/tty.h:59 [inline]
 n_tty_check_unthrottle+0xd7/0x1c0 drivers/tty/n_tty.c:280
 n_tty_read+0xf0b/0x11d0 drivers/tty/n_tty.c:2312
 iterate_tty_read drivers/tty/tty_io.c:862 [inline]
 tty_read+0x15b/0x480 drivers/tty/tty_io.c:937
 new_sync_read fs/read_write.c:395 [inline]
 vfs_read+0x5e9/0x6e0 fs/read_write.c:476
 ksys_read+0xeb/0x1b0 fs/read_write.c:619
 __do_sys_read fs/read_write.c:629 [inline]
 __se_sys_read fs/read_write.c:627 [inline]
 __x64_sys_read+0x42/0x50 fs/read_write.c:627
 x64_sys_call+0x27d3/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:1
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:893


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/10 05:06 upstream afdab700f65e 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in n_tty_check_unthrottle / n_tty_receive_buf_common
* Struck through repros no longer work on HEAD.