syzbot


INFO: rcu detected stall in sys_clock_settime

Status: upstream: reported C repro on 2020/07/12 17:54
Reported-by: syzbot+f3bd350a4124f10acdae@syzkaller.appspotmail.com
First crash: 727d, last: 3d19h

Cause bisection: introduced by (bisect log) :
commit 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22
Author: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Date: Sat Sep 29 00:59:43 2018 +0000

  tc: Add support for configuring the taprio scheduler

Crash: INFO: rcu detected stall in corrupted (log)
Repro: C syz .config

Fix bisection: the fix commit could be any of (bisect log):
  c636eef2ee36 Merge tag 'hwlock-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc
  ba816d3c265c Merge tag 'arm-soc-fixes-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...0: (0 ticks this GP) idle=8b2/1/0x4000000000000000 softirq=9345/9345 fqs=5249 
	(detected by 1, t=10502 jiffies, g=8877, q=3702)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6876 Comm: syz-executor967 Not tainted 5.8.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:765 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:787 [inline]
RIP: 0010:lock_release+0xca/0x8e0 kernel/locking/lockdep.c:5019
Code: 00 44 8b 8b cc 08 00 00 45 85 c9 0f 85 e0 03 00 00 48 c7 c0 40 34 b6 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 <0f> 85 05 07 00 00 48 83 3d 78 c4 5b 08 00 0f 84 4d 05 00 00 9c 58
RSP: 0018:ffffc90000007cb0 EFLAGS: 00000046
RAX: 1ffffffff136c688 RBX: ffff8880931dc300 RCX: ffffffff866a7c13
RDX: dffffc0000000000 RSI: ffffffff866a798b RDI: ffff8880931dcbcc
RBP: 1ffff92000000f98 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89bd62c0
R13: ffffffff866a798b R14: ffff8880a798b120 R15: 1769ee212ed3dc42
FS:  000000000227d880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000610 CR3: 00000000a75d0000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_lock_release include/linux/rcupdate.h:246 [inline]
 rcu_read_unlock include/linux/rcupdate.h:688 [inline]
 advance_sched+0x56d/0x990 net/sched/sch_taprio.c:754
 __run_hrtimer kernel/time/hrtimer.c:1524 [inline]
 __hrtimer_run_queues+0x6a9/0xfc0 kernel/time/hrtimer.c:1588
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1650
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x142/0x5e0 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 sysvec_apic_timer_interrupt+0xb2/0xf0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:770 [inline]
RIP: 0010:on_each_cpu+0x149/0x240 kernel/smp.c:701
Code: 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 e6 00 00 00 48 83 3d 9f da 4c 08 00 0f 84 af 00 00 00 e8 dc ef 0a 00 48 89 df 57 9d <0f> 1f 44 00 00 e8 cd ef 0a 00 bf 01 00 00 00 e8 c3 67 e6 ff 31 ff
RSP: 0018:ffffc90005807d78 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000293 RCX: 1ffffffff15635e9
RDX: ffff8880931dc300 RSI: ffffffff816959b4 RDI: 0000000000000293
RBP: 0000000000000200 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90005807ed8 R15: ffffffffa0cbea01
 clock_was_set+0x18/0x20 kernel/time/hrtimer.c:876
 do_settimeofday64 kernel/time/timekeeping.c:1260 [inline]
 do_settimeofday64+0x39d/0x570 kernel/time/timekeeping.c:1226
 do_sys_settimeofday64 kernel/time/time.c:195 [inline]
 do_sys_settimeofday64+0x1de/0x260 kernel/time/time.c:169
 __do_sys_clock_settime kernel/time/posix-timers.c:1079 [inline]
 __se_sys_clock_settime kernel/time/posix-timers.c:1067 [inline]
 __x64_sys_clock_settime+0x197/0x260 kernel/time/posix-timers.c:1067
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x443859
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb 0f fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd9ff81418 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000443859
RDX: 0000000000443859 RSI: 0000000020000400 RDI: 0000000000000000
RBP: 00007ffd9ff81420 R08: 0000000001bbbbbb R09: 0000000001bbbbbb
R10: 0000000001bbbbbb R11: 0000000000000246 R12: 00007ffd9ff81430
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

Crashes (188):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2020/08/12 16:29 upstream c636eef2ee36 bb3e5fe6 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/08/06 07:29 upstream fffe3ae0ee84 0487ea6f .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/07/28 18:43 upstream 92ed30191993 cb93dc6a .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/07/24 04:03 upstream d15be546031c 70c104a1 .config log report syz C
ci-upstream-kasan-gce-root 2020/07/15 10:24 upstream e9919e11e219 609fb517 .config log report syz C
ci-upstream-kasan-gce-root 2020/07/09 17:20 upstream 0bddd227f3dc bc238812 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/07/09 10:05 upstream 0bddd227f3dc bc238812 .config log report syz C
ci-upstream-kasan-gce-root 2020/07/09 08:44 upstream 0bddd227f3dc bc238812 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/07/09 07:14 upstream 0bddd227f3dc bc238812 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/07/08 20:29 upstream 7cc2a8ea1048 51095195 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/07/08 17:45 upstream 7cc2a8ea1048 51095195 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/08/03 15:43 linux-next 01830e6c042e 196277c4 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/07/20 06:35 linux-next 4c43049f19a2 9c812472 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/07/13 05:06 linux-next d31958b30ea3 9ebcc5b1 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/07/11 16:34 linux-next d31958b30ea3 18d18b59 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/07/11 08:56 linux-next d31958b30ea3 18d18b59 .config log report syz C
ci-upstream-kasan-gce-root 2022/06/26 08:56 upstream 0840a7914caa a371c43c .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/06/14 05:10 upstream b13baccc3850 0f087040 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/06/14 01:38 upstream b13baccc3850 0f087040 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/06/12 04:50 upstream 7a68065eb9cd 0d5abf15 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/06/05 13:01 upstream 952923ddc011 c8857892 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/05/16 06:07 upstream 42226c989789 744a39e2 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/05/15 16:57 upstream bc403203d65a 744a39e2 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/05/08 18:20 upstream 379c72654524 e60b1103 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/05/04 16:31 upstream 107c948d1d3e dc9e5259 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/04/30 20:00 upstream 57ae8a492116 2df221f6 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/04/26 08:01 upstream d615b5416f8a 1fa34c1b .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/04/10 05:48 upstream e1f700ebd6be e22c3da3 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/04/07 08:56 upstream 3e732ebf7316 c6ff3e05 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/03/03 14:14 upstream 5859a2b19911 45a13a73 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/02/21 20:56 upstream 038101e6b2cd 6e821dbf .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/02/04 03:17 upstream 1f2cfdd349b7 30646bfe .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/02/02 23:40 upstream 27bb0b18c208 4ebb2798 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/01/28 22:46 upstream df0001545b27 495e00c5 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/01/25 23:28 upstream 0280e3c58f92 2cbffd88 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/01/21 07:19 upstream 2c271fe77d52 ab3d9f17 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/01/20 12:37 upstream fa2e1ba3e9e3 5da9499f .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/01/16 09:52 upstream d0a231f01e5b 723cfaf0 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2022/01/15 20:35 upstream a33f5c380c4b 723cfaf0 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/01/14 16:25 upstream fb3b0673b7d5 53e00b45 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/01/08 08:39 upstream d1587f7bfe9a 2ca0d385 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/01/07 15:50 upstream ddec8ed2d490 2ca0d385 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/01/07 00:28 upstream b2b436ec0205 6acc789a .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/01/06 14:36 upstream 75acfdb6fd92 6acc789a .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/01/05 16:16 upstream c9e6606c7fe9 6acc789a .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/01/05 15:03 upstream c9e6606c7fe9 6acc789a .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2022/01/04 05:43 upstream c9e6606c7fe9 7f723fbe .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2022/01/01 09:17 upstream 800829388818 e1768e9c .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2021/12/29 14:20 upstream e7c124bd0463 6cc879d4 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2021/12/26 23:34 upstream fc74e0a40e4f e4f103c4 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/26 11:36 upstream 438645193e59 e4f103c4 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/26 00:01 upstream e2ae0d4a6b0b 6caa12e4 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2021/12/24 13:49 upstream 7a29b11da965 6caa12e4 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/20 01:17 upstream a76c3d035872 44068e19 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/18 22:39 upstream 9eaa88c7036e 44068e19 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2021/12/15 18:51 upstream 5472f14a3742 572bcb40 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2021/12/14 01:09 upstream 5472f14a3742 5d14b1ea .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/11 13:50 upstream 6f513529296f 49ca1f59 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/10 20:44 upstream b8a98b6bf66a 49ca1f59 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/09 14:12 upstream 2a987e65025e b54aa474 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/05 08:04 upstream 79a72162048e a617004c .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/02 06:43 upstream 58e1100fdc59 61f86278 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-root 2021/12/02 04:29 upstream 58e1100fdc59 61f86278 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-smack-root 2021/11/30 20:53 upstream f080815fdb3e 80270552 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-linux-next-kasan-gce-root 2022/04/08 16:10 linux-next ff511c1c68a5 15be3cba .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-linux-next-kasan-gce-root 2022/01/04 19:40 linux-next 6b8d4927540e 0a2584dd .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-linux-next-kasan-gce-root 2021/12/21 15:56 linux-next 07f8c60fe60f a938f0b8 .config log report info INFO: rcu detected stall in sys_clock_settime
ci-upstream-kasan-gce-selinux-root 2020/07/02 15:56 upstream cd77006e01b3 bed10395 .config log report
ci-upstream-linux-next-kasan-gce-root 2020/12/09 06:52 linux-next a9e26cb5f261 40cc414d .config log report info