KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (11)

Status: moderation: reported on 2026/09/05 01:13
Subsystems: serial
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+ea4b6351ccb087433303@syzkaller.appspotmail.com
First crash: 1h01m, last: 1h01m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
9afe25fa assessment-kcsan Benign: ✅ KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (11) 2026/09/05 01:12 2026/09/05 01:12 2026/09/05 01:42 7ce8fcf4
Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios serial 6 5 2023d 2053d 0/29 auto-closed as invalid on 2021/03/26 07:48
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (9) serial 6 6 655d 662d 0/29 auto-obsoleted due to no activity on 2025/01/13 19:42
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (6) serial 6 1 985d 985d 0/29 auto-obsoleted due to no activity on 2024/01/28 03:42
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (10) serial 6 44 404d 449d 0/29 auto-obsoleted due to no activity on 2025/09/14 21:59
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (4) serial 6 1 1245d 1245d 0/29 auto-obsoleted due to no activity on 2023/05/14 00:05
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (5) serial 6 16 1158d 1196d 0/29 auto-obsoleted due to no activity on 2023/08/08 14:34
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (3) serial 6 2 1545d 1557d 0/29 auto-closed as invalid on 2022/07/17 12:41
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (8) serial 6 3 704d 708d 0/29 auto-obsoleted due to no activity on 2024/11/04 04:52
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (7) serial 6 51 854d 938d 0/29 auto-obsoleted due to no activity on 2024/05/31 11:08
upstream KCSAN: data-race in ppp_asynctty_receive / tty_set_termios (2) serial 6 1 1977d 1977d 0/29 auto-closed as invalid on 2021/05/17 11:47

Sample crash report:
==================================================================
BUG: KCSAN: data-race in ppp_asynctty_receive / tty_set_termios

write to 0xffff88811e4d20e0 of 44 bytes by task 7760 on cpu 0:
 tty_set_termios+0xc0/0x900 drivers/tty/tty_ioctl.c:335
 set_termios+0x4a7/0x4f0 drivers/tty/tty_ioctl.c:512
 tty_mode_ioctl+0x37f/0x5b0 drivers/tty/tty_ioctl.c:-1
 ppp_asynctty_ioctl+0xcb/0x1e0 drivers/net/ppp/ppp_async.c:258
 tty_ioctl+0x83e/0xb80 drivers/tty/tty_io.c:2774
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xce/0x140 fs/ioctl.c:583
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:583
 x64_sys_call+0x239d/0x2550 arch/x86/include/generated/asm/syscalls_64.h:17
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88811e4d20e0 of 4 bytes by task 12 on cpu 1:
 ppp_async_input drivers/net/ppp/ppp_async.c:835 [inline]
 ppp_asynctty_receive+0x676/0xc60 drivers/net/ppp/ppp_async.c:275
 tty_ldisc_receive_buf+0xbf/0xf0 drivers/tty/tty_buffer.c:398
 tty_port_default_receive_buf+0x59/0x90 drivers/tty/tty_port.c:37
 receive_buf drivers/tty/tty_buffer.c:452 [inline]
 flush_to_ldisc+0x13a/0x330 drivers/tty/tty_buffer.c:502
 process_one_work kernel/workqueue.c:3396 [inline]
 process_scheduled_works+0x56a/0xa50 kernel/workqueue.c:3479
 worker_thread+0x569/0x750 kernel/workqueue.c:3560
 kthread+0x223/0x270 kernel/kthread.c:436
 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

value changed: 0x00000500 -> 0x00000033

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_unbound flush_to_ldisc
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/05 01:12 upstream bc35965f6940 4f7b22a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in ppp_asynctty_receive / tty_set_termios
* Struck through repros no longer work on HEAD.