syzbot


INFO: rcu detected stall in sys_kexec_load (2)

Status: auto-obsoleted due to no activity on 2025/11/21 02:39
Subsystems: mm
[Documentation on labels]
First crash: 221d, last: 160d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_kexec_load kexec 1 1 2506d 2506d 0/29 auto-closed as invalid on 2019/09/18 07:58

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P26362/1:b..l
rcu: 	(detected by 1, t=10502 jiffies, g=115957, q=201 ncpus=2)
task:syz.2.5407      state:R  running task     stack:28184 pid:26362 tgid:26349 ppid:16853  task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5396 [inline]
 __schedule+0x116a/0x5de0 kernel/sched/core.c:6785
 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7108
 irqentry_exit+0x36/0x90 kernel/entry/common.c:307
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x62/0x350 kernel/locking/lockdep.c:5875
Code: 53 34 12 83 f8 07 0f 87 bc 02 00 00 89 c0 48 0f a3 05 62 94 0f 0f 0f 82 74 02 00 00 8b 35 4a c6 0f 0f 85 f6 0f 85 8d 00 00 00 <48> 8b 44 24 30 65 48 2b 05 f9 52 34 12 0f 85 c7 02 00 00 48 83 c4
RSP: 0018:ffffc90003c5fcc0 EFLAGS: 00000206
RAX: 0000000000000046 RBX: ffffffff8e5c4940 RCX: 00000000ef9d33e4
RDX: 0000000000000000 RSI: ffffffff8ddf4863 RDI: ffffffff8c157a20
RBP: 0000000000000002 R08: 0ac0d5affe09d4ff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 rcu_read_lock include/linux/rcupdate.h:841 [inline]
 page_ext_get+0x36/0x1a0 mm/page_ext.c:538
 __reset_page_owner+0x2b/0x1a0 mm/page_owner.c:294
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 kimage_free_entry kernel/kexec_core.c:553 [inline]
 kimage_free+0x244/0x350 kernel/kexec_core.c:582
 do_kexec_load+0x5cd/0x8d0 kernel/kexec.c:175
 __do_sys_kexec_load kernel/kexec.c:261 [inline]
 __se_sys_kexec_load kernel/kexec.c:242 [inline]
 __x64_sys_kexec_load+0x1bf/0x230 kernel/kexec.c:242
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6fead8e929
RSP: 002b:00007f6febb28038 EFLAGS: 00000246 ORIG_RAX: 00000000000000f6
RAX: ffffffffffffffda RBX: 00007f6feafb6080 RCX: 00007f6fead8e929
RDX: 0000200000000180 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 00007f6feae10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f6feafb6080 R15: 00007ffd1a92e6f8
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10461 jiffies! g115957 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=131434
rcu: rcu_preempt kthread starved for 10462 jiffies! g115957 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:27784 pid:16    tgid:16    ppid:2      task_flags:0x208040 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5396 [inline]
 __schedule+0x116a/0x5de0 kernel/sched/core.c:6785
 __schedule_loop kernel/sched/core.c:6863 [inline]
 schedule+0xe7/0x3a0 kernel/sched/core.c:6878
 schedule_timeout+0x123/0x290 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x1ea/0xb00 kernel/rcu/tree.c:2054
 rcu_gp_kthread+0x270/0x380 kernel/rcu/tree.c:2256
 kthread+0x3c2/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </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 UID: 0 PID: 26384 Comm: syz.5.5416 Not tainted 6.16.0-rc3-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__sanitizer_cov_trace_pc+0x66/0x70 kernel/kcov.c:235
Code: 82 18 16 00 00 83 f8 02 75 20 48 8b 8a 20 16 00 00 8b 92 1c 16 00 00 48 8b 01 48 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 <e9> 55 e4 c6 09 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000007d88 EFLAGS: 00000046
RAX: 0000000000010001 RBX: ffff88807a8a1340 RCX: ffffffff8992b6fc
RDX: ffff88802c064880 RSI: ffffffff8992b807 RDI: 0000000000000004
RBP: ffff888054467400 R08: 0000000000000004 R09: 0000000000000002
R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000001
R13: 185f4a6297d29720 R14: 0000000000000002 R15: ffff888054fda010
FS:  0000555557708500(0000) GS:ffff888124753000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c350fe7 CR3: 0000000029fa1000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000000000000d8
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 should_change_schedules net/sched/sch_taprio.c:884 [inline]
 advance_sched+0x4e7/0xc80 net/sched/sch_taprio.c:968
 __run_hrtimer kernel/time/hrtimer.c:1761 [inline]
 __hrtimer_run_queues+0x202/0xad0 kernel/time/hrtimer.c:1825
 hrtimer_interrupt+0x397/0x8e0 kernel/time/hrtimer.c:1887
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline]
 __sysvec_apic_timer_interrupt+0x108/0x3f0 arch/x86/kernel/apic/apic.c:1056
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1050
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:210
Code: f6 4b 56 00 48 89 df 5b e9 ed d3 5b 00 be 03 00 00 00 5b e9 22 05 20 03 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 48 8b 34 24 65 48 8b 15 68 b2 10 12 65 8b 05 79 b2 10
RSP: 0018:ffffc9000447fa20 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc9000447fbb8 RCX: ffffffff81ae68c1
RDX: ffff88802c064880 RSI: ffffc9000447fbc0 RDI: 0000000000000005
RBP: 00000000ffffffff R08: ffffc9000447fbc4 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffc9000447fbc8
R13: 0000000000000fac R14: 0000000000000000 R15: 0000000000000000
 __futex_hash_private kernel/futex/core.c:191 [inline]
 __futex_hash+0x5e4/0x860 kernel/futex/core.c:422
 futex_hash+0x6e/0x3e0 kernel/futex/core.c:308
 class_hb_constructor kernel/futex/futex.h:242 [inline]
 futex_wait_setup+0xda/0x550 kernel/futex/waitwake.c:623
 __futex_wait+0x194/0x2f0 kernel/futex/waitwake.c:682
 futex_wait+0xe8/0x380 kernel/futex/waitwake.c:715
 do_futex+0x229/0x350 kernel/futex/syscalls.c:102
 __do_sys_futex kernel/futex/syscalls.c:179 [inline]
 __se_sys_futex kernel/futex/syscalls.c:160 [inline]
 __x64_sys_futex+0x1e0/0x4c0 kernel/futex/syscalls.c:160
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f798df8e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffea3f94b88 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00000000001adacd RCX: 00007f798df8e929
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f798e1b5fac
RBP: 0000000000000032 R08: 00007f798e188000 R09: 0000001ea3f94e7f
R10: 00007ffea3f94c80 R11: 0000000000000246 R12: 00007f798e1b5fac
R13: 00007ffea3f94c80 R14: 00000000001adaff R15: 00007ffea3f94ca0
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/23 15:08 upstream 86731a2a651e d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in sys_kexec_load
2025/08/23 02:30 linux-next 7fa4d8dc380f bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in kexec_load
2025/08/21 19:25 linux-next 7fa4d8dc380f 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: rcu detected stall in kexec_load
* Struck through repros no longer work on HEAD.