syzbot
INFO: rcu detected stall in sys_newfstatat (2)
Status:
upstream: reported on 2026/05/10 20:40
Reported-by: syzbot+e56fb7f0a6923e2175ba@syzkaller.appspotmail.com
First crash: 149d, last: 11d
Sample crash report:
bridge0: received packet on veth0_to_bridge with own address as source address (addr:5a:e5:15:f8:cd:c0, vlan:0)
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P23/2:b..l P5139/1:b..l
rcu: (detected by 0, t=10503 jiffies, g=10877, q=917 ncpus=2)
task:udevd state:R running task stack:25256 pid:5139 ppid:1 flags:0x00004002
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6701
preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7011
irqentry_exit+0x67/0x70 kernel/entry/common.c:441
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:unwind_get_return_address+0x6c/0xc0 arch/x86/kernel/unwind_orc.c:369
Code: 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 eb 64 a4 00 48 8b 3b e8 43 49 1e 00 89 c5 31 ff 89 c6 e8 68 dc 4b 00 85 ed 74 20 <e8> af d8 4b 00 43 80 3c 37 00 74 08 48 89 df e8 c0 64 a4 00 48 8b
RSP: 0018:ffffc900032872a0 EFLAGS: 00000202
RAX: ffffffff813bb298 RBX: ffffc90003287310 RCX: 0000000000000000
RDX: ffff88807dd55a00 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff88807dd55a00 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff81e95de5
R13: 1ffff1100fbaabef R14: dffffc0000000000 R15: 1ffff92000650e62
arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
save_stack+0x125/0x230 mm/page_owner.c:128
__reset_page_owner+0x4e/0x190 mm/page_owner.c:149
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1182 [inline]
free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366
free_unref_page+0x32/0x2e0 mm/page_alloc.c:2459
discard_slab mm/slub.c:2127 [inline]
__unfreeze_partials+0x1cf/0x210 mm/slub.c:2667
put_cpu_partial+0x17c/0x250 mm/slub.c:2743
__slab_free+0x319/0x400 mm/slub.c:3700
qlink_free mm/kasan/quarantine.c:166 [inline]
qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185
kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306
kasan_slab_alloc include/linux/kasan.h:188 [inline]
slab_post_alloc_hook+0x6a/0x4d0 mm/slab.h:770
slab_alloc_node mm/slub.c:3495 [inline]
__kmem_cache_alloc_node+0x194/0x250 mm/slub.c:3534
__do_kmalloc_node mm/slab_common.c:1006 [inline]
__kmalloc+0xa7/0x240 mm/slab_common.c:1020
kmalloc include/linux/slab.h:604 [inline]
kzalloc include/linux/slab.h:721 [inline]
tomoyo_encode2 security/tomoyo/realpath.c:45 [inline]
tomoyo_encode+0x2ad/0x570 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x57c/0x5c0 security/tomoyo/realpath.c:283
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x282/0x560 security/tomoyo/file.c:822
security_inode_getattr+0xd3/0x120 security/security.c:2190
vfs_getattr fs/stat.c:173 [inline]
vfs_statx+0x172/0x680 fs/stat.c:248
vfs_fstatat+0x12a/0x1b0 fs/stat.c:299
__do_sys_newfstatat fs/stat.c:463 [inline]
__se_sys_newfstatat fs/stat.c:457 [inline]
__x64_sys_newfstatat+0x149/0x1f0 fs/stat.c:457
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f5855b11b0a
RSP: 002b:00007ffe2cd32808 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 00005613f3ba0400 RCX: 00007f5855b11b0a
RDX: 00007ffe2cd32810 RSI: 00005613f3b8e296 RDI: 00000000ffffff9c
RBP: 0000561424d63148 R08: 00000000064098b5 R09: 0000000000745d1e
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe2cd32810 R14: 0000000000000000 R15: 0000000000000000
</TASK>
task:kworker/1:0 state:R running task stack:25736 pid:23 ppid:2 flags:0x00004000
Workqueue: mld mld_dad_work
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6701
preempt_schedule_common+0x82/0xc0 kernel/sched/core.c:6868
preempt_schedule+0xc0/0xd0 kernel/sched/core.c:6892
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45
__local_bh_enable_ip+0x14b/0x1c0 kernel/softirq.c:413
local_bh_enable include/linux/bottom_half.h:33 [inline]
ip6t_do_table+0x13c4/0x1570 net/ipv6/netfilter/ip6_tables.c:375
ip6t_mangle_out net/ipv6/netfilter/ip6table_mangle.c:49 [inline]
ip6table_mangle_hook+0x270/0x700 net/ipv6/netfilter/ip6table_mangle.c:71
nf_hook_entry_hookfn include/linux/netfilter.h:144 [inline]
nf_hook_slow+0xbd/0x200 net/netfilter/core.c:626
nf_hook include/linux/netfilter.h:259 [inline]
NF_HOOK+0x343/0x4a0 include/linux/netfilter.h:302
mld_sendpack+0x802/0xd60 net/ipv6/mcast.c:1851
mld_dad_work+0x3d/0x470 net/ipv6/mcast.c:2290
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
rcu: rcu_preempt kthread starved for 6308 jiffies! g10877 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27848 pid:17 ppid:2 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6701
schedule+0xbd/0x170 kernel/sched/core.c:6775
schedule_timeout+0x188/0x2d0 kernel/time/timer.c:2168
rcu_gp_fqs_loop+0x30d/0x1590 kernel/rcu/tree.c:1667
rcu_gp_kthread+0x9d/0x3b0 kernel/rcu/tree.c:1866
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 5847 Comm: syz.2.6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:fib6_check_expired include/net/ip6_fib.h:276 [inline]
RIP: 0010:__find_rr_leaf+0x17a/0x760 net/ipv6/route.c:847
Code: c1 7c d3 48 89 df e8 15 d6 95 f8 eb c9 e8 0e 4a 3d f8 49 8d 5e 64 49 89 dc 49 c1 ec 03 43 0f b6 04 2c 84 c0 0f 85 ad 03 00 00 <8b> 1b 89 de 81 e6 00 00 40 00 31 ff e8 95 4d 3d f8 89 d8 25 00 00
RSP: 0018:ffffc90000006820 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88802e1bfc64 RCX: ffff88802aae8000
RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000100
RBP: ffffc90000006978 R08: ffffc90000006aa0 R09: ffffc90000006ab0
R10: ffffc90000006900 R11: fffff52000000d22 R12: 1ffff11005c37f8c
R13: dffffc0000000000 R14: ffff88802e1bfc00 R15: ffffc90000006a78
FS: 00007f6b489f76c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff69569ff8 CR3: 000000002e378000 CR4: 00000000003506f0
Call Trace:
<IRQ>
find_rr_leaf net/ipv6/route.c:894 [inline]
rt6_select net/ipv6/route.c:938 [inline]
fib6_table_lookup+0x3c7/0xae0 net/ipv6/route.c:2235
ip6_pol_route+0x239/0x1230 net/ipv6/route.c:2271
pol_lookup_func include/net/ip6_fib.h:641 [inline]
fib6_rule_lookup+0x226/0x580 net/ipv6/fib6_rules.c:116
ip6_route_input_lookup net/ipv6/route.c:2340 [inline]
ip6_route_input+0x78a/0xab0 net/ipv6/route.c:2636
ip6_rcv_finish+0x143/0x230 net/ipv6/ip6_input.c:77
ip_sabotage_in+0x1e2/0x270 net/bridge/br_netfilter_hooks.c:1005
nf_hook_entry_hookfn include/linux/netfilter.h:144 [inline]
nf_hook_slow+0xbd/0x200 net/netfilter/core.c:626
nf_hook include/linux/netfilter.h:259 [inline]
NF_HOOK+0x21d/0x3b0 include/linux/netfilter.h:302
__netif_receive_skb_one_core net/core/dev.c:5670 [inline]
__netif_receive_skb+0xcc/0x290 net/core/dev.c:5784
netif_receive_skb_internal net/core/dev.c:5870 [inline]
netif_receive_skb+0x1bc/0x720 net/core/dev.c:5929
NF_HOOK+0x9e/0x3a0 include/linux/netfilter.h:304
br_handle_frame_finish+0xf51/0x15c0 net/bridge/br_input.c:221
br_nf_hook_thresh+0x3cd/0x4a0 net/bridge/br_netfilter_hooks.c:1188
br_nf_pre_routing_finish_ipv6+0x9e5/0xd20 net/bridge/br_netfilter_ipv6.c:-1
NF_HOOK include/linux/netfilter.h:304 [inline]
br_nf_pre_routing_ipv6+0x34d/0x6a0 net/bridge/br_netfilter_ipv6.c:184
nf_hook_entry_hookfn include/linux/netfilter.h:144 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:277 [inline]
br_handle_frame+0x1240/0x14d0 net/bridge/br_input.c:424
__netif_receive_skb_core+0xf94/0x3ac0 net/core/dev.c:5564
__netif_receive_skb_one_core net/core/dev.c:5668 [inline]
__netif_receive_skb+0x74/0x290 net/core/dev.c:5784
process_backlog+0x380/0x710 net/core/dev.c:6112
__napi_poll+0xbb/0x460 net/core/dev.c:6674
napi_poll net/core/dev.c:6741 [inline]
net_rx_action+0x65f/0xcc0 net/core/dev.c:6877
handle_softirqs+0x27d/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:check_kcov_mode kernel/kcov.c:189 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:241 [inline]
RIP: 0010:__sanitizer_cov_trace_cmp8+0x36/0x80 kernel/kcov.c:289
Code: 90 2a 7c 7e 65 8b 15 91 2a 7c 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 24 16 00 00 00 74 4e 8b 91 00 16 00 00 <83> fa 03 75 43 48 8b 91 08 16 00 00 44 8b 89 04 16 00 00 49 c1 e1
RSP: 0018:ffffc900048feed0 EFLAGS: 00000246
RAX: ffffffff813bd0c5 RBX: ffffc900048f8001 RCX: ffff88802aae8000
RDX: 0000000000000002 RSI: ffffc900048ff410 RDI: ffffc900048ff468
RBP: 0000000000000001 R08: ffff88802aae8000 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000002 R12: ffffc900048ff410
R13: ffffc900048fefa8 R14: ffffc900048ff468 R15: ffffc900048fefb8
unwind_next_frame+0x1cf5/0x2990 arch/x86/kernel/unwind_orc.c:-1
arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x4e/0x70 mm/kasan/common.c:53
kasan_save_free_info+0x28/0x40 mm/kasan/generic.c:522
____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237
kasan_slab_free include/linux/kasan.h:164 [inline]
slab_free_hook mm/slub.c:1811 [inline]
slab_free_freelist_hook+0x130/0x1a0 mm/slub.c:1837
slab_free mm/slub.c:3830 [inline]
__kmem_cache_free+0xba/0x1f0 mm/slub.c:3843
free_func_state kernel/bpf/verifier.c:1738 [inline]
free_verifier_state+0xdd/0x230 kernel/bpf/verifier.c:1754
pop_stack kernel/bpf/verifier.c:2053 [inline]
do_check_common+0xbd7/0x1410 kernel/bpf/verifier.c:19912
do_check_main kernel/bpf/verifier.c:19966 [inline]
bpf_check+0x65df/0xec40 kernel/bpf/verifier.c:20646
bpf_prog_load+0x10fa/0x1610 kernel/bpf/syscall.c:2753
__sys_bpf+0x5ba/0x890 kernel/bpf/syscall.c:5491
__do_sys_bpf kernel/bpf/syscall.c:5595 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5593 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5593
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6b47b9e159
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:00007f6b489f7028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f6b47e25fa0 RCX: 00007f6b47b9e159
RDX: 0000000000000048 RSI: 00002000000017c0 RDI: 0000000000000005
RBP: 00007f6b47c3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6b47e26038 R14: 00007f6b47e25fa0 R15: 00007ffcfcc0a968
</TASK>
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:5a:e5:15:f8:cd:c0, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:5a:e5:15:f8:cd:c0, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:5a:e5:15:f8:cd:c0, vlan:0)
* Struck through repros no longer work on HEAD.