syzbot


INFO: rcu detected stall in sys_statfs (2)

Status: auto-obsoleted due to no activity on 2025/06/20 15:32
Subsystems: bpf
[Documentation on labels]
First crash: 185d, last: 97d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_statfs 1 57d 57d 0/3 upstream: reported on 2025/05/01 02:27
upstream INFO: rcu detected stall in sys_statfs mm 1 327d 327d 0/29 auto-obsoleted due to no activity on 2024/11/02 00:42
linux-6.1 INFO: rcu detected stall in sys_statfs (2) 1 77d 77d 0/3 upstream: reported on 2025/04/11 13:57
linux-6.1 INFO: rcu detected stall in sys_statfs 1 379d 379d 0/3 auto-obsoleted due to no activity on 2024/09/21 08:20

Sample crash report:
audit: audit_backlog=65 > audit_backlog_limit=64
audit: audit_lost=21519 audit_rate_limit=0 audit_backlog_limit=64
audit: backlog limit exceeded
audit: audit_backlog=65 > audit_backlog_limit=64
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...0: (1 GPs behind) idle=bddc/1/0x4000000000000000 softirq=87995/87998 fqs=1053
rcu: 	         hardirqs   softirqs   csw/system
rcu: 	 number:        0          0            0
rcu: 	cputime:        0          0            0   ==> 52500(ms)
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P12/1:b..l
rcu: 	(detected by 1, t=10505 jiffies, g=98957, q=179 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 18767 Comm: modprobe Not tainted 6.14.0-rc7-syzkaller-00196-g88d324e69ea9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:kasan_check_range+0x7/0x290 mm/kasan/generic.c:188
Code: 2f b6 e3 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 <41> 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39
RSP: 0018:ffffc900000078d8 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff819ceb76
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff94517840
RBP: 71a5d68fa1cc311c R08: ffffffff9451784f R09: 1ffffffff28a2f09
R10: dffffc0000000000 R11: fffffbfff28a2f0a R12: ffff888030ba9e00
R13: ffff888030ba9e00 R14: 1ffff11006175527 R15: 0000000000000000
FS:  00007f9b91da3380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c38aac9 CR3: 0000000062e8e000 CR4: 00000000003526f0
DR0: 0000000000001000 DR1: 00000000ffffffff DR2: 0000000000000002
DR3: 8000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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]
 hlock_class kernel/locking/lockdep.c:230 [inline]
 __lock_acquire+0x12b6/0x2100 kernel/locking/lockdep.c:5225
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
 debug_object_activate+0x17f/0x580 lib/debugobjects.c:818
 debug_hrtimer_activate kernel/time/hrtimer.c:455 [inline]
 debug_activate kernel/time/hrtimer.c:496 [inline]
 enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1100
 __run_hrtimer kernel/time/hrtimer.c:1818 [inline]
 __hrtimer_run_queues+0x6cb/0xd30 kernel/time/hrtimer.c:1865
 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1927
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
 __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
 sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5252
Code: c9 50 e8 a9 2d 0c 00 48 83 c4 08 4c 89 f7 e8 fd 39 00 00 e9 de 04 00 00 4c 89 f7 e8 d0 50 73 0a e8 6b 08 39 00 fb 48 8b 5d c0 <48> 8d bb 08 16 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc
RSP: 0018:ffffc900041cf0c8 EFLAGS: 00000282
RAX: 304946934b25e100 RBX: ffff888030ba9e00 RCX: ffffffff9a61e903
RDX: dffffc0000000000 RSI: ffffffff8c2ab3a0 RDI: ffffffff8c802ce0
RBP: ffffc900041cf110 R08: ffffffff903bd177 R09: 1ffffffff2077a2e
R10: dffffc0000000000 R11: fffffbfff2077a2f R12: 1ffff110170c7ebe
R13: dffffc0000000000 R14: ffff8880b863e7c0 R15: ffff8880b863f5f0
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x18c4/0x4c40 kernel/sched/core.c:6765
 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6944
 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6968
 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108
 audit_log_end+0x1c8/0x250 kernel/audit.c:2441
 common_lsm_audit+0xd3b/0x1de0 security/lsm_audit.c:466
 smack_log+0x469/0x5c0 security/smack/smack_access.c:389
 smk_tskacc+0x300/0x370 security/smack/smack_access.c:253
 smack_inode_permission+0x2db/0x380 security/smack/smack_lsm.c:1218
 security_inode_permission+0x101/0x320 security/security.c:2324
 may_lookup fs/namei.c:1836 [inline]
 link_path_walk+0x891/0xea0 fs/namei.c:2427
 path_lookupat+0xa9/0x450 fs/namei.c:2635
 filename_lookup+0x2a3/0x670 fs/namei.c:2665
 user_path_at+0x3a/0x60 fs/namei.c:3072
 user_statfs fs/statfs.c:103 [inline]
 __do_sys_statfs fs/statfs.c:193 [inline]
 __se_sys_statfs+0xda/0x220 fs/statfs.c:190
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9b91ef768a
Code: c8 ff c3 b8 03 01 00 00 0f 05 48 3d 00 f0 ff ff 76 10 48 8b 15 8f a7 0d 00 f7 d8 64 89 02 48 83 c8 ff c3 b8 89 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 6f a7 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007fff2d9bc448 EFLAGS: 00000246 ORIG_RAX: 0000000000000089
RAX: ffffffffffffffda RBX: 00007f9b91e1c4f8 RCX: 00007f9b91ef768a
RDX: ffffffffffffff80 RSI: 00007fff2d9bc4c0 RDI: 00007f9b91e1472a
RBP: 00007f9b91e1472a R08: 0000000000000000 R09: 000000000000000d
R10: 00007fff2d9bc270 R11: 0000000000000246 R12: 00007fff2d9bc4c0
R13: 00007fff2d9bc638 R14: 00007fff2d9bc660 R15: 0000000000000000
 </TASK>
task:kworker/u8:0    state:R  running task     stack:19352 pid:12    tgid:12    ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5378 [inline]
 __schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7087
 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline]
RIP: 0010:lock_release+0xb8/0xa30 kernel/locking/lockdep.c:5862
Code: 08 0f 83 fe 05 00 00 89 c3 48 89 d8 48 c1 e8 06 48 8d 3c c5 70 d1 3b 90 be 08 00 00 00 e8 e0 9f 89 00 48 0f a3 1d e8 d6 9e 0e <73> 16 e8 e1 43 0a 00 84 c0 75 0d 80 3d 3d ed 88 0e 00 0f 84 fc 05
RSP: 0018:ffffc900001177e0 EFLAGS: 00000257
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff819cfa80
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff903bd170
RBP: ffffc90000117910 R08: ffffffff903bd177 R09: 1ffffffff2077a2e
R10: dffffc0000000000 R11: fffffbfff2077a2f R12: 1ffff92000022f08
R13: ffffffff8bc782fe R14: dffffc0000000000 R15: dffffc0000000000
 rcu_lock_release include/linux/rcupdate.h:347 [inline]
 rcu_read_unlock include/linux/rcupdate.h:880 [inline]
 batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:770 [inline]
 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:824 [inline]
 batadv_iv_ogm_schedule+0x6f3/0x10a0 net/batman-adv/bat_iv_ogm.c:867
 batadv_iv_send_outstanding_bat_ogm_packet+0x703/0x810 net/batman-adv/bat_iv_ogm.c:1711
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3319
 worker_thread+0x870/0xd30 kernel/workqueue.c:3400
 kthread+0x7a9/0x920 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: rcu_preempt kthread starved for 5240 jiffies! g98957 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R  running task     stack:25784 pid:18    tgid:18    ppid:2      task_flags:0x208040 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5378 [inline]
 __schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
 __schedule_loop kernel/sched/core.c:6842 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6857
 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2024
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226
 kthread+0x7a9/0x920 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.14.0-rc7-syzkaller-00196-g88d324e69ea9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline]
RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:92 [inline]
RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112
Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 00 d5 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d 65 5e 88 00 f3 0f 1e fa fb f4 <fa> c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90
RSP: 0018:ffffc900001b7d08 EFLAGS: 00000246
RAX: ffff88801d6f1e00 RBX: ffff888020e87864 RCX: 00000000027412e9
RDX: 0000000000000001 RSI: ffff888020e87800 RDI: ffff888020e87864
RBP: 000000000003a938 R08: ffff8880b873799b R09: 1ffff110170e6f33
R10: dffffc0000000000 R11: ffffffff8c016010 R12: ffff888140fda800
R13: 0000000000000001 R14: 0000000000000001 R15: ffffffff8f3261a0
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6196af4b6d CR3: 000000003561a000 CR4: 00000000003526f0
DR0: 0000000000001000 DR1: 00000000ffffffff DR2: 0000000000000002
DR3: 8000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:699
 cpuidle_enter_state+0x109/0x470 drivers/cpuidle/cpuidle.c:268
 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:389
 call_cpuidle kernel/sched/idle.c:155 [inline]
 cpuidle_idle_call kernel/sched/idle.c:230 [inline]
 do_idle+0x372/0x5c0 kernel/sched/idle.c:325
 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:423
 start_secondary+0x102/0x110 arch/x86/kernel/smpboot.c:315
 common_startup_64+0x13e/0x147
 </TASK>
audit_log_start: 14 callbacks suppressed
audit: audit_backlog=65 > audit_backlog_limit=64
audit: audit_lost=21525 audit_rate_limit=0 audit_backlog_limit=64
audit: backlog limit exceeded
audit: audit_backlog=65 > audit_backlog_limit=64
audit: audit_lost=21526 audit_rate_limit=0 audit_backlog_limit=64
audit: backlog limit exceeded
audit: audit_backlog=65 > audit_backlog_limit=64
audit: audit_lost=21527 audit_rate_limit=0 audit_backlog_limit=64
audit: backlog limit exceeded
audit: audit_backlog=65 > audit_backlog_limit=64

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/22 15:26 upstream 88d324e69ea9 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in sys_statfs
2024/12/24 16:06 net b3a69c559899 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in sys_statfs
* Struck through repros no longer work on HEAD.