syzbot


KCSAN: data-race in sock_alloc_send_pskb / unix_shutdown (5)

Status: auto-obsoleted due to no activity on 2022/10/28 02:20
Subsystems: net
[Documentation on labels]
First crash: 581d, last: 581d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in sock_alloc_send_pskb / unix_shutdown (2) net 1 1037d 1037d 0/26 auto-closed as invalid on 2021/07/29 06:04
upstream KCSAN: data-race in sock_alloc_send_pskb / unix_shutdown (6) net 8 382d 529d 0/26 auto-obsoleted due to no activity on 2023/05/15 10:22
upstream KCSAN: data-race in sock_alloc_send_pskb / unix_shutdown net 1 1395d 1395d 0/26 auto-closed as invalid on 2020/08/04 22:26
upstream KCSAN: data-race in sock_alloc_send_pskb / unix_shutdown (4) net 5 647d 673d 0/26 auto-closed as invalid on 2022/08/23 19:49
upstream KCSAN: data-race in sock_alloc_send_pskb / unix_shutdown (3) net 3 950d 983d 0/26 auto-closed as invalid on 2021/10/24 10:54

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

read-write to 0xffff888103982f22 of 1 bytes by task 28699 on cpu 1:
 unix_shutdown+0x6d/0x380 net/unix/af_unix.c:2982
 __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 0xffff888103982f22 of 1 bytes by task 28698 on cpu 0:
 sock_alloc_send_pskb+0x113/0x4f0 net/core/sock.c:2650
 unix_stream_sendmsg+0x3a5/0xaa0 net/unix/af_unix.c:2168
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0x75/0xa0 net/socket.c:734
 io_send+0x1a9/0x3a0 io_uring/net.c:351
 io_issue_sqe+0x386/0x900 io_uring/io_uring.c:1577
 io_queue_sqe io_uring/io_uring.c:1755 [inline]
 io_submit_sqe+0x3b6/0xa40 io_uring/io_uring.c:2013
 io_submit_sqes+0x274/0x530 io_uring/io_uring.c:2124
 __do_sys_io_uring_enter io_uring/io_uring.c:3054 [inline]
 __se_sys_io_uring_enter+0x254/0xa50 io_uring/io_uring.c:2984
 __x64_sys_io_uring_enter+0x74/0x80 io_uring/io_uring.c:2984
 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: 0 PID: 28698 Comm: syz-executor.1 Not tainted 6.0.0-rc6-syzkaller-00045-gdc164f4fb00a-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/23 02:09 upstream dc164f4fb00a 0042f2b4 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in sock_alloc_send_pskb / unix_shutdown
* Struck through repros no longer work on HEAD.