syzbot


KCSAN: data-race in isotp_sendmsg / isotp_sendmsg

Status: auto-closed as invalid on 2021/12/16 09:51
Subsystems: can
[Documentation on labels]
First crash: 1232d, last: 1232d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (6) can 2 312d 324d 0/28 auto-obsoleted due to no activity on 2024/06/23 13:44
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (7) can 3 232d 256d 0/28 auto-obsoleted due to no activity on 2024/09/11 12:09
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (5) can 3 504d 534d 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 1110d 1110d 0/28 auto-closed as invalid on 2022/04/17 15:57
upstream KCSAN: data-race in isotp_sendmsg / isotp_sendmsg (4) can 1 599d 599d 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 664d 664d 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 0xffff888107a4a3f0 of 4 bytes by task 2475 on cpu 1:
 isotp_create_fframe net/can/isotp.c:737 [inline]
 isotp_sendmsg+0xac3/0x10e0 net/can/isotp.c:952
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x39a/0x510 net/socket.c:2409
 ___sys_sendmsg net/socket.c:2463 [inline]
 __sys_sendmsg+0x195/0x230 net/socket.c:2492
 __do_sys_sendmsg net/socket.c:2501 [inline]
 __se_sys_sendmsg net/socket.c:2499 [inline]
 __x64_sys_sendmsg+0x42/0x50 net/socket.c:2499
 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 0xffff888107a4a3f0 of 4 bytes by task 2474 on cpu 0:
 isotp_sendmsg+0x19c/0x10e0 net/can/isotp.c:872
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x39a/0x510 net/socket.c:2409
 ___sys_sendmsg net/socket.c:2463 [inline]
 __sys_sendmmsg+0x267/0x4c0 net/socket.c:2549
 __do_sys_sendmmsg net/socket.c:2578 [inline]
 __se_sys_sendmmsg net/socket.c:2575 [inline]
 __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2575
 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: 0x00000004 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2474 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #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
2021/11/11 09:44 upstream debe436e77c7 75b04091 .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.