syzbot


KCSAN: data-race in isotp_bind / isotp_sendmsg

Status: auto-closed as invalid on 2022/01/07 22:18
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 359d, last: 359d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in isotp_bind / isotp_sendmsg

write to 0xffff888137bf0310 of 4 bytes by task 5705 on cpu 1:
 isotp_bind+0x54c/0x650 net/can/isotp.c:1174
 __sys_bind+0x14b/0x1b0 net/socket.c:1693
 __do_sys_bind net/socket.c:1704 [inline]
 __se_sys_bind net/socket.c:1702 [inline]
 __x64_sys_bind+0x3d/0x50 net/socket.c:1702
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888137bf0310 of 4 bytes by task 5709 on cpu 0:
 isotp_sendmsg+0x9a/0x10e0 net/can/isotp.c:860
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x39a/0x510 net/socket.c:2409
 ___sys_sendmsg net/socket.c:2463 [inline]
 __sys_sendmmsg+0x267/0x4c0 net/socket.c:2549
 __do_sys_sendmmsg net/socket.c:2578 [inline]
 __se_sys_sendmmsg net/socket.c:2575 [inline]
 __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2575
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000 -> 0x00000001

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

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/12/03 22:11 upstream 5f58da2befa5 c7c20675 .config log report info KCSAN: data-race in isotp_bind / isotp_sendmsg
* Struck through repros no longer work on HEAD.