syzbot


KCSAN: data-race in hrtimer_interrupt / print_cpu (4)

Status: auto-closed as invalid on 2021/12/18 07:26
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 604d, last: 387d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in hrtimer_interrupt / print_cpu (2) 7 781d 896d 0/24 auto-closed as invalid on 2020/11/19 01:50
upstream KCSAN: data-race in hrtimer_interrupt / print_cpu (3) 13 652d 722d 0/24 auto-closed as invalid on 2021/03/28 05:11
upstream KCSAN: data-race in hrtimer_interrupt / print_cpu 18 910d 1056d 0/24 closed as invalid on 2020/06/18 14:24

Sample crash report:
RBP: 00007f1b9dc961d0 R08: 0000000000000000 R09: 0000000000000000
R10: 4000000000010046 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe16f4212f R14: 00007f1b9dc96300 R15: 0000000000022000
 </TASK>
==================================================================
BUG: KCSAN: data-race in hrtimer_interrupt / print_cpu

write to 0xffff888237d1d9a0 of 8 bytes by interrupt on cpu 1:
 hrtimer_interrupt+0x209/0xac0 kernel/time/hrtimer.c:1803
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0xa3/0x240 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x88/0xb0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20
 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:109 [inline]
 acpi_idle_do_entry drivers/acpi/processor_idle.c:553 [inline]
 acpi_idle_enter+0x282/0x300 drivers/acpi/processor_idle.c:688
 cpuidle_enter_state+0x2b4/0x7d0 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+0x1b2/0x250 kernel/sched/idle.c:306
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403
 secondary_startup_64_no_verify+0xb1/0xbb

read to 0xffff888237d1d9a0 of 8 bytes by task 23879 on cpu 0:
 print_cpu+0x32e/0x690 kernel/time/timer_list.c:133
 timer_list_show+0x114/0x180 kernel/time/timer_list.c:291
 seq_read_iter+0x2e1/0x930 fs/seq_file.c:230
 proc_reg_read_iter+0xfc/0x170 fs/proc/inode.c:300
 call_read_iter include/linux/fs.h:2156 [inline]
 generic_file_splice_read+0x24f/0x330 fs/splice.c:311
 do_splice_to fs/splice.c:796 [inline]
 splice_direct_to_actor+0x2aa/0x650 fs/splice.c:870
 do_splice_direct+0x106/0x190 fs/splice.c:979
 do_sendfile+0x675/0xc40 fs/read_write.c:1245
 __do_sys_sendfile64 fs/read_write.c:1310 [inline]
 __se_sys_sendfile64 fs/read_write.c:1296 [inline]
 __x64_sys_sendfile64+0x102/0x140 fs/read_write.c:1296
 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: 0x000000916ce0895c -> 0x000000916ce5ef80

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 23879 Comm: syz-executor.3 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (44):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/11/13 07:24 upstream 66f4beaa6c1d 75b04091 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/11/08 04:59 upstream 6b75d88fa81b 4c1be0be .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/11/07 14:51 upstream b5013d084e03 4c1be0be .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/11/05 19:06 upstream fe91c4725aee 4c1be0be .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/11/02 03:42 upstream e66435936756 098b5d53 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/11/01 08:14 upstream 8bb7eca972ad 098b5d53 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/10/29 07:40 upstream f25a5481af12 2353a3ec .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/10/24 14:03 upstream 9c0c4d24ac00 282f03fb .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/10/22 23:52 upstream 64222515138e 282f03fb .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/10/19 03:53 upstream 519d81956ee2 24dc29db .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/10/17 16:45 upstream d999ade1cc86 0c5d9412 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/10/13 20:59 upstream 348949d9a444 5462d470 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/10/09 03:02 upstream 741668ef7832 efe0f24d .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/30 19:36 upstream 02d5e016800d 0f01403d .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/27 03:26 upstream 996148ee05d0 78494d16 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/27 03:23 upstream 996148ee05d0 78494d16 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/20 23:15 upstream e8f71f89236e af796c18 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/17 12:18 upstream bdb575f87217 5b989942 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/13 15:27 upstream 6880fa6c5660 3ce60af8 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/07 06:40 upstream 4b93c544e90e 6ca60148 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/09/03 04:14 upstream 7ba88a2a09f4 f62a5829 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/29 20:46 upstream 3f5ad13cb012 be2c130d .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/25 02:28 upstream 6e764bcd1cf7 b599f2fc .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/21 20:59 upstream 002c0aef1090 b599f2fc .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/21 04:59 upstream fa54d366a6e4 b599f2fc .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/16 22:49 upstream 7c60610d4767 6652437d .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/04 16:38 upstream d5ad8ec3cfb5 b97d64c9 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/01 22:12 upstream d4affd6b6e81 6c236867 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/08/01 07:06 upstream f3438b4c4e69 6c236867 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/07/29 12:01 upstream 4010a528219e b44001ce .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/07/24 03:55 upstream f0fddcec6b62 bc5f1d88 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/07/23 00:38 upstream 9bead1b58c4c bc5f1d88 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/06/28 13:08 upstream 62fb9874f5da 9d2ab5df .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/06/04 10:50 upstream f88cd3fb9df2 966a236b .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/06/03 03:50 upstream 324c92e5e0ee 0740de69 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/05/27 22:08 upstream d7c5303fbc8a 858ea628 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/05/25 11:24 upstream 1434a3127887 3c7fef33 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/05/20 16:28 upstream c3d0e3fd41b7 c560a65d .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/05/15 12:28 upstream 25a1298726e9 93f844de .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/04/26 22:42 upstream 9f4ad9e425a1 8ee2dea6 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/04/26 05:13 upstream d2d09fbe33f8 2a82f1b3 .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/04/14 15:14 upstream 50987beca096 3134b37f .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/04/12 14:26 upstream d434405aaab7 6a81331a .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
ci2-upstream-kcsan-gce 2021/04/10 02:26 upstream 4e04e7513b0f 6a81331a .config log report info KCSAN: data-race in hrtimer_interrupt / print_cpu
* Struck through repros no longer work on HEAD.