syzbot


INFO: rcu detected stall in sys_execve

Status: upstream: reported on 2025/01/23 20:17
Reported-by: syzbot+c8f053523131494fd85d@syzkaller.appspotmail.com
First crash: 19d, last: 19d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_execve kernel 11 1897d 1898d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in sys_execve (6) mm syz done 44 28d 147d 0/28 upstream: reported syz repro on 2024/09/17 11:35
upstream INFO: rcu detected stall in sys_execve (3) kernel 1 1861d 1861d 0/28 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_execve (2) kernel 1 1862d 1862d 0/28 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in sys_execve (5) tomoyo 2 457d 461d 0/28 auto-obsoleted due to no activity on 2024/02/10 22:46
upstream INFO: rcu detected stall in sys_execve (4) mm 1 1023d 1023d 0/28 auto-closed as invalid on 2022/06/25 07:48
linux-5.15 BUG: soft lockup in sys_execve 1 96d 96d 0/3 upstream: reported on 2024/11/07 21:26

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (0 ticks this GP) idle=fdc4/1/0x4000000000000000 softirq=25907/25907 fqs=0
	(detected by 1, t=10505 jiffies, g=36121, q=11 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8013 Comm: dhcpcd-run-hook Not tainted 6.1.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:lock_acquire+0x6/0x5a0 kernel/locking/lockdep.c:5630
Code: c7 f8 5b 9b 8e e8 5a 8e 77 00 e9 a2 fd ff ff 0f 1f 44 00 00 65 8b 05 11 ce 97 7e a9 00 ff ff 00 0f 95 c0 c3 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 20 01 00 00 4c 89 4c 24
RSP: 0018:ffffc90000007c00 EFLAGS: 00000046
RAX: 0000000000010003 RBX: 1ffff92000000f88 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff975ba258
RBP: ffffc90000007c08 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000046
R13: 1ffff92000000f84 R14: ffffffff975ba240 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d61eff8 CR3: 000000002accd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 debug_object_activate+0x68/0x4e0 lib/debugobjects.c:698
 debug_hrtimer_activate kernel/time/hrtimer.c:421 [inline]
 debug_activate kernel/time/hrtimer.c:476 [inline]
 enqueue_hrtimer+0x30/0x410 kernel/time/hrtimer.c:1085
 __run_hrtimer kernel/time/hrtimer.c:1706 [inline]
 __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 02 f0 24 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> f7 4f a1 f6 65 8b 05 98 2f 45 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc9000540f5a0 EFLAGS: 00000206
RAX: 4841af421361dd00 RBX: 1ffff92000a81eb8 RCX: ffffffff816b127a
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001
RBP: ffffc9000540f638 R08: dffffc0000000000 R09: fffffbfff224a053
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000a81eb4 R14: ffffc9000540f5c0 R15: 0000000000000246
 __debug_check_no_obj_freed lib/debugobjects.c:988 [inline]
 debug_check_no_obj_freed+0x455/0x4e0 lib/debugobjects.c:1009
 slab_free_hook mm/slub.c:1699 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 kmem_cache_free+0x241/0x510 mm/slub.c:3683
 remove_vma mm/mmap.c:143 [inline]
 exit_mmap+0x4cf/0x980 mm/mmap.c:3260
 __mmput+0x115/0x3c0 kernel/fork.c:1200
 exec_mmap+0x4fa/0x5b0 fs/exec.c:1040
 begin_new_exec+0xaf9/0x1dd0 fs/exec.c:1299
 load_elf_binary+0x955/0x2720 fs/binfmt_elf.c:1002
 search_binary_handler fs/exec.c:1741 [inline]
 exec_binprm fs/exec.c:1782 [inline]
 bprm_execve+0x96a/0x18a0 fs/exec.c:1851
 do_execveat_common+0x580/0x720 fs/exec.c:1956
 do_execve fs/exec.c:2030 [inline]
 __do_sys_execve fs/exec.c:2106 [inline]
 __se_sys_execve fs/exec.c:2101 [inline]
 __x64_sys_execve+0x8e/0xa0 fs/exec.c:2101
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f36e10f7ef7
Code: Unable to access opcode bytes at 0x7f36e10f7ecd.
RSP: 002b:00007ffe8db63998 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 000055912fa51020 RCX: 00007f36e10f7ef7
RDX: 000055912fa51048 RSI: 000055912fa51020 RDI: 000055912fa510d0
RBP: 000055912fa510d0 R08: 000055912fa510d9 R09: 00007ffe8db66ec6
R10: 0000000000000008 R11: 0000000000000246 R12: 000055912fa51048
R13: 00007f36e12a5904 R14: 000055912fa51048 R15: 0000000000000000
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10504 jiffies! g36121 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=19015
rcu: rcu_preempt kthread starved for 10505 jiffies! g36121 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
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:26040 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5241 [inline]
 __schedule+0x143f/0x4570 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965
 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8013 Comm: dhcpcd-run-hook Not tainted 6.1.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:228 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:240 [inline]
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline]
RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3737 [inline]
RIP: 0010:validate_chain+0x112/0x5950 kernel/locking/lockdep.c:3793
Code: 3d 00 00 04 00 0f 85 98 04 00 00 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 60 02 25 91 be 08 00 00 00 e8 6e d2 76 00 <48> 0f a3 1d a6 a3 b9 0f 72 25 48 c7 c0 60 71 35 97 48 c1 e8 03 42
RSP: 0018:ffffc90000007740 EFLAGS: 00000056
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff816b5eb2
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff91250260
RBP: ffffc900000079f0 R08: dffffc0000000000 R09: fffffbfff224a04d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880276164e0 R14: cf82e703b144b952 R15: 1ffff11004ec2c9c
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d61eff8 CR3: 000000002accd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 debug_object_deactivate+0x63/0x380 lib/debugobjects.c:753
 debug_hrtimer_deactivate kernel/time/hrtimer.c:426 [inline]
 debug_deactivate+0x1d/0x280 kernel/time/hrtimer.c:482
 __run_hrtimer kernel/time/hrtimer.c:1657 [inline]
 __hrtimer_run_queues+0x334/0xe50 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 02 f0 24 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> f7 4f a1 f6 65 8b 05 98 2f 45 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc9000540f5a0 EFLAGS: 00000206
RAX: 4841af421361dd00 RBX: 1ffff92000a81eb8 RCX: ffffffff816b127a
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001
RBP: ffffc9000540f638 R08: dffffc0000000000 R09: fffffbfff224a053
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92000a81eb4 R14: ffffc9000540f5c0 R15: 0000000000000246
 __debug_check_no_obj_freed lib/debugobjects.c:988 [inline]
 debug_check_no_obj_freed+0x455/0x4e0 lib/debugobjects.c:1009
 slab_free_hook mm/slub.c:1699 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 kmem_cache_free+0x241/0x510 mm/slub.c:3683
 remove_vma mm/mmap.c:143 [inline]
 exit_mmap+0x4cf/0x980 mm/mmap.c:3260
 __mmput+0x115/0x3c0 kernel/fork.c:1200
 exec_mmap+0x4fa/0x5b0 fs/exec.c:1040
 begin_new_exec+0xaf9/0x1dd0 fs/exec.c:1299
 load_elf_binary+0x955/0x2720 fs/binfmt_elf.c:1002
 search_binary_handler fs/exec.c:1741 [inline]
 exec_binprm fs/exec.c:1782 [inline]
 bprm_execve+0x96a/0x18a0 fs/exec.c:1851
 do_execveat_common+0x580/0x720 fs/exec.c:1956
 do_execve fs/exec.c:2030 [inline]
 __do_sys_execve fs/exec.c:2106 [inline]
 __se_sys_execve fs/exec.c:2101 [inline]
 __x64_sys_execve+0x8e/0xa0 fs/exec.c:2101
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f36e10f7ef7
Code: Unable to access opcode bytes at 0x7f36e10f7ecd.
RSP: 002b:00007ffe8db63998 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 000055912fa51020 RCX: 00007f36e10f7ef7
RDX: 000055912fa51048 RSI: 000055912fa51020 RDI: 000055912fa510d0
RBP: 000055912fa510d0 R08: 000055912fa510d9 R09: 00007ffe8db66ec6
R10: 0000000000000008 R11: 0000000000000246 R12: 000055912fa51048
R13: 00007f36e12a5904 R14: 000055912fa51048 R15: 0000000000000000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/23 20:16 linux-6.1.y 75cefdf153f5 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sys_execve
* Struck through repros no longer work on HEAD.