syzbot


KCSAN: data-race in inet_shutdown / sock_alloc_send_pskb

Status: auto-obsoleted due to no activity on 2023/03/30 10:00
Subsystems: net
[Documentation on labels]
First crash: 740d, last: 740d

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

read-write to 0xffff88812d16a7ac of 1 bytes by task 12995 on cpu 1:
 inet_shutdown+0x139/0x1f0 net/ipv4/af_inet.c:899
 __sys_shutdown_sock net/socket.c:2318 [inline]
 __sys_shutdown net/socket.c:2330 [inline]
 __do_sys_shutdown net/socket.c:2338 [inline]
 __se_sys_shutdown+0xf6/0x140 net/socket.c:2336
 __x64_sys_shutdown+0x2d/0x40 net/socket.c:2336
 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 0xffff88812d16a7ac of 1 bytes by task 12989 on cpu 0:
 sock_alloc_send_pskb+0x113/0x4f0 net/core/sock.c:2726
 sock_alloc_send_skb include/net/sock.h:1888 [inline]
 __ip6_append_data+0x1898/0x2220 net/ipv6/ip6_output.c:1678
 ip6_make_skb+0x245/0x410 net/ipv6/ip6_output.c:2050
 udpv6_sendmsg+0x125b/0x14a0 net/ipv6/udp.c:1580
 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:660
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 ____sys_sendmsg+0x38f/0x500 net/socket.c:2476
 ___sys_sendmsg net/socket.c:2530 [inline]
 __sys_sendmmsg+0x27c/0x4a0 net/socket.c:2616
 __do_sys_sendmmsg net/socket.c:2645 [inline]
 __se_sys_sendmmsg net/socket.c:2642 [inline]
 __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2642
 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: 12989 Comm: syz-executor.4 Not tainted 6.2.0-rc4-syzkaller-00067-g7287904c8771-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/19 09:30 upstream 7287904c8771 66fca3ae .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in inet_shutdown / sock_alloc_send_pskb
* Struck through repros no longer work on HEAD.