INFO: task syz.8.1091:11821 blocked for more than 143 seconds.
Not tainted 6.14.0-rc3-next-20250218-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.1091 state:D stack:21264 pid:11821 tgid:11815 ppid:11409 task_flags:0x400140 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5373 [inline]
__schedule+0x190e/0x4c90 kernel/sched/core.c:6760
__schedule_loop kernel/sched/core.c:6837 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6852
__closure_sync+0x259/0x2f0 lib/closure.c:146
closure_sync include/linux/closure.h:195 [inline]
bch2_journal_res_get_slowpath+0x96f/0xb60 fs/bcachefs/journal.c:742
bch2_journal_res_get fs/bcachefs/journal.h:399 [inline]
bch2_trans_journal_res_get fs/bcachefs/btree_trans_commit.c:351 [inline]
bch2_trans_commit_error+0xd97/0x1380 fs/bcachefs/btree_trans_commit.c:905
__bch2_trans_commit+0x86ff/0x9c80 fs/bcachefs/btree_trans_commit.c:1066
bch2_trans_commit fs/bcachefs/btree_update.h:183 [inline]
bch2_dev_usage_init+0x230/0x460 fs/bcachefs/disk_accounting.c:892
bch2_fs_initialize+0xa7f/0x1610 fs/bcachefs/recovery.c:1137
bch2_fs_start+0x36d/0x610 fs/bcachefs/super.c:1042
bch2_fs_get_tree+0xdb7/0x17a0 fs/bcachefs/fs.c:2203
vfs_get_tree+0x90/0x2b0 fs/super.c:1759
do_new_mount+0x2be/0xb40 fs/namespace.c:3659
do_mount fs/namespace.c:3999 [inline]
__do_sys_mount fs/namespace.c:4210 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4187
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:0x7f264fb8e90a
RSP: 002b:00007f2650911e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2650911ef0 RCX: 00007f264fb8e90a
RDX: 00004000000000c0 RSI: 0000400000000180 RDI: 00007f2650911eb0
RBP: 00004000000000c0 R08: 00007f2650911ef0 R09: 0000000000200000
R10: 0000000000200000 R11: 0000000000000246 R12: 0000400000000180
R13: 00007f2650911eb0 R14: 0000000000005a73 R15: 0000400000000000
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8eb3b3a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8eb3b3a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8eb3b3a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746
2 locks held by getty/5587:
#0: ffff888035e120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000331b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211
7 locks held by kworker/0:4/5827:
#0: ffff8880216a2548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff8880216a2548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000411fc60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000411fc60 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319
#2: ffff888144fb1190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline]
#2: ffff888144fb1190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5861
#3: ffff88807ed73190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline]
#3: ffff88807ed73190 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x103/0x950 drivers/usb/core/hub.c:2307
#4: ffff88807f136160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1030 [inline]
#4: ffff88807f136160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff88807f136160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293
#5: ffffffff8fee0408 (rtnl_mutex){+.+.}-{4:4}, at: wpan_phy_unregister+0x1c6/0x390 net/ieee802154/core.c:175
#6: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline]
#6: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x820 kernel/rcu/tree_exp.h:998
3 locks held by kworker/u8:10/6881:
#0: ffff8880b873e958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598
#1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987
#2: ffff8880b872a398 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x972/0x10e0 kernel/time/timer.c:1159
1 lock held by syz-executor/8934:
#0: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#0: ffffffff8eb408b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x820 kernel/rcu/tree_exp.h:998
1 lock held by syz.8.1091/11821:
#0: ffff888068180278 (&c->state_lock){+.+.}-{4:4}, at: bch2_fs_start+0x45/0x610 fs/bcachefs/super.c:1010
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-rc3-next-20250218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline]
watchdog+0x1058/0x10a0 kernel/hung_task.c:399
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:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 9472 Comm: kworker/u8:13 Not tainted 6.14.0-rc3-next-20250218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bat_events batadv_purge_orig
RIP: 0010:batadv_purge_orig_ref+0x15e/0x1660 net/batman-adv/originator.c:1277
Code: 24 80 00 00 00 48 c7 c0 a0 45 a9 9a 48 c1 e8 03 48 89 84 24 b0 00 00 00 48 89 54 24 38 48 8b 84 24 98 00 00 00 42 80 3c 30 00 <4c> 8b 74 24 70 74 0d 4c 89 f7 e8 33 de 4f f6 48 8b 54 24 38 48 8b
RSP: 0018:ffffc90004c8f9a0 EFLAGS: 00000246
RAX: 1ffff11003cec8c0 RBX: ffff888034e74fd8 RCX: ffff888032591e00
RDX: ffff88801e764608 RSI: 0000000000000400 RDI: 0000000000000000
RBP: ffffc90004c8fb00 R08: ffffffff8bd9a1c5 R09: 1ffffffff207b48e
R10: dffffc0000000000 R11: ffffffff8bd94e50 R12: dffffc0000000000
R13: ffff88803546cec8 R14: dffffc0000000000 R15: ffffffff818ac2c6
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffd0fdfda8 CR3: 000000007b79e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
batadv_purge_orig+0x19/0x60 net/batman-adv/originator.c:1311
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:245