syzbot


KCSAN: data-race in __mod_timer / expire_timers
Status: auto-closed as invalid on 2021/05/19 22:44
Reported-by: syzbot+aa7c2385d46c5eba0b89@syzkaller.appspotmail.com
First crash: 709d, last: 409d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __mod_timer / expire_timers (2) 1 367d 367d 0/22 auto-closed as invalid on 2021/06/30 10:55

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

write to 0xffff88813bc1b908 of 8 bytes by interrupt on cpu 0:
 expire_timers+0x164/0x260 kernel/time/timer.c:1472
 __run_timers+0x358/0x3f0 kernel/time/timer.c:1745
 run_timer_softirq+0x19/0x30 kernel/time/timer.c:1758
 __do_softirq+0x13c/0x2c3 kernel/softirq.c:345
 invoke_softirq kernel/softirq.c:221 [inline]
 __irq_exit_rcu+0xb4/0xc0 kernel/softirq.c:422
 sysvec_apic_timer_interrupt+0x6e/0x80 arch/x86/kernel/apic/apic.c:1100
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632
 native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
 arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
 acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline]
 acpi_idle_do_entry drivers/acpi/processor_idle.c:517 [inline]
 acpi_idle_enter+0x25b/0x2e0 drivers/acpi/processor_idle.c:652
 cpuidle_enter_state+0x2b6/0x7c0 drivers/cpuidle/cpuidle.c:237
 cpuidle_enter+0x3c/0x60 drivers/cpuidle/cpuidle.c:351
 call_cpuidle kernel/sched/idle.c:158 [inline]
 cpuidle_idle_call kernel/sched/idle.c:239 [inline]
 do_idle+0x193/0x230 kernel/sched/idle.c:300
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:397
 rest_init+0xd7/0xe0 init/main.c:721
 arch_call_rest_init+0xa/0xb
 start_kernel+0x5a1/0x626 init/main.c:1064
 secondary_startup_64_no_verify+0xb0/0xbb

read to 0xffff88813bc1b908 of 8 bytes by task 24 on cpu 1:
 __mod_timer+0x44e/0xc10 kernel/time/timer.c:1035
 add_timer+0x38/0x50 kernel/time/timer.c:1142
 __queue_delayed_work+0xec/0x150 kernel/workqueue.c:1655
 queue_delayed_work_on+0x6f/0xd0 kernel/workqueue.c:1680
 queue_delayed_work include/linux/workqueue.h:522 [inline]
 bond_mii_monitor+0x156d/0x15f0 drivers/net/bonding/bond_main.c:2555
 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275
 worker_thread+0x616/0xa70 kernel/workqueue.c:2421
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 24 Comm: kworker/u4:1 Tainted: G        W         5.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bond8 bond_mii_monitor
==================================================================
tipc: Subscription rejected, illegal request

Crashes (343):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/04/14 22:43 upstream 7f75285ca572 fcdb12ba .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/04/13 00:03 upstream 89698becf06d 6a81331a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/04/10 15:15 upstream d4961772226d 6a81331a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/04/06 21:53 upstream 2d743660786e 6a81331a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/04/04 22:42 upstream e49d033bddf5 6a81331a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/04/03 13:30 upstream d93a0d43e3d0 6a81331a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/31 19:23 upstream d19cc4bfbff1 6a81331a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/25 22:21 upstream 002322402daf 6a383ecf .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/22 03:14 upstream 5ee96fa9dd78 bea32f74 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/16 19:40 upstream 1df27313f50a fdb2bb2c .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/13 22:00 upstream 88fe49249c99 4a003785 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/13 07:40 upstream f296bfd5cd04 4a003785 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/12 23:51 upstream f296bfd5cd04 429d8a6b .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/10 05:57 upstream 05a59d79793d 26967e35 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/03/04 17:52 upstream f69d02e37a85 f89ed068 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/22 14:18 upstream 31caf8b2a847 c26fb06b .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/20 10:27 upstream f40ddce88593 3e5ed8b4 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/19 15:12 upstream f40ddce88593 f689d40a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/15 01:56 upstream f40ddce88593 98682e5e .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/14 12:24 upstream 358feceebbf6 98682e5e .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/10 22:15 upstream 291009f656e8 a52ee10a .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/08 11:37 upstream 92bf22614b21 2ce644fc .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/06 23:43 upstream 964d069f93c4 0655e081 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/06 02:45 upstream 1e0d27fce010 23a562df .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/05 13:45 upstream dd86e7fa07a3 23a562df .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/02/05 02:02 upstream 5c279c4cf206 23a562df .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/31 12:48 upstream 6642d600b541 fc9fd31e .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/28 19:59 upstream e5ff2cb9cf67 7df34f59 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/27 20:01 upstream 76c057c84d28 a57db36f .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/27 18:06 upstream 2ab38c17aac1 a57db36f .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/24 19:21 upstream e68061375f79 52e37319 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/22 21:13 upstream 83d09ad4b950 52e37319 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/21 14:24 upstream 9791581c049c d4f4eca5 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/20 22:30 upstream 75439bc439e0 d4f4eca5 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/20 05:47 upstream 45dfb8a5659a 63631df1 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/18 22:24 upstream 1e2a199f6ccd 63631df1 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/18 04:26 upstream 19c329f68089 fd103621 .config log report info KCSAN: data-race in __mod_timer / expire_timers
ci2-upstream-kcsan-gce 2021/01/14 23:57 upstream 146620506274 468dbb55 .config log report info
ci2-upstream-kcsan-gce 2021/01/13 23:30 upstream 65f0d2414b70 269d24e8 .config log report info
ci2-upstream-kcsan-gce 2021/01/13 21:15 upstream 65f0d2414b70 a945f0a3 .config log report info
ci2-upstream-kcsan-gce 2021/01/12 19:46 upstream e609571b5ffa 0cdd6185 .config log report info
ci2-upstream-kcsan-gce 2021/01/09 11:22 upstream 996e435fd401 a6c52263 .config log report info
ci2-upstream-kcsan-gce 2021/01/06 23:48 upstream 71c061d24438 c104d4a3 .config log report info
ci2-upstream-kcsan-gce 2021/01/05 21:23 upstream 6207214a70bf a0234d98 .config log report info
ci2-upstream-kcsan-gce 2021/01/04 21:39 upstream 36bbbd0e234d 2a28ff1f .config log report info
ci2-upstream-kcsan-gce 2020/07/05 00:56 upstream 35e884f89df4 24d7f505 .config log report
ci2-upstream-kcsan-gce 2020/06/18 14:06 upstream 1b5044021070 3ea11d3f .config log report