syzbot


KCSAN: data-race in hrtimer_interrupt / print_tickdevice (7)

Status: auto-obsoleted due to no activity on 2022/10/22 07:07
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 139d, last: 139d
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in hrtimer_interrupt / print_tickdevice (6) 5 195d 218d 0/24 auto-closed as invalid on 2022/08/27 09:49
upstream KCSAN: data-race in hrtimer_interrupt / print_tickdevice (8) 3 66d 89d 0/24 auto-obsoleted due to no activity on 2023/01/03 04:47
upstream KCSAN: data-race in hrtimer_interrupt / print_tickdevice (4) 14 330d 496d 0/24 auto-closed as invalid on 2022/04/13 14:16
upstream KCSAN: data-race in hrtimer_interrupt / print_tickdevice (2) 3 631d 635d 0/24 auto-closed as invalid on 2021/06/16 18:46
upstream KCSAN: data-race in hrtimer_interrupt / print_tickdevice (5) 2 268d 268d 0/24 auto-closed as invalid on 2022/06/15 02:31
upstream KCSAN: data-race in hrtimer_interrupt / print_tickdevice (3) 2 545d 580d 0/24 auto-closed as invalid on 2021/09/10 15:52
upstream KCSAN: data-race in hrtimer_interrupt / print_tickdevice 1 747d 747d 0/24 auto-closed as invalid on 2021/02/20 21:54

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

write to 0xffff888237c1aed8 of 8 bytes by interrupt on cpu 0:
 hrtimer_interrupt+0xa7/0xa70 kernel/time/hrtimer.c:1790
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0xa3/0x250 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x88/0xb0 arch/x86/kernel/apic/apic.c:1106
 asm_sysvec_apic_timer_interrupt+0x16/0x20
 native_irq_enable arch/x86/include/asm/irqflags.h:45 [inline]
 arch_local_irq_enable arch/x86/include/asm/irqflags.h:80 [inline]
 net_rx_action+0x15d/0x730 net/core/dev.c:6675
 __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 to 0xffff888237c1aed8 of 8 bytes by task 19492 on cpu 1:
 print_tickdevice+0x158/0x370 kernel/time/timer_list.c:204
 timer_list_show+0x74/0x180 kernel/time/timer_list.c:296
 seq_read_iter+0x676/0x8e0 fs/seq_file.c:272
 proc_reg_read_iter+0xfa/0x170 fs/proc/inode.c:305
 call_read_iter include/linux/fs.h:2181 [inline]
 generic_file_splice_read+0xde/0x2b0 fs/splice.c:309
 do_splice_to fs/splice.c:793 [inline]
 splice_direct_to_actor+0x26c/0x620 fs/splice.c:865
 do_splice_direct+0xfb/0x180 fs/splice.c:974
 do_sendfile+0x3bf/0x910 fs/read_write.c:1249
 __do_sys_sendfile64 fs/read_write.c:1317 [inline]
 __se_sys_sendfile64 fs/read_write.c:1303 [inline]
 __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1303
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000005481456620 -> 0x000000548152f05a

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 19492 Comm: syz-executor.4 Tainted: G        W          6.0.0-rc5-syzkaller-00094-ga335366bad13-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2022/09/17 07:02 upstream a335366bad13 dd9a85ff .config console log report info [disk image] [vmlinux] KCSAN: data-race in hrtimer_interrupt / print_tickdevice
* Struck through repros no longer work on HEAD.