INFO: task bch-reclaim/loo:27326 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:bch-reclaim/loo state:D stack:26280 pid:27326 tgid:27326 ppid:2 task_flags:0x200840 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5360 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6964
__schedule_loop kernel/sched/core.c:7046 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7061
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7118
__mutex_lock_common kernel/locking/mutex.c:676 [inline]
__mutex_lock+0x7e6/0x1350 kernel/locking/mutex.c:760
btree_write_buffer_flush_seq+0x18bd/0x1a40 fs/bcachefs/btree_write_buffer.c:571
bch2_btree_write_buffer_journal_flush+0x69/0xb0 fs/bcachefs/btree_write_buffer.c:588
journal_flush_pins+0x8e3/0xe90 fs/bcachefs/journal_reclaim.c:604
__bch2_journal_reclaim+0x910/0xed0 fs/bcachefs/journal_reclaim.c:732
bch2_journal_reclaim_thread+0x177/0x4f0 fs/bcachefs/journal_reclaim.c:774
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Showing all locks held in the system:
2 locks held by ksoftirqd/1/23:
1 lock held by khungtaskd/31:
#0: ffffffff8e33c820 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e33c820 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e33c820 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by getty/5615:
#0: ffff88814d37c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036bb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
5 locks held by syz-executor/22673:
#0: ffff88804aeba0e0 (&type->s_umount_key#81){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline]
#0: ffff88804aeba0e0 (&type->s_umount_key#81){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline]
#0: ffff88804aeba0e0 (&type->s_umount_key#81){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505
#1: ffff888055400278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xf8/0x900 fs/bcachefs/super.c:676
#2: ffff888055404740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40 fs/bcachefs/btree_write_buffer.c:571
#3: ffff888055404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff888055404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff888055404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220 fs/bcachefs/btree_iter.c:3299
#4: ffff888055426710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0 fs/bcachefs/btree_update_interior.c:1211
3 locks held by bch-reclaim/loo/27326:
#0: ffff88805544af68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0 fs/bcachefs/journal_reclaim.c:773
#1: ffff888055404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#1: ffff888055404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#1: ffff888055404398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80 fs/bcachefs/btree_iter.c:3505
#2: ffff888055404740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x18bd/0x1a40 fs/bcachefs/btree_write_buffer.c:571
2 locks held by kworker/u8:11/27486:
#0: ffff88801ffc1948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline]
#0: ffff88801ffc1948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346
#1: ffffc9000b047ba0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline]
#1: ffffc9000b047ba0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346
2 locks held by syz-executor/27792:
1 lock held by syz.9.8295/28151:
#0: ffff88804aeba0e0 (&type->s_umount_key#81){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline]
#0: ffff88804aeba0e0 (&type->s_umount_key#81){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121
1 lock held by syz-executor/28616:
#0: ffffffff8e3422b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline]
#0: ffffffff8e3422b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957
2 locks held by syz.1.9561/31372:
#0: ffff88802ce560e0 (&type->s_umount_key#82/1){+.+.}-{4:4}, at: alloc_super+0x1bb/0x930 fs/super.c:344
#1: ffffffff8e342180 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3820
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
watchdog+0xf60/0xfa0 kernel/hung_task.c:495
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 27488 Comm: kworker/u8:13 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:__asan_memset+0x15/0x50 mm/kasan/shadow.c:84
Code: 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 56 53 48 89 d3 89 f5 49 89 fe 48 8b 4c 24 18 <48> 89 d6 ba 01 00 00 00 e8 7e e4 ff ff 84 c0 74 11 4c 89 f7 89 ee
RSP: 0018:ffffc90000a07600 EFLAGS: 00000246
RAX: ffffc90000a07660 RBX: 0000000000000010 RCX: ffffffff8a3b102c
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90000a07680
RBP: 0000000000000000 R08: ffffc90000a07910 R09: 0000000000000003
R10: ffffc90000a07910 R11: fffff52000140f26 R12: ffffc90000a07660
R13: ffff888068208c58 R14: ffffc90000a07680 R15: ffffc90000a07d08
FS: 0000000000000000(0000) GS:ffff888125ae8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4c00a36000 CR3: 0000000075404000 CR4: 00000000003526f0
Call Trace:
fib6_node_lookup+0xbc/0x1b0 net/ipv6/ip6_fib.c:1690
fib6_table_lookup+0xbf/0xa80 net/ipv6/route.c:2229
ip6_pol_route+0x222/0x1180 net/ipv6/route.c:2269
pol_lookup_func include/net/ip6_fib.h:617 [inline]
__fib6_rule_action net/ipv6/fib6_rules.c:237 [inline]
fib6_rule_action+0x674/0x7d0 net/ipv6/fib6_rules.c:275
fib_rules_lookup+0x767/0xe90 net/core/fib_rules.c:339
fib6_rule_lookup+0x18e/0x6f0 net/ipv6/fib6_rules.c:112
ip6_route_input_lookup net/ipv6/route.c:2338 [inline]
ip6_route_input+0x6de/0xad0 net/ipv6/route.c:2641
ip6_rcv_finish+0x141/0x2e0 net/ipv6/ip6_input.c:77
ip_sabotage_in+0x1e1/0x270 net/bridge/br_netfilter_hooks.c:990
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_slow+0xc5/0x220 net/netfilter/core.c:623
nf_hook include/linux/netfilter.h:273 [inline]
NF_HOOK+0x206/0x3a0 include/linux/netfilter.h:316
__netif_receive_skb_one_core net/core/dev.c:6040 [inline]
__netif_receive_skb+0xd3/0x380 net/core/dev.c:6153
netif_receive_skb_internal net/core/dev.c:6239 [inline]
netif_receive_skb+0x1cb/0x790 net/core/dev.c:6298
NF_HOOK+0xa0/0x390 include/linux/netfilter.h:319
br_handle_frame_finish+0x14d1/0x19b0 net/bridge/br_input.c:-1
br_nf_hook_thresh+0x3c6/0x4a0 net/bridge/br_netfilter_hooks.c:-1
br_nf_pre_routing_finish_ipv6+0x999/0xd60 net/bridge/br_netfilter_ipv6.c:-1
NF_HOOK include/linux/netfilter.h:318 [inline]
br_nf_pre_routing_ipv6+0x37e/0x6b0 net/bridge/br_netfilter_ipv6.c:184
nf_hook_entry_hookfn include/linux/netfilter.h:158 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:283 [inline]
br_handle_frame+0x982/0x14c0 net/bridge/br_input.c:434
__netif_receive_skb_core+0x10b9/0x4020 net/core/dev.c:5927
__netif_receive_skb_one_core net/core/dev.c:6038 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6153
process_backlog+0x60e/0x14f0 net/core/dev.c:6505
__napi_poll+0xc7/0x360 net/core/dev.c:7555
napi_poll net/core/dev.c:7618 [inline]
net_rx_action+0x707/0xe30 net/core/dev.c:7745
handle_softirqs+0x286/0x870 kernel/softirq.c:579
do_softirq+0xec/0x180 kernel/softirq.c:480
__local_bh_enable_ip+0x17d/0x1c0 kernel/softirq.c:407
spin_unlock_bh include/linux/spinlock.h:396 [inline]
ieee80211_ibss_work+0x300/0x1060 net/mac80211/ibss.c:1658
cfg80211_wiphy_work+0x2bb/0x470 net/wireless/core.c:435
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
net_ratelimit: 3819 callbacks suppressed
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:3c:20:3f:68:23, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)