syzbot


KCSAN: data-race in __tipc_sendstream / tipc_poll (3)

Status: moderation: reported on 2026/01/12 16:22
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+c9ba86847ecac1751d2a@syzkaller.appspotmail.com
First crash: 18d, last: 13d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __tipc_sendstream / tipc_poll (2) tipc 6 2 289d 292d 0/29 auto-obsoleted due to no activity on 2025/05/25 13:47
upstream KCSAN: data-race in __tipc_sendstream / tipc_poll tipc 6 4 1445d 1460d 0/29 auto-closed as invalid on 2022/03/05 19:55

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __tipc_sendstream / tipc_poll

read-write to 0xffff8881040358e6 of 2 bytes by task 5169 on cpu 0:
 __tipc_sendstream+0x7e1/0xb20 net/tipc/socket.c:1628
 tipc_sendstream+0x3e/0x60 net/tipc/socket.c:1546
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg+0x145/0x180 net/socket.c:742
 sock_write_iter+0x1a7/0x1f0 net/socket.c:1195
 new_sync_write fs/read_write.c:593 [inline]
 vfs_write+0x52a/0x960 fs/read_write.c:686
 ksys_write+0xda/0x1a0 fs/read_write.c:738
 __do_sys_write fs/read_write.c:749 [inline]
 __se_sys_write fs/read_write.c:746 [inline]
 __x64_sys_write+0x40/0x50 fs/read_write.c:746
 x64_sys_call+0x2847/0x3000 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xca/0x2b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881040358e6 of 2 bytes by task 5165 on cpu 1:
 tsk_conn_cong net/tipc/socket.c:222 [inline]
 tipc_poll+0x1f9/0x350 net/tipc/socket.c:806
 sock_poll+0x20d/0x230 net/socket.c:1443
 vfs_poll include/linux/poll.h:82 [inline]
 io_poll_check_events io_uring/poll.c:280 [inline]
 io_poll_task_func+0x127/0x760 io_uring/poll.c:336
 io_handle_tw_list+0x122/0x230 io_uring/io_uring.c:1121
 tctx_task_work_run+0x42/0x160 io_uring/io_uring.c:1181
 tctx_task_work+0x3f/0x80 io_uring/io_uring.c:1199
 task_work_run+0x131/0x1a0 kernel/task_work.c:233
 get_signal+0xe12/0xf70 kernel/signal.c:2807
 arch_do_signal_or_restart+0x96/0x450 arch/x86/kernel/signal.c:337
 __exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
 exit_to_user_mode_loop+0x6a/0x740 kernel/entry/common.c:75
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
 do_syscall_64+0x1e1/0x2b0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x01c7 -> 0x0208

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 5165 Comm: syz.1.11632 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 (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/31 11:10 upstream c8ebd433459b d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tipc_sendstream / tipc_poll
2025/12/29 14:44 upstream 7839932417dd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tipc_sendstream / tipc_poll
2025/12/26 09:05 upstream ccd1cdca5cd4 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tipc_sendstream / tipc_poll
* Struck through repros no longer work on HEAD.