syzbot


KCSAN: data-race in do_recvmmsg / sock_alloc_send_pskb

Status: closed as invalid on 2020/01/09 14:13
Subsystems: net
[Documentation on labels]
First crash: 1606d, last: 1593d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_recvmmsg / sock_alloc_send_pskb (2) net 2 1480d 1536d 0/26 auto-closed as invalid on 2020/06/09 02:35

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

write to 0xffff8880b053ba30 of 4 bytes by task 26410 on cpu 0:
 do_recvmmsg+0x4de/0x5c0 net/socket.c:2657
 __sys_recvmmsg+0x1ef/0x200 net/socket.c:2680
 __do_sys_recvmmsg net/socket.c:2703 [inline]
 __se_sys_recvmmsg net/socket.c:2696 [inline]
 __x64_sys_recvmmsg+0x89/0xb0 net/socket.c:2696
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880b053ba30 of 4 bytes by task 26414 on cpu 1:
 sock_error include/net/sock.h:2167 [inline]
 sock_alloc_send_pskb+0xc2/0x530 net/core/sock.c:2224
 sock_alloc_send_skb+0x3b/0x50 net/core/sock.c:2261
 llc_ui_sendmsg+0x1f3/0xa20 net/llc/af_llc.c:937
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:657
 ___sys_sendmsg+0x2b7/0x5d0 net/socket.c:2311
 __sys_sendmmsg+0x123/0x350 net/socket.c:2413
 __do_sys_sendmmsg net/socket.c:2442 [inline]
 __se_sys_sendmmsg net/socket.c:2439 [inline]
 __x64_sys_sendmmsg+0x64/0x80 net/socket.c:2439
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 26414 Comm: syz-executor.1 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/09 06:59 https://github.com/google/ktsan.git kcsan ef798c30ba4e 1508f453 .config console log report ci2-upstream-kcsan-gce
2019/11/26 03:48 https://github.com/google/ktsan.git kcsan 5863cc791e4c 598ca6c8 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.