syzbot


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

Status: auto-obsoleted due to no activity on 2023/09/26 01:45
Subsystems: can
[Documentation on labels]
First crash: 254d, last: 254d
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 1240d 1240d 0/26 auto-closed as invalid on 2021/01/13 02:26
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg can 1 1636d 1636d 0/26 closed as invalid on 2019/11/19 14:44
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (4) can 1 809d 807d 0/26 auto-closed as invalid on 2022/03/19 14:46
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (5) can 47 312d 752d 0/26 auto-obsoleted due to no activity on 2023/07/29 11:47
upstream KCSAN: data-race in bcm_connect / bcm_sendmsg (2) can 1 1444d 1444d 0/26 closed as invalid on 2020/06/18 14:13

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

write to 0xffff88813776bf10 of 4 bytes by task 16122 on cpu 0:
 bcm_connect+0x205/0x2b0 net/can/bcm.c:1641
 __sys_connect_file net/socket.c:1992 [inline]
 __sys_connect+0x1a1/0x1b0 net/socket.c:2009
 __do_sys_connect net/socket.c:2019 [inline]
 __se_sys_connect net/socket.c:2016 [inline]
 __x64_sys_connect+0x41/0x50 net/socket.c:2016
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88813776bf10 of 4 bytes by task 16123 on cpu 1:
 bcm_sendmsg+0x6b/0x470 net/can/bcm.c:1303
 sock_sendmsg_nosec net/socket.c:725 [inline]
 sock_sendmsg net/socket.c:748 [inline]
 ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2494
 ___sys_sendmsg net/socket.c:2548 [inline]
 __sys_sendmmsg+0x269/0x500 net/socket.c:2634
 __do_sys_sendmmsg net/socket.c:2663 [inline]
 __se_sys_sendmmsg net/socket.c:2660 [inline]
 __x64_sys_sendmmsg+0x57/0x60 net/socket.c:2660
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 16123 Comm: syz-executor.3 Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/22 01:34 upstream f7757129e3de 6b415825 .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.