syzbot


INFO: rcu detected stall in statx

Status: auto-obsoleted due to no activity on 2025/08/23 19:40
Subsystems: mm
[Documentation on labels]
First crash: 170d, last: 136d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_statx mm 1 6 323d 382d 0/29 auto-obsoleted due to no activity on 2025/02/17 14:25

Sample crash report:
net_ratelimit: 5 callbacks suppressed
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P5832/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=117929, q=938920 ncpus=2)
task:syz-executor    state:R  running task     stack:21224 pid:5832  tgid:5832  ppid:5820   task_flags:0x400140 flags:0x20000002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7090
 irqentry_exit+0x6f/0x90 kernel/entry/common.c:354
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:unwind_next_frame+0x10e/0x2390 include/linux/rcupdate.h:-1
Code: 40 f7 0d 00 75 1f c6 05 a3 40 f7 0d 01 48 c7 c7 20 25 68 8b be 4b 03 00 00 48 c7 c2 60 25 68 8b e8 f7 9f 2c 00 4c 89 6c 24 70 <48> 89 5c 24 68 4d 8d 6e 50 4c 89 e8 48 c1 e8 03 48 89 44 24 38 80
RSP: 0018:ffffc900042cf338 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffffff8221be72 RCX: eff207e06da80800
RDX: 0000000000000000 RSI: ffffffff8bc1f5e0 RDI: ffffffff8bc1f5a0
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8171ca05 R12: 1ffff92000859e81
R13: ffffc900042cf440 R14: ffffc900042cf408 R15: ffffffff8171ca05
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 save_stack+0xf7/0x1f0 mm/page_owner.c:156
 __reset_page_owner+0x71/0x1f0 mm/page_owner.c:308
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1258 [inline]
 __free_frozen_pages+0xb0e/0xcd0 mm/page_alloc.c:2721
 __slab_free+0x326/0x400 mm/slub.c:4553
 qlink_free mm/kasan/quarantine.c:163 [inline]
 qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329
 kasan_slab_alloc include/linux/kasan.h:250 [inline]
 slab_post_alloc_hook mm/slub.c:4147 [inline]
 slab_alloc_node mm/slub.c:4196 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x224/0x4f0 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 tomoyo_realpath_from_path+0xe3/0x5d0 security/tomoyo/realpath.c:251
 tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
 tomoyo_path_perm+0x213/0x4b0 security/tomoyo/file.c:822
 security_inode_getattr+0x12f/0x330 security/security.c:2377
 vfs_getattr fs/stat.c:256 [inline]
 vfs_statx_path fs/stat.c:296 [inline]
 vfs_statx_fd fs/stat.c:320 [inline]
 do_statx_fd+0x115/0x390 fs/stat.c:784
 __do_sys_statx fs/stat.c:812 [inline]
 __se_sys_statx+0x11e/0x250 fs/stat.c:803
 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
 __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/syscall_32.c:306
 do_fast_syscall_32+0x34/0x80 arch/x86/entry/syscall_32.c:331
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7f11539
RSP: 002b:00000000f74fea60 EFLAGS: 00000206 ORIG_RAX: 000000000000017f
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000f726268a
RDX: 0000000000001800 RSI: 00000000000007ff RDI: 00000000f74feb1c
RBP: 00000000f74fec70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
rcu: rcu_preempt kthread starved for 511 jiffies! g117929 f0x2 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:27304 pid:16    tgid:16    ppid:2      task_flags:0x208040 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
 __schedule_loop kernel/sched/core.c:6845 [inline]
 schedule+0x165/0x360 kernel/sched/core.c:6860
 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2046
 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2248
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 11871 Comm: kworker/u8:14 Not tainted 6.15.0-rc7-syzkaller-00152-gd0c22de9995b #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:check_preemption_disabled+0x35/0x120 lib/smp_processor_id.c:55
Code: 48 8b 05 4e 2e 1f 07 48 89 44 24 08 65 8b 05 56 2e 1f 07 65 8b 0d 4b 2e 1f 07 f7 c1 ff ff ff 7f 74 23 65 48 8b 0d 2b 2e 1f 07 <48> 3b 4c 24 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d e9
RSP: 0018:ffffc90000a07680 EFLAGS: 00000206
RAX: 0000000000000001 RBX: ffffffff81acdd7c RCX: 3365c795d3f94f00
RDX: 0000000000000000 RSI: ffffffff8bc1f5e0 RDI: ffffffff8bc1f5a0
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8171ca05 R12: 1ffff92000140ef5
R13: ffffc90000a077e0 R14: ffffc90000a077a8 R15: ffffffff8171ca05
FS:  0000000000000000(0000) GS:ffff8881261c2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000ef615ff0 CR3: 000000002d8e4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
 rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:736
 rcu_read_lock include/linux/rcupdate.h:842 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1155 [inline]
 unwind_next_frame+0xd4/0x2390 arch/x86/kernel/unwind_orc.c:479
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:394
 kasan_kmalloc include/linux/kasan.h:260 [inline]
 __kmalloc_cache_noprof+0x230/0x3d0 mm/slub.c:4358
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 ref_tracker_alloc+0x133/0x460 lib/ref_tracker.c:203
 __netdev_tracker_alloc include/linux/netdevice.h:4331 [inline]
 netdev_hold include/linux/netdevice.h:4360 [inline]
 dst_init+0xd9/0x450 net/core/dst.c:52
 dst_alloc+0x12a/0x170 net/core/dst.c:93
 rt_dst_alloc net/ipv4/route.c:1638 [inline]
 __mkroute_output net/ipv4/route.c:2632 [inline]
 ip_route_output_key_hash_rcu+0x140d/0x2330 net/ipv4/route.c:2854
 ip_route_output_key_hash+0x1b9/0x2e0 net/ipv4/route.c:2683
 __ip_route_output_key include/net/route.h:169 [inline]
 ip_route_output_flow+0x2a/0x150 net/ipv4/route.c:2911
 ip_route_output_key include/net/route.h:179 [inline]
 ip_route_me_harder+0x6b9/0xfe0 net/ipv4/netfilter.c:53
 synproxy_send_tcp+0x359/0x6c0 net/netfilter/nf_synproxy_core.c:431
 synproxy_send_client_synack+0x8bb/0xe20 net/netfilter/nf_synproxy_core.c:484
 nft_synproxy_eval_v4+0x36e/0x560 net/netfilter/nft_synproxy.c:59
 nft_synproxy_do_eval+0x345/0x570 net/netfilter/nft_synproxy.c:141
 expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline]
 nft_do_chain+0x409/0x1920 net/netfilter/nf_tables_core.c:285
 nft_do_chain_inet+0x25d/0x340 net/netfilter/nft_chain_filter.c:161
 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
 nf_hook_slow+0xc2/0x220 net/netfilter/core.c:626
 nf_hook include/linux/netfilter.h:269 [inline]
 NF_HOOK+0x206/0x3a0 include/linux/netfilter.h:312
 NF_HOOK+0x30c/0x3a0 include/linux/netfilter.h:314
 __netif_receive_skb_one_core net/core/dev.c:5887 [inline]
 __netif_receive_skb+0x143/0x380 net/core/dev.c:6000
 process_backlog+0x60e/0x14f0 net/core/dev.c:6352
 __napi_poll+0xc7/0x480 net/core/dev.c:7324
 napi_poll net/core/dev.c:7388 [inline]
 net_rx_action+0x6ea/0xdf0 net/core/dev.c:7510
 handle_softirqs+0x286/0x870 kernel/softirq.c:579
 do_softirq+0xec/0x180 kernel/softirq.c:480
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x17d/0x1c0 kernel/softirq.c:407
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline]
 nsim_dev_trap_report_work+0x7c7/0xb80 drivers/net/netdevsim/dev.c:851
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
net_ratelimit: 5 callbacks suppressed
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: nq: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available
IPVS: wrr: UDP 224.0.0.2:0 - no destination available

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/25 19:30 upstream d0c22de9995b ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in statx
2025/05/22 12:56 upstream d608703fcdd9 0919b50b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in statx
2025/04/21 08:42 upstream ac71fabf1567 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 INFO: rcu detected stall in statx
* Struck through repros no longer work on HEAD.