syzbot


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

Status: auto-closed as invalid on 2022/04/17 15:57
Subsystems: can
[Documentation on labels]
First crash: 768d, last: 768d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg can 1 890d 890d 0/26 auto-closed as invalid on 2021/12/16 09:51
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (5) can 3 162d 192d 0/26 auto-obsoleted due to no activity on 2023/12/13 23:05
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (4) can 1 257d 257d 0/26 auto-obsoleted due to no activity on 2023/09/10 09:53
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (3) can 1 321d 321d 0/26 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 0xffff8881535d23e8 of 4 bytes by task 21252 on cpu 0:
 isotp_create_fframe net/can/isotp.c:748 [inline]
 isotp_sendmsg+0xa9e/0x1140 net/can/isotp.c:963
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg net/socket.c:725 [inline]
 ____sys_sendmsg+0x39a/0x510 net/socket.c:2413
 ___sys_sendmsg net/socket.c:2467 [inline]
 __sys_sendmsg+0x195/0x230 net/socket.c:2496
 __do_sys_sendmsg net/socket.c:2505 [inline]
 __se_sys_sendmsg net/socket.c:2503 [inline]
 __x64_sys_sendmsg+0x42/0x50 net/socket.c:2503
 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 0xffff8881535d23e8 of 4 bytes by task 21253 on cpu 1:
 isotp_sendmsg+0x4f/0x1140 net/can/isotp.c:862
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg net/socket.c:725 [inline]
 __sys_sendto+0x21e/0x2c0 net/socket.c:2040
 __do_sys_sendto net/socket.c:2052 [inline]
 __se_sys_sendto net/socket.c:2048 [inline]
 __x64_sys_sendto+0x74/0x90 net/socket.c:2048
 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: 1 PID: 21253 Comm: syz-executor.4 Not tainted 5.17.0-rc7-syzkaller-00235-gaad611a868d1-dirty #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
2022/03/13 15:52 upstream aad611a868d1 9e8eaa75 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in isotp_sendmsg / isotp_sendmsg
* Struck through repros no longer work on HEAD.