syzbot


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

Status: auto-obsoleted due to no activity on 2025/02/09 05:16
Subsystems: can
[Documentation on labels]
First crash: 102d, last: 102d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (3) can 1 1569d 1569d 0/28 auto-closed as invalid on 2021/01/13 02:26
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (6) can 1 583d 583d 0/28 auto-obsoleted due to no activity on 2023/09/26 01:45
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg can 1 1965d 1965d 0/28 closed as invalid on 2019/11/19 14:44
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (7) can 2 347d 348d 0/28 auto-obsoleted due to no activity on 2024/05/19 00:35
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (4) can 1 1138d 1136d 0/28 auto-closed as invalid on 2022/03/19 14:46
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (5) can 47 641d 1081d 0/28 auto-obsoleted due to no activity on 2023/07/29 11:47
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (2) can 1 1773d 1773d 0/28 closed as invalid on 2020/06/18 14:13

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

write to 0xffff88811d758f14 of 4 bytes by task 4603 on cpu 0:
 bcm_connect+0x112/0x2b0 net/can/bcm.c:1667
 __sys_connect_file net/socket.c:2055 [inline]
 __sys_connect+0x18f/0x1b0 net/socket.c:2074
 __do_sys_connect net/socket.c:2080 [inline]
 __se_sys_connect net/socket.c:2077 [inline]
 __x64_sys_connect+0x41/0x50 net/socket.c:2077
 x64_sys_call+0x22a7/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:43
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88811d758f14 of 4 bytes by task 4606 on cpu 1:
 bcm_sendmsg+0x47/0x470 net/can/bcm.c:1340
 sock_sendmsg_nosec net/socket.c:711 [inline]
 __sock_sendmsg+0x140/0x180 net/socket.c:726
 ____sys_sendmsg+0x312/0x410 net/socket.c:2583
 ___sys_sendmsg net/socket.c:2637 [inline]
 __sys_sendmsg+0x19d/0x230 net/socket.c:2669
 __do_sys_sendmsg net/socket.c:2674 [inline]
 __se_sys_sendmsg net/socket.c:2672 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2672
 x64_sys_call+0x2734/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000000 -> 0x00000016

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 4606 Comm: syz.3.403 Not tainted 6.13.0-rc2-syzkaller-00333-ga0e3919a2df2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/15 05:08 upstream a0e3919a2df2 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in bcm_connect / bcm_sendmsg
* Struck through repros no longer work on HEAD.