syzbot


INFO: rcu detected stall in sys_clock_settime

Status: upstream: reported C repro on 2020/07/12 17:54
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+f3bd350a4124f10acdae@syzkaller.appspotmail.com
First crash: 1386d, last: 1d05h
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
  
Discussions (1)
Title Replies (including bot) Last reply
INFO: rcu detected stall in sys_clock_settime 0 (2) 2020/07/19 17:16
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in sys_clock_settime 23 11d 373d 0/3 upstream: reported on 2023/04/11 17:25
linux-5.15 INFO: rcu detected stall in sys_clock_settime 9 3d03h 281d 0/3 upstream: reported on 2023/07/13 03:09
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/02 09:26 17m retest repro upstream report log
2023/12/23 05:31 15m retest repro upstream report log
2023/09/16 09:35 1h21m retest repro linux-next OK log
2023/09/15 12:51 22m retest repro linux-next OK log
2023/09/15 12:51 19m retest repro linux-next OK log
2023/09/15 12:51 24m retest repro linux-next OK log
2023/09/15 12:51 25m retest repro upstream OK log
2023/09/15 12:51 27m retest repro linux-next OK log
2023/09/13 23:38 23m retest repro upstream OK log
2023/09/12 14:41 35m retest repro upstream OK log
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2021/05/21 03:27 32m bisect fix upstream job log (2)
2021/04/05 17:17 28m bisect fix upstream job log (0) log
2021/03/01 08:16 28m bisect fix upstream job log (0) log
2021/02/07 12:03 0m bisect fix upstream error job log (0)
2021/01/08 11:42 21m bisect fix upstream job log (0) log
2020/10/28 23:15 26m bisect fix upstream job log (0) log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (0 ticks this GP) idle=4bc4/1/0x4000000000000000 softirq=5852/5852 fqs=0
rcu: 	(detected by 0, t=10502 jiffies, g=5081, q=90 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5087 Comm: syz-executor184 Not tainted 6.7.0-rc3-syzkaller-00033-g3b47bc037bd4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:kasan_check_range+0x1a/0x190 mm/kasan/generic.c:186
Code: 5d 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 66 0f 1f 00 48 85 f6 0f 84 48 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 55 <53> 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f 83
RSP: 0018:ffffc900001f0bd8 EFLAGS: 00000096
RAX: ffffffff91f19e90 RBX: 0000000000000069 RCX: ffffffff8167db35
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff91f19e88
RBP: 0000000000000040 R08: 0000000000000000 R09: fffffbfff23e33d1
R10: ffffffff91f19e8f R11: 0000000000000001 R12: ffff88807cb24668
R13: ffff88807cb24661 R14: ffff88807cb24640 R15: 0000000000000002
FS:  0000555555b86380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000600 CR3: 000000002123f000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 instrument_atomic_read include/linux/instrumented.h:68 [inline]
 _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
 __lock_acquire+0xec5/0x3b20 kernel/locking/lockdep.c:5107
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
 _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170
 __run_hrtimer kernel/time/hrtimer.c:1692 [inline]
 __hrtimer_run_queues+0x2bd/0xc20 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 f6 e6 e4 f6 48 89 df e8 5e 5e e5 f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f <bf> 01 00 00 00 e8 75 17 d7 f6 65 8b 05 46 97 80 75 85 c0 74 12 5b
RSP: 0018:ffffc90003a3fcb8 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffff8880b982b940 RCX: 1ffffffff23e3516
RDX: 0000000000000000 RSI: ffffffff8accb7e0 RDI: ffffffff8b2f0dc0
RBP: 0000000000000282 R08: 0000000000000001 R09: fffffbfff23e33d0
R10: ffffffff91f19e87 R11: 0000000000000002 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000
 clock_was_set+0x592/0x850 kernel/time/hrtimer.c:972
 do_settimeofday64+0x3b7/0x5c0 kernel/time/timekeeping.c:1345
 do_sys_settimeofday64+0x1dc/0x260 kernel/time/time.c:195
 __do_sys_clock_settime kernel/time/posix-timers.c:1129 [inline]
 __se_sys_clock_settime kernel/time/posix-timers.c:1113 [inline]
 __x64_sys_clock_settime+0x1bc/0x290 kernel/time/posix-timers.c:1113
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f1877331e69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 19 00 00 90 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff1cee0d08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f1877331e69
RDX: 00007f1877331e69 RSI: 0000000020000080 RDI: 0000000000000000
RBP: 00000000000f4240 R08: 0000000100000000 R09: 0000000100000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff1cee0d60
R13: 0000000000000001 R14: 00007fff1cee0d60 R15: 0000000000000003
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.043 msecs
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g5081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=5977
rcu: rcu_preempt kthread starved for 10502 jiffies! g5081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:I stack:28752 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0xedb/0x5af0 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xe9/0x270 kernel/sched/core.c:6778
 schedule_timeout+0x137/0x290 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631
 rcu_gp_kthread+0x24b/0x380 kernel/rcu/tree.c:1830
 kthread+0x2c6/0x3a0 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (271):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/30 20:34 upstream 3b47bc037bd4 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2020/08/12 16:29 upstream c636eef2ee36 bb3e5fe6 .config console log report syz C ci-upstream-kasan-gce-root
2020/08/06 07:29 upstream fffe3ae0ee84 0487ea6f .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/28 18:43 upstream 92ed30191993 cb93dc6a .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/07/24 04:03 upstream d15be546031c 70c104a1 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/07/15 10:24 upstream e9919e11e219 609fb517 .config console log report syz C ci-upstream-kasan-gce-root
2020/07/09 17:20 upstream 0bddd227f3dc bc238812 .config console log report syz C ci-upstream-kasan-gce-root
2020/07/09 10:05 upstream 0bddd227f3dc bc238812 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/09 08:44 upstream 0bddd227f3dc bc238812 .config console log report syz C ci-upstream-kasan-gce-root
2020/07/09 07:14 upstream 0bddd227f3dc bc238812 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/07/08 20:29 upstream 7cc2a8ea1048 51095195 .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/07/08 17:45 upstream 7cc2a8ea1048 51095195 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/08/03 15:43 linux-next 01830e6c042e 196277c4 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/20 06:35 linux-next 4c43049f19a2 9c812472 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/13 05:06 linux-next d31958b30ea3 9ebcc5b1 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/11 16:34 linux-next d31958b30ea3 18d18b59 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/11 08:56 linux-next d31958b30ea3 18d18b59 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2024/04/04 16:49 upstream fe46a7dd189e 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2024/03/29 00:29 upstream fe46a7dd189e 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2024/03/28 01:51 upstream fe46a7dd189e 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2024/02/06 14:05 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2024/01/19 14:43 upstream 9d1694dc91ce 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2024/01/09 14:56 upstream 9f8413c4a66f 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2024/01/05 01:07 upstream 5eff55d725a4 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/12/09 03:56 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/12/06 17:06 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2023/11/29 08:09 upstream 18d46e76d7c2 1adfb6f6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2023/11/25 07:24 upstream 0f5cc96c367f 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/11/23 01:14 upstream 9b6de136b5f0 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/11/08 14:39 upstream 305230142ae0 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2023/11/03 01:58 upstream 4652b8e4f3ff b5f07fd3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/11/01 18:33 upstream 8bc9e6515183 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/10/25 13:20 upstream 4f82870119a4 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/10/18 04:52 upstream 06dc10eae55b 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/10/12 15:05 upstream 401644852d0b 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/10/05 19:22 upstream 3006adf3be79 db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/09/30 13:22 upstream 9f3ebbef746f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/09/22 12:12 upstream 27bbf45eae9c 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/08/28 07:57 upstream 2dde18cd1d8f 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/08/26 15:21 upstream 7d2f353b2682 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/08/25 02:36 upstream b5cc3833f13a 49be837e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/07/30 14:26 upstream d31e3792919e 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2023/07/26 18:14 upstream 18b44bc5a672 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2023/07/16 04:11 upstream 831fe284d827 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/07/04 09:06 upstream 24be4d0b46bb 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/06/18 00:09 upstream 1b29d271614a f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/29 18:02 upstream 8b817fded42d cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/25 11:58 upstream 933174ae28ba 0513b3e6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/24 09:05 upstream 27e462c8fad4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_clock_settime
2023/05/24 06:19 upstream 27e462c8fad4 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/13 17:27 upstream d4d58949a6ea 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/05/13 06:07 upstream 9a48d6046722 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/11 07:16 upstream 80e62bc8487b 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_clock_settime
2023/05/09 14:39 upstream ba0ad6ed89fd 30aa2a7e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2024/04/17 23:05 linux-next 4eab35893071 bd38b692 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2024/04/09 21:33 linux-next a053fd3ca5d1 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/06/13 13:36 linux-next 1f6ce8392d6f 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/24 20:41 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/24 18:05 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/18 06:06 linux-next 715abedee4cd 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/16 19:44 linux-next 715abedee4cd 11c89444 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2023/05/06 13:53 linux-next 83e5775d7afd 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_clock_settime
2020/07/02 15:56 upstream cd77006e01b3 bed10395 .config console log report ci-upstream-kasan-gce-selinux-root
2020/12/09 06:52 linux-next a9e26cb5f261 40cc414d .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.