syzbot


KCSAN: data-race in tipc_poll / tipc_sk_proto_rcv (4)

Status: auto-obsoleted due to no activity on 2025/06/18 09:51
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+e5303be9ad4d4ff7911f@syzkaller.appspotmail.com
First crash: 104d, last: 97d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in tipc_poll / tipc_sk_proto_rcv tipc 6 1 750d 750d 0/29 auto-obsoleted due to no activity on 2023/08/04 11:38
upstream KCSAN: data-race in tipc_poll / tipc_sk_proto_rcv (2) tipc 6 1 391d 391d 0/29 auto-obsoleted due to no activity on 2024/07/29 09:10
upstream KCSAN: data-race in tipc_poll / tipc_sk_proto_rcv (3) tipc 6 1 346d 346d 0/29 auto-obsoleted due to no activity on 2024/09/11 16:33

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

read-write to 0xffff888103685786 of 2 bytes by task 8807 on cpu 0:
 tipc_sk_conn_proto_rcv net/tipc/socket.c:1367 [inline]
 tipc_sk_proto_rcv+0x672/0xb70 net/tipc/socket.c:2156
 tipc_sk_filter_rcv+0x18ed/0x1a20 net/tipc/socket.c:2350
 tipc_sk_enqueue net/tipc/socket.c:2443 [inline]
 tipc_sk_rcv+0x48b/0x1020 net/tipc/socket.c:2495
 tipc_node_xmit+0x234/0x8b0 net/tipc/node.c:1701
 tipc_node_xmit_skb+0x99/0xd0 net/tipc/node.c:1766
 tipc_sk_send_ack+0x265/0x280 net/tipc/socket.c:1824
 tipc_recvstream+0x3b2/0x7e0 net/tipc/socket.c:2093
 sock_recvmsg_nosec net/socket.c:1017 [inline]
 sock_recvmsg+0x13f/0x170 net/socket.c:1039
 ____sys_recvmsg+0xfb/0x290 net/socket.c:2786
 ___sys_recvmsg net/socket.c:2828 [inline]
 __sys_recvmsg+0x1c7/0x270 net/socket.c:2861
 __do_sys_recvmsg net/socket.c:2867 [inline]
 __se_sys_recvmsg net/socket.c:2864 [inline]
 __x64_sys_recvmsg+0x46/0x50 net/socket.c:2864
 x64_sys_call+0xc6d/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:48
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888103685786 of 2 bytes by task 8809 on cpu 1:
 tsk_conn_cong net/tipc/socket.c:222 [inline]
 tipc_poll+0x1f6/0x360 net/tipc/socket.c:806
 sock_poll+0x22d/0x250 net/socket.c:1379
 vfs_poll include/linux/poll.h:82 [inline]
 __io_arm_poll_handler+0x1e5/0xd40 io_uring/poll.c:583
 io_arm_poll_handler+0x4b0/0x5f0 io_uring/poll.c:708
 io_queue_async+0x8a/0x460 io_uring/io_uring.c:1947
 io_queue_sqe io_uring/io_uring.c:1976 [inline]
 io_submit_sqe io_uring/io_uring.c:2225 [inline]
 io_submit_sqes+0x9f2/0x1050 io_uring/io_uring.c:2342
 __do_sys_io_uring_enter io_uring/io_uring.c:3402 [inline]
 __se_sys_io_uring_enter+0x1ce/0x1c00 io_uring/io_uring.c:3336
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3336
 x64_sys_call+0x26cb/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:427
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x020a -> 0x0188

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 8809 Comm: syz.1.1674 Not tainted 6.15.0-rc2-syzkaller #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/14 06:41 upstream 8ffd015db85f 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tipc_poll / tipc_sk_proto_rcv
2025/04/12 00:51 upstream e618ee89561b 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tipc_poll / tipc_sk_proto_rcv
2025/04/06 23:05 upstream 0af2f6be1b42 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tipc_poll / tipc_sk_proto_rcv
* Struck through repros no longer work on HEAD.