syzbot


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

Status: auto-obsoleted due to no activity on 2023/07/07 22:13
Subsystems: can
[Documentation on labels]
First crash: 335d, last: 335d
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 903d 903d 0/26 auto-closed as invalid on 2021/12/16 09:51
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (5) can 3 176d 206d 0/26 auto-obsoleted due to no activity on 2023/12/13 23:05
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (2) can 1 781d 781d 0/26 auto-closed as invalid on 2022/04/17 15:57
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (4) can 1 270d 270d 0/26 auto-obsoleted due to no activity on 2023/09/10 09:53

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

write to 0xffff88813da324b4 of 4 bytes by task 10319 on cpu 0:
 isotp_sendmsg+0x3b1/0xc70 net/can/isotp.c:1123
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg net/socket.c:747 [inline]
 ____sys_sendmsg+0x375/0x4c0 net/socket.c:2503
 ___sys_sendmsg net/socket.c:2557 [inline]
 __sys_sendmsg+0x1e3/0x270 net/socket.c:2586
 __do_sys_sendmsg net/socket.c:2595 [inline]
 __se_sys_sendmsg net/socket.c:2593 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2593
 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 0xffff88813da324b4 of 4 bytes by task 10323 on cpu 1:
 isotp_sendmsg+0x213/0xc70 net/can/isotp.c:963
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg net/socket.c:747 [inline]
 ____sys_sendmsg+0x375/0x4c0 net/socket.c:2503
 ___sys_sendmsg net/socket.c:2557 [inline]
 __sys_sendmsg+0x1e3/0x270 net/socket.c:2586
 __do_sys_sendmsg net/socket.c:2595 [inline]
 __se_sys_sendmsg net/socket.c:2593 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2593
 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: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 10323 Comm: syz-executor.5 Not tainted 6.4.0-rc4-syzkaller-00204-gc43a6ff9f93f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/02 22:05 upstream c43a6ff9f93f a4ae4f42 .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.