syzbot


KCSAN: data-race in can_send / can_stat_update (3)

Status: auto-obsoleted due to no activity on 2022/10/31 01:22
Subsystems: can
[Documentation on labels]
First crash: 616d, last: 575d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in can_send / can_stat_update (2) can 10 666d 750d 0/26 auto-closed as invalid on 2022/08/01 07:44
upstream KCSAN: data-race in can_send / can_stat_update (4) can 1 535d 535d 0/26 auto-obsoleted due to no activity on 2022/12/10 01:25
upstream KCSAN: data-race in can_send / can_stat_update can 5 1518d 1580d 0/26 auto-closed as invalid on 2020/05/06 02:35
upstream KCSAN: data-race in can_send / can_stat_update (5) can 2 326d 331d 0/26 auto-obsoleted due to no activity on 2023/07/06 21:19

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

read to 0xffff88815a37e4f0 of 8 bytes by interrupt on cpu 0:
 can_stat_update+0x4cc/0x6f0 net/can/proc.c:157
 call_timer_fn+0x2e/0x240 kernel/time/timer.c:1474
 expire_timers+0x116/0x240 kernel/time/timer.c:1519
 __run_timers+0x350/0x400 kernel/time/timer.c:1790
 run_timer_softirq+0x2e/0x60 kernel/time/timer.c:1803
 __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 0xffff88815a37e4f0 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: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: 0x000000000000113f -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 19 Comm: ksoftirqd/1 Tainted: G        W          6.0.0-rc6-syzkaller-00344-g5e049663f678-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/26 01:11 upstream 5e049663f678 0042f2b4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in can_send / can_stat_update
2022/08/30 05:08 upstream dcf8e5633e2e 4a380809 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in can_send / can_stat_update
2022/08/29 16:32 upstream b90cb1053190 d7593c58 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in can_send / can_stat_update
2022/08/19 23:36 upstream 50cd95ac4654 26a13b38 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in can_send / can_stat_update
2022/08/16 00:28 upstream 7ebfc85e2cd7 7a7cb304 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in can_send / can_stat_update
* Struck through repros no longer work on HEAD.