syzbot


KCSAN: data-race in bcm_connect / bcm_sendmsg (2)

Status: closed as invalid on 2020/06/18 14:13
Subsystems: can
[Documentation on labels]
First crash: 1436d, last: 1436d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (3) can 1 1232d 1232d 0/26 auto-closed as invalid on 2021/01/13 02:26
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (6) can 1 246d 246d 0/26 auto-obsoleted due to no activity on 2023/09/26 01:45
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg can 1 1628d 1628d 0/26 closed as invalid on 2019/11/19 14:44
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (4) can 1 802d 800d 0/26 auto-closed as invalid on 2022/03/19 14:46
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (5) can 47 305d 745d 0/26 auto-obsoleted due to no activity on 2023/07/29 11:47

Sample crash report:
==================================================================
BUG: KCSAN: data-race in bcm_connect / bcm_sendmsg

write to 0xffff888096c52ef8 of 4 bytes by task 11883 on cpu 1:
 bcm_connect+0x15e/0x270 net/can/bcm.c:1586
 __sys_connect_file+0xdc/0xf0 net/socket.c:1859
 __sys_connect+0x11b/0x150 net/socket.c:1876
 __do_sys_connect net/socket.c:1887 [inline]
 __se_sys_connect net/socket.c:1884 [inline]
 __x64_sys_connect+0x48/0x60 net/socket.c:1884
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888096c52ef8 of 4 bytes by task 11884 on cpu 0:
 bcm_sendmsg+0x74/0x289f net/can/bcm.c:1275
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0x98/0xc0 net/socket.c:672
 ____sys_sendmsg+0x493/0x4c0 net/socket.c:2362
 ___sys_sendmsg+0xb5/0x100 net/socket.c:2416
 __sys_sendmsg+0x9b/0x150 net/socket.c:2449
 __do_sys_sendmsg net/socket.c:2458 [inline]
 __se_sys_sendmsg net/socket.c:2456 [inline]
 __x64_sys_sendmsg+0x4c/0x60 net/socket.c:2456
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/19 01:40 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 684d3606 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.