syzbot


KCSAN: data-race in dccp_poll / dccp_rcv_reset

Status: auto-closed as invalid on 2022/03/21 09:54
Subsystems: dccp
[Documentation on labels]
First crash: 800d, last: 800d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in dccp_poll / dccp_rcv_reset (2) dccp 13 566d 700d 0/26 auto-obsoleted due to no activity on 2022/11/10 15:55

Sample crash report:
==================================================================
BUG: KCSAN: data-race in dccp_poll / dccp_rcv_reset

write to 0xffff8881347c38aa of 1 bytes by task 6674 on cpu 0:
 dccp_fin net/dccp/input.c:38 [inline]
 dccp_rcv_reset+0xae/0x190 net/dccp/input.c:152
 dccp_rcv_state_process+0x2f4/0xdc0 net/dccp/input.c:662
 dccp_v4_do_rcv+0x8f/0xd0 net/dccp/ipv4.c:696
 sk_backlog_rcv include/net/sock.h:1037 [inline]
 __release_sock+0xf2/0x270 net/core/sock.c:2779
 release_sock+0x40/0x110 net/core/sock.c:3311
 inet_wait_for_connect net/ipv4/af_inet.c:593 [inline]
 __inet_stream_connect+0x434/0x6e0 net/ipv4/af_inet.c:685
 inet_stream_connect+0x44/0x70 net/ipv4/af_inet.c:724
 __sys_connect_file+0xd3/0xe0 net/socket.c:1900
 io_connect fs/io_uring.c:5352 [inline]
 io_issue_sqe+0x41a4/0x9610 fs/io_uring.c:6791
 io_wq_submit_work+0x1c5/0x370 fs/io_uring.c:6915
 io_worker_handle_work+0x51b/0xc10 fs/io-wq.c:588
 io_wqe_worker+0x1bc/0x4f0 fs/io-wq.c:639
 ret_from_fork+0x1f/0x30

read to 0xffff8881347c38aa of 1 bytes by task 6675 on cpu 1:
 dccp_poll+0xe0/0x3c0 net/dccp/proto.c:326
 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: 0x00 -> 0x03

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/14 09:48 upstream 754e0b0e3560 8b9ca619 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in dccp_poll / dccp_rcv_reset
* Struck through repros no longer work on HEAD.