syzbot


KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (6)

Status: auto-obsoleted due to no activity on 2024/06/23 13:44
Subsystems: can
[Documentation on labels]
First crash: 316d, last: 304d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (7) can 3 224d 248d 0/28 auto-obsoleted due to no activity on 2024/09/11 12:09
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg can 1 1224d 1224d 0/28 auto-closed as invalid on 2021/12/16 09:51
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (5) can 3 497d 527d 0/28 auto-obsoleted due to no activity on 2023/12/13 23:05
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (2) can 1 1102d 1102d 0/28 auto-closed as invalid on 2022/04/17 15:57
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (4) can 1 591d 591d 0/28 auto-obsoleted due to no activity on 2023/09/10 09:53
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (3) can 1 656d 656d 0/28 auto-obsoleted due to no activity on 2023/07/07 22:13

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

write to 0xffff888101e724a4 of 4 bytes by task 14739 on cpu 0:
 isotp_sendmsg+0x916/0xc00 net/can/isotp.c:1068
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x140/0x180 net/socket.c:745
 ____sys_sendmsg+0x312/0x410 net/socket.c:2585
 ___sys_sendmsg net/socket.c:2639 [inline]
 __sys_sendmsg+0x1e9/0x280 net/socket.c:2668
 __do_sys_sendmsg net/socket.c:2677 [inline]
 __se_sys_sendmsg net/socket.c:2675 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2675
 x64_sys_call+0xae9/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888101e724a4 of 4 bytes by task 14738 on cpu 1:
 isotp_sendmsg+0xba/0xc00 net/can/isotp.c:949
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x140/0x180 net/socket.c:745
 ____sys_sendmsg+0x312/0x410 net/socket.c:2585
 ___sys_sendmsg net/socket.c:2639 [inline]
 __sys_sendmsg+0x1e9/0x280 net/socket.c:2668
 __do_sys_sendmsg net/socket.c:2677 [inline]
 __se_sys_sendmsg net/socket.c:2675 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2675
 x64_sys_call+0xae9/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:47
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 14738 Comm: syz-executor.0 Tainted: G        W          6.9.0-syzkaller-08995-g0450d2083be6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/19 13:38 upstream 0450d2083be6 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in isotp_sendmsg / isotp_sendmsg
2024/05/07 08:22 upstream dccb07f2914c fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in isotp_sendmsg / isotp_sendmsg
* Struck through repros no longer work on HEAD.