INFO: rcu detected stall in nilfs_ioctl

Status: upstream: reported on 2026/10/02 03:10
Reported-by: syzbot+141d92942943c526d650@syzkaller.appspotmail.com
First crash: 4d00h, last: 4d00h
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in nilfs_ioctl block 1 1 802d 802d 0/29 auto-obsoleted due to no activity on 2024/09/23 14:52

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (0 ticks this GP) idle=3bcc/1/0x4000000000000000 softirq=34987/34987 fqs=0
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P10158/1:b..l
	(detected by 0, t=10502 jiffies, g=45257, q=117 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10160 Comm: syz.7.1944 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:119 [inline]
RIP: 0010:lock_release+0x103/0x920 kernel/locking/lockdep.c:5691
Code: c0 24 e9 20 8e 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 49 05 00 00 83 3d 0e 6c bc 0c 00 0f 84 a6 04 00 00 65 8b 05 9d fc 9d 7e <85> c0 0f 85 97 04 00 00 65 4c 8b 35 0d f2 9d 7e 49 8d 9e dc 0a 00
RSP: 0018:ffffc900001e0ba0 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 79f646ce36b17e00
RDX: 0000000000000000 RSI: ffffffff8adf6880 RDI: ffffffff8adf6840
RBP: ffffc900001e0cb0 R08: ffffffff8e20b46f R09: 1ffffffff1c4168d
R10: dffffc0000000000 R11: fffffbfff1c4168e R12: dffffc0000000000
R13: dffffc0000000000 R14: 0000000000000001 R15: 1ffff9200003c180
FS:  00007fcdcc0036c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c418716 CR3: 0000000078fe6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline]
 _raw_spin_unlock_irqrestore+0x6d/0x120 kernel/locking/spinlock.c:194
 __run_hrtimer kernel/time/hrtimer.c:1747 [inline]
 __hrtimer_run_queues+0x421/0xc90 kernel/time/hrtimer.c:1815
 hrtimer_interrupt+0x399/0x980 kernel/time/hrtimer.c:1877
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 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:nilfs_clean_segments+0x0/0xbc0 fs/nilfs2/segment.c:2501
Code: f7 ff ff e8 a2 28 48 fe 0f 0b e8 9b 28 48 fe 0f 0b e8 94 28 48 fe 0f 0b e8 8d 28 48 fe 0f 0b e8 86 28 48 fe e9 db f4 ff ff 90 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 20 01
RSP: 0018:ffffc90004f5f998 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: f8f8f8f8f8f8f8f8 RCX: 1ffff1100aaee9cc
RDX: ffffc90004f5fb60 RSI: ffffc90004f5fac0 RDI: ffff88807a326000
RBP: ffffc90004f5fed8 R08: ffff88805a308007 R09: 1ffff1100b461000
R10: dffffc0000000000 R11: ffffed100b461001 R12: ffff888055774e60
R13: ffff88805a308000 R14: fffff520009ebf40 R15: ffffc90004f5fb60
 nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:933 [inline]
 nilfs_ioctl+0x204c/0x21b0 fs/nilfs2/ioctl.c:1285
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcdcb19e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcdcc003028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fcdcb426090 RCX: 00007fcdcb19e159
RDX: 0000200000000640 RSI: 0000000040786e88 RDI: 0000000000000004
RBP: 00007fcdcb23506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcdcb426128 R14: 00007fcdcb426090 R15: 00007ffe3f284278
 </TASK>
task:modprobe        state:R  running task     stack:24496 pid:10158 ppid:9      flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5246 [inline]
 __schedule+0x107f/0x4030 kernel/sched/core.c:6563
 preempt_schedule_irq+0xbb/0x160 kernel/sched/core.c:6875
 irqentry_exit+0x63/0x70 kernel/entry/common.c:442
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__rcu_read_unlock+0x2/0xd0 kernel/rcu/tree_plugin.h:419
Code: 11 ff 03 8b 03 3d 00 00 00 40 7d 02 5b c3 0f 0b eb fa 89 d9 80 e1 07 80 c1 03 38 c1 7c e3 48 89 df e8 c2 84 66 00 eb d9 41 57 <41> 56 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b 3d 55
RSP: 0018:ffffc900056a7400 EFLAGS: 00000246
RAX: ffffffff818ed700 RBX: 0000000000000000 RCX: ffff88802facda00
RDX: 0000000000000000 RSI: ffffffff8adf6880 RDI: ffffffff8adf6840
RBP: 0000000000000000 R08: dffffc0000000000 R09: 1ffffffff2161e48
R10: dffffc0000000000 R11: fffffbfff2161e49 R12: 00000000000001a8
R13: dffffc0000000000 R14: 00007f41e6ba42c7 R15: 0000000000000000
 rcu_read_unlock include/linux/rcupdate.h:823 [inline]
 is_bpf_text_address+0x27a/0x2a0 kernel/bpf/core.c:738
 kernel_text_address+0x9c/0xd0 kernel/extable.c:125
 __kernel_text_address+0x9/0x30 kernel/extable.c:79
 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
 arch_stack_walk+0xf2/0x140 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:46 [inline]
 kasan_set_track+0x4b/0x70 mm/kasan/common.c:53
 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:329
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook+0x4b/0x490 mm/slab.h:737
 kmem_cache_alloc_bulk+0x3ba/0x4e0 mm/slub.c:3880
 mt_alloc_bulk lib/maple_tree.c:159 [inline]
 mas_alloc_nodes+0x449/0x880 lib/maple_tree.c:1301
 mas_node_count_gfp lib/maple_tree.c:1361 [inline]
 mas_preallocate+0x162/0x3b0 lib/maple_tree.c:5809
 __vma_adjust+0x2ff/0x1d00 mm/mmap.c:724
 vma_adjust include/linux/mm.h:2810 [inline]
 __split_vma+0x3a2/0x4f0 mm/mmap.c:-1
 mprotect_fixup+0x5dc/0x840 mm/mprotect.c:623
 do_mprotect_pkey+0x7ff/0xba0 mm/mprotect.c:792
 __do_sys_mprotect mm/mprotect.c:819 [inline]
 __se_sys_mprotect mm/mprotect.c:816 [inline]
 __x64_sys_mprotect+0x7c/0x90 mm/mprotect.c:816
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f41e6ba42c7
RSP: 002b:00007ffc007441c8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a
RAX: ffffffffffffffda RBX: 00007f41e6b81ab0 RCX: 00007f41e6ba42c7
RDX: 0000000000000001 RSI: 0000000000001000 RDI: 00007f41e68b1000
RBP: 00007ffc00744490 R08: 0000000000000000 R09: 00007f41e69e0700
R10: 00007f41e6b81ab0 R11: 0000000000000206 R12: 0000000000000028
R13: 00000088d152ba76 R14: 0000000000000000 R15: 00007f41e6bb8310
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g45257 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=13881
rcu: rcu_preempt kthread starved for 10502 jiffies! g45257 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:27536 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5246 [inline]
 __schedule+0x107f/0x4030 kernel/sched/core.c:6563
 schedule+0xb9/0x180 kernel/sched/core.c:6639
 schedule_timeout+0x184/0x2d0 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x303/0x1350 kernel/rcu/tree.c:1706
 rcu_gp_kthread+0x99/0x3b0 kernel/rcu/tree.c:1905
 kthread+0x29d/0x330 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10160 Comm: syz.7.1944 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__lock_acquire+0x87/0x7c40 kernel/locking/lockdep.c:4921
Code: 9c 4b 57 8c 48 c7 84 24 10 01 00 00 e0 ff 63 81 48 8d 8c 24 00 01 00 00 48 c1 e9 03 48 b8 f1 f1 f1 f1 f8 f8 f8 f8 4a 89 04 01 <48> b8 f8 f8 f8 f2 f2 f2 f2 f2 4a 89 44 01 08 48 b8 f8 f8 f8 f8 f8
RSP: 0018:ffffc900001e08e0 EFLAGS: 00000806
RAX: f8f8f8f8f1f1f1f1 RBX: 0000000000000001 RCX: 1ffff9200003c13c
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff96e5ca28
RBP: ffffc900001e0b10 R08: dffffc0000000000 R09: 0000000000000001
R10: dffffc0000000000 R11: fffffbfff1c4168e R12: 0000000000000001
R13: ffffffff96e5ca28 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fcdcc0036c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c418716 CR3: 0000000078fe6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5678
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162
 debug_object_deactivate+0x63/0x380 lib/debugobjects.c:810
 debug_hrtimer_deactivate kernel/time/hrtimer.c:453 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1719 [inline]
 __hrtimer_run_queues+0x2d8/0xc90 kernel/time/hrtimer.c:1815
 hrtimer_interrupt+0x399/0x980 kernel/time/hrtimer.c:1877
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
 __sysvec_apic_timer_interrupt+0x153/0x5a0 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:nilfs_clean_segments+0x0/0xbc0 fs/nilfs2/segment.c:2501
Code: f7 ff ff e8 a2 28 48 fe 0f 0b e8 9b 28 48 fe 0f 0b e8 94 28 48 fe 0f 0b e8 8d 28 48 fe 0f 0b e8 86 28 48 fe e9 db f4 ff ff 90 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 20 01
RSP: 0018:ffffc90004f5f998 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: f8f8f8f8f8f8f8f8 RCX: 1ffff1100aaee9cc
RDX: ffffc90004f5fb60 RSI: ffffc90004f5fac0 RDI: ffff88807a326000
RBP: ffffc90004f5fed8 R08: ffff88805a308007 R09: 1ffff1100b461000
R10: dffffc0000000000 R11: ffffed100b461001 R12: ffff888055774e60
R13: ffff88805a308000 R14: fffff520009ebf40 R15: ffffc90004f5fb60
 nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:933 [inline]
 nilfs_ioctl+0x204c/0x21b0 fs/nilfs2/ioctl.c:1285
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcdcb19e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcdcc003028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fcdcb426090 RCX: 00007fcdcb19e159
RDX: 0000200000000640 RSI: 0000000040786e88 RDI: 0000000000000004
RBP: 00007fcdcb23506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcdcb426128 R14: 00007fcdcb426090 R15: 00007ffe3f284278
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/02 03:10 linux-6.1.y 1a8763b93150 6d32eb1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in nilfs_ioctl
* Struck through repros no longer work on HEAD.