syzbot


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

Status: auto-obsoleted due to no activity on 2023/04/24 09:42
Subsystems: net
[Documentation on labels]
First crash: 476d, last: 410d
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 (2) net 7 528d 619d 0/26 auto-obsoleted due to no activity on 2023/01/02 14:46
upstream KCSAN: data-race in unix_shutdown / unix_stream_sendmsg net 5 661d 685d 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 0xffff888138ea38ec of 1 bytes by task 9083 on cpu 1:
 unix_shutdown+0x72/0x360 net/unix/af_unix.c:3011
 __sys_shutdown_sock net/socket.c:2343 [inline]
 __sys_shutdown net/socket.c:2355 [inline]
 __do_sys_shutdown net/socket.c:2363 [inline]
 __se_sys_shutdown+0xf8/0x140 net/socket.c:2361
 __x64_sys_shutdown+0x31/0x40 net/socket.c:2361
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff888138ea38ec of 1 bytes by task 9079 on cpu 0:
 unix_stream_sendmsg+0x1ff/0xa90 net/unix/af_unix.c:2197
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg+0x79/0xd0 net/socket.c:747
 io_send+0x255/0x8d0 io_uring/net.c:392
 io_issue_sqe+0x147/0x660 io_uring/io_uring.c:1907
 io_queue_sqe io_uring/io_uring.c:2079 [inline]
 io_submit_sqe io_uring/io_uring.c:2340 [inline]
 io_submit_sqes+0x689/0xfe0 io_uring/io_uring.c:2450
 __do_sys_io_uring_enter io_uring/io_uring.c:3458 [inline]
 __se_sys_io_uring_enter+0x1e5/0x1b70 io_uring/io_uring.c:3392
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3392
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9079 Comm: syz-executor.3 Not tainted 6.3.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/20 09:34 upstream e8d018dd0257 7939252e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2023/01/29 16:24 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
2023/01/13 18:07 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in unix_shutdown / unix_stream_sendmsg
* Struck through repros no longer work on HEAD.