syzbot


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

Status: auto-obsoleted due to no activity on 2023/12/13 23:05
Subsystems: can
[Documentation on labels]
First crash: 205d, last: 175d
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 (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
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (3) can 1 334d 334d 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

read to 0xffff888107fa24b4 of 4 bytes by task 11340 on cpu 0:
 isotp_sendmsg+0x221/0xbf0 net/can/isotp.c:960
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2588
 ___sys_sendmsg net/socket.c:2642 [inline]
 __sys_sendmsg+0x1e9/0x270 net/socket.c:2671
 __do_sys_sendmsg net/socket.c:2680 [inline]
 __se_sys_sendmsg net/socket.c:2678 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2678
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

write to 0xffff888107fa24b4 of 4 bytes by task 11334 on cpu 1:
 isotp_sendmsg+0x35e/0xbf0 net/can/isotp.c:1115
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 __sys_sendto+0x257/0x310 net/socket.c:2194
 __do_sys_sendto net/socket.c:2206 [inline]
 __se_sys_sendto net/socket.c:2202 [inline]
 __x64_sys_sendto+0x78/0x90 net/socket.c:2202
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000001 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11334 Comm: syz-executor.4 Not tainted 6.6.0-syzkaller-15365-g305230142ae0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/08 22:58 upstream 305230142ae0 b93f63e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in isotp_sendmsg / isotp_sendmsg
2023/10/15 18:05 upstream 9a3dad63edbe f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in isotp_sendmsg / isotp_sendmsg
2023/10/09 22:49 upstream 94f6f0550c62 3c53c7d9 .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.