syzbot


KCSAN: data-race in __tipc_sendstream / tipc_poll

Status: auto-closed as invalid on 2022/03/05 19:55
Reported-by: syzbot+bb6c56c84540bc666c8a@syzkaller.appspotmail.com
First crash: 219d, last: 190d

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

write to 0xffff8881348bef7e of 2 bytes by task 5621 on cpu 1:
 __tipc_sendstream+0x80b/0xb40 net/tipc/socket.c:1631
 tipc_sendstream+0x3a/0x50 net/tipc/socket.c:1549
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg net/socket.c:725 [inline]
 sock_write_iter+0x1a3/0x200 net/socket.c:1061
 call_write_iter include/linux/fs.h:2074 [inline]
 new_sync_write fs/read_write.c:503 [inline]
 vfs_write+0x7f5/0x950 fs/read_write.c:590
 ksys_write+0xd9/0x190 fs/read_write.c:643
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881348bef7e of 2 bytes by task 5624 on cpu 0:
 tsk_conn_cong net/tipc/socket.c:224 [inline]
 tipc_poll+0x1d9/0x340 net/tipc/socket.c:807
 sock_poll+0x23e/0x260 net/socket.c:1306
 vfs_poll include/linux/poll.h:88 [inline]
 do_select+0x7a5/0xeb0 fs/select.c:538
 core_sys_select+0x440/0x6d0 fs/select.c:681
 do_pselect fs/select.c:763 [inline]
 __do_sys_pselect6+0x1ea/0x250 fs/select.c:804
 __se_sys_pselect6 fs/select.c:795 [inline]
 __x64_sys_pselect6+0x74/0x80 fs/select.c:795
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0082 -> 0x00c3

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 5624 Comm: syz-executor.3 Tainted: G        W         5.17.0-rc1-syzkaller-00339-g169387e2aa29-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/01/29 19:54 upstream 169387e2aa29 495e00c5 .config log report info KCSAN: data-race in __tipc_sendstream / tipc_poll
ci2-upstream-kcsan-gce 2022/01/08 21:59 upstream 21f35d2ca83e 2ca0d385 .config log report info KCSAN: data-race in __tipc_sendstream / tipc_poll
ci2-upstream-kcsan-gce 2022/01/08 19:56 upstream d1587f7bfe9a 2ca0d385 .config log report info KCSAN: data-race in __tipc_sendstream / tipc_poll
ci2-upstream-kcsan-gce 2021/12/31 12:29 upstream 4f3d93c6eaff 36bd2e48 .config log report info KCSAN: data-race in __tipc_sendstream / tipc_poll