syzbot


KCSAN: data-race in unix_shutdown / unix_stream_sendmsg (2)

Status: auto-obsoleted due to no activity on 2023/01/02 14:46
Subsystems: net
[Documentation on labels]
First crash: 613d, last: 521d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in unix_shutdown / unix_stream_sendmsg (3) net 3 403d 469d 0/26 auto-obsoleted due to no activity on 2023/04/24 09:42
upstream KCSAN: data-race in unix_shutdown / unix_stream_sendmsg net 5 654d 679d 0/26 auto-closed as invalid on 2022/08/16 18:19

Sample crash report:
==================================================================
BUG: KCSAN: data-race in unix_shutdown / unix_stream_sendmsg

read-write to 0xffff888103b1e462 of 1 bytes by task 12426 on cpu 0:
 unix_shutdown+0x6d/0x380 net/unix/af_unix.c:2997
 __sys_shutdown_sock net/socket.c:2324 [inline]
 __sys_shutdown net/socket.c:2336 [inline]
 __do_sys_shutdown net/socket.c:2344 [inline]
 __se_sys_shutdown+0xf6/0x140 net/socket.c:2342
 __x64_sys_shutdown+0x2d/0x40 net/socket.c:2342
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888103b1e462 of 1 bytes by task 12424 on cpu 1:
 unix_stream_sendmsg+0x226/0xaa0 net/unix/af_unix.c:2183
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0x75/0xa0 net/socket.c:734
 io_send+0x27d/0x9d0 io_uring/net.c:377
 io_issue_sqe+0x30f/0x850 io_uring/io_uring.c:1743
 io_queue_sqe io_uring/io_uring.c:1916 [inline]
 io_submit_sqe+0x3b1/0xa40 io_uring/io_uring.c:2174
 io_submit_sqes+0x274/0x530 io_uring/io_uring.c:2285
 __do_sys_io_uring_enter io_uring/io_uring.c:3220 [inline]
 __se_sys_io_uring_enter+0x1ef/0xc00 io_uring/io_uring.c:3152
 __x64_sys_io_uring_enter+0x74/0x80 io_uring/io_uring.c:3152
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 12424 Comm: syz-executor.5 Tainted: G        W          6.1.0-rc6-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/22 15:45 upstream eb7081409f94 9da37ae8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2022/11/20 20:07 upstream 77c51ba552a1 5bb70014 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2022/11/02 00:06 upstream f526d6a82242 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2022/10/20 09:46 upstream aae703b02f92 b31320fc .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2022/09/20 02:57 upstream 521a547ced64 dd9a85ff .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2022/09/08 11:49 upstream 0066f1b0e275 f3027468 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2022/08/23 02:39 upstream 072e51356cd5 26a13b38 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
* Struck through repros no longer work on HEAD.