syzbot


KCSAN: data-race in can_send / can_send (4)
Status: moderation: reported on 2022/04/26 02:08
Reported-by: syzbot+64d2873ba7ba90e1b7e0@syzkaller.appspotmail.com
First crash: 198d, last: 5h02m
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in can_send / can_send (2) 1 820d 820d 0/22 auto-closed as invalid on 2020/05/07 07:35
upstream KCSAN: data-race in can_send / can_send (3) 1 566d 532d 0/22 auto-closed as invalid on 2020/12/25 11:24
upstream KCSAN: data-race in can_send / can_send 1 920d 920d 0/22 auto-closed as invalid on 2020/01/28 10:46

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

read-write to 0xffff8881038fa6f0 of 8 bytes by interrupt on cpu 0:
 can_send+0x484/0x500 net/can/af_can.c:291
 bcm_can_tx+0x2f0/0x3e0 net/can/bcm.c:300
 bcm_tx_timeout_handler+0xce/0x250
 __run_hrtimer+0x132/0x420 kernel/time/hrtimer.c:1685
 __hrtimer_run_queues kernel/time/hrtimer.c:1749 [inline]
 hrtimer_run_softirq+0x1e9/0x480 kernel/time/hrtimer.c:1766
 __do_softirq+0x158/0x2e3 kernel/softirq.c:571
 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:934
 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

read-write to 0xffff8881038fa6f0 of 8 bytes by interrupt on cpu 1:
 can_send+0x484/0x500 net/can/af_can.c:291
 bcm_can_tx+0x2f0/0x3e0 net/can/bcm.c:300
 bcm_tx_timeout_handler+0xce/0x250
 __run_hrtimer+0x132/0x420 kernel/time/hrtimer.c:1685
 __hrtimer_run_queues kernel/time/hrtimer.c:1749 [inline]
 hrtimer_run_softirq+0x1e9/0x480 kernel/time/hrtimer.c:1766
 __do_softirq+0x158/0x2e3 kernel/softirq.c:571
 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:934
 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

value changed: 0x0000000000001d86 -> 0x0000000000001d87

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted 5.18.0-syzkaller-10139-g8291eaafed36-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (225):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/27 22:39 upstream 8291eaafed36 a46af346 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/27 09:04 upstream 7e284070abe5 116e7a7b .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/26 06:35 upstream d7227785e384 3037caa9 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/25 14:11 upstream fdaf9a5840ac 3037caa9 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/24 22:24 upstream 0350785b0a09 647c0e27 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/24 11:00 upstream 143a6252e1b8 fcfad4ff .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/23 23:25 upstream 140e40e39a29 e7f9308d .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/23 09:17 upstream 4b0986a3613c 7268fa62 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/22 21:28 upstream 978df3e15846 7268fa62 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/22 06:47 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/21 18:16 upstream 6c3f5bec9b40 7268fa62 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/21 04:13 upstream 3b5e1590a267 7268fa62 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/20 16:01 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/20 14:49 upstream 3d7285a335ed cb1ac2e7 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/20 00:53 upstream b015dcd62b86 cb1ac2e7 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/19 11:33 upstream f993aed406ea cb1ac2e7 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/19 06:31 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/18 17:03 upstream ef1302160bfb 50c53f39 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/18 13:53 upstream 210e04ff7681 50c53f39 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/18 00:44 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/16 03:36 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/15 14:36 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/15 01:21 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/14 10:40 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/13 23:08 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/13 09:53 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/13 08:13 upstream f3f19f939c11 9ad6612a .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/12 19:00 upstream 0ac824f379fb 9ad6612a .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/11 17:11 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/10 23:21 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 17:23 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 09:52 upstream c5eb0a61238d 8b277b8e .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 08:31 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 07:03 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 05:24 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 02:50 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 01:46 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/09 00:14 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/08 22:59 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/08 21:37 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/08 19:16 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/08 17:31 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/08 17:14 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/08 15:34 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/05/08 13:52 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/04/25 15:41 upstream af2d861d4cd2 152baedd .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/04/24 23:00 upstream 42740a2ff5d3 131df97d .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2021/11/10 06:34 upstream cb690f5238d7 55fa030c .config log report info KCSAN: data-race in can_send / can_send