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: 322d, last: 11h57m
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 944d 944d 0/24 auto-closed as invalid on 2020/05/07 07:35
upstream KCSAN: data-race in can_send / can_send (3) 1 689d 656d 0/24 auto-closed as invalid on 2020/12/25 11:24
upstream KCSAN: data-race in can_send / can_send 1 1044d 1044d 0/24 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 0xffff888103197b90 of 8 bytes by interrupt on cpu 0:
 can_send+0x470/0x500 net/can/af_can.c:290
 bcm_can_tx+0x2f0/0x3e0 net/can/bcm.c:301
 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 arch/x86/entry/entry_64.S:306

read-write to 0xffff888103197b90 of 8 bytes by interrupt on cpu 1:
 can_send+0x470/0x500 net/can/af_can.c:290
 bcm_can_tx+0x2f0/0x3e0 net/can/bcm.c:301
 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 arch/x86/entry/entry_64.S:306

value changed: 0x000000000005b98e -> 0x000000000005b98f

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 6.0.0-rc7-syzkaller-00042-g46452d3786a8-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (469):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/09/28 03:21 upstream 46452d3786a8 75c78242 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/27 05:10 upstream 3800a713b607 10323ddf .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/26 10:06 upstream f76349cf4145 d59ba983 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/25 04:26 upstream 1a61b828566f 0042f2b4 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/24 09:31 upstream a63f2e7cb110 0042f2b4 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/23 14:44 upstream bf682942cd26 0042f2b4 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/22 16:07 upstream dc164f4fb00a 0042f2b4 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/22 11:57 upstream dc164f4fb00a 60af5050 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/22 00:16 upstream 06f7db949993 60af5050 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/21 17:55 upstream 06f7db949993 380f82fb .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/21 10:33 upstream 60891ec99e14 380f82fb .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/20 20:13 upstream 60891ec99e14 c4b8ccfd .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/20 16:40 upstream 521a547ced64 c4b8ccfd .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/20 07:58 upstream 521a547ced64 7c41a9ba .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/19 12:18 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/19 06:48 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/18 17:45 upstream 38eddeedbbea dd9a85ff .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/17 06:08 upstream a335366bad13 dd9a85ff .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/16 18:21 upstream 6879c2d3b960 dd9a85ff .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/15 07:22 upstream 3245cb65fd91 dd9a85ff .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/14 11:04 upstream 3245cb65fd91 b884348d .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/13 20:12 upstream d1221cea11fc b884348d .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/13 13:42 upstream d1221cea11fc a08652b0 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/13 07:58 upstream e839a756012b a08652b0 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/12 23:29 upstream e839a756012b f371ed7e .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/12 10:00 upstream 80e78fcce86d 356d8217 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/11 20:55 upstream 4ed9c1e971b1 356d8217 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/10 18:40 upstream b96fbd602d35 356d8217 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/10 01:10 upstream ce888220d5c7 356d8217 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/09 12:10 upstream 506357871c18 90058bdc .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/09 03:01 upstream 506357871c18 f3027468 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/08 13:40 upstream 26b1224903b3 f3027468 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/08 11:03 upstream 0066f1b0e275 f3027468 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/07 23:44 upstream 0066f1b0e275 435aeef7 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/07 13:48 upstream 0066f1b0e275 c5b7bc57 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/07 00:10 upstream d2ec799d1c1b 5fc30c37 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/06 20:48 upstream d2ec799d1c1b 65aea2b9 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/06 11:03 upstream 53e99dcff61e 65aea2b9 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/05 23:30 upstream 53e99dcff61e 9dcd38fc .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/05 11:27 upstream 7e18e42e4b28 922294ab .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/04 20:51 upstream 7e18e42e4b28 28811d0a .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/04 07:37 upstream 7726d4c3e60b 28811d0a .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/04 04:19 upstream 42cf58c272ee 28811d0a .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/03 03:49 upstream d895ec7938c4 49e94a20 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/02 20:49 upstream 0b3acd1cc022 25194605 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/02 15:11 upstream 42e66b1cc3a0 25194605 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/02 03:55 upstream 42e66b1cc3a0 a805568e .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/01 17:25 upstream 2880e1a175b9 86c46e46 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/01 15:14 upstream c5e4d5e99162 86c46e46 .config log report info KCSAN: data-race in can_send / can_send
ci2-upstream-kcsan-gce 2022/09/01 04:42 upstream c5e4d5e99162 b01ec571 .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
* Struck through repros no longer work on HEAD.