INFO: task syz.5.1206:18561 blocked for more than 143 seconds.
Not tainted 6.14.0-rc7-syzkaller-00074-ga7f2e10ecd8f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.1206 state:D stack:11280 pid:18561 tgid:18560 ppid:17958 task_flags:0x400140 flags:0x00004006
Call Trace:
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
bch2_btree_update_start+0x5b7/0x1540 fs/bcachefs/btree_update_interior.c:1150
bch2_btree_split_leaf+0x121/0x880 fs/bcachefs/btree_update_interior.c:1853
bch2_trans_commit_error+0x212/0x1380 fs/bcachefs/btree_trans_commit.c:908
__bch2_trans_commit+0x8105/0x9790 fs/bcachefs/btree_trans_commit.c:1089
bch2_trans_commit fs/bcachefs/btree_update.h:191 [inline]
bch2_set_rebalance_needs_scan+0x99/0x3a0 fs/bcachefs/rebalance.c:257
bch2_run_recovery_pass+0xf0/0x1e0 fs/bcachefs/recovery_passes.c:226
bch2_run_recovery_passes+0x2ad/0xa90 fs/bcachefs/recovery_passes.c:291
bch2_fs_recovery+0x265a/0x3de0 fs/bcachefs/recovery.c:936
bch2_fs_start+0x37c/0x610 fs/bcachefs/super.c:1041
bch2_fs_get_tree+0xdb7/0x17a0 fs/bcachefs/fs.c:2203
vfs_get_tree+0x90/0x2b0 fs/super.c:1814
do_new_mount+0x2be/0xb40 fs/namespace.c:3560
do_mount fs/namespace.c:3900 [inline]
__do_sys_mount fs/namespace.c:4111 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4088
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:0x7f8336f8e90a
RSP: 002b:00007f8337d98e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8337d98ef0 RCX: 00007f8336f8e90a
RDX: 00002000000000c0 RSI: 0000200000000000 RDI: 00007f8337d98eb0
RBP: 00002000000000c0 R08: 00007f8337d98ef0 R09: 0000000000800000
R10: 0000000000800000 R11: 0000000000000246 R12: 0000200000000000
R13: 00007f8337d98eb0 R14: 0000000000005903 R15: 0000200000000100
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746
2 locks held by getty/5585:
#0: ffff888035daa0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fd62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211
3 locks held by kworker/u8:11/9190:
2 locks held by syz.5.1206/18561:
#0: ffff888080380278 (&c->state_lock){+.+.}-{4:4}, at: bch2_fs_start+0x45/0x610 fs/bcachefs/super.c:1010
#1: ffff888080384378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:164 [inline]
#1: ffff888080384378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:256 [inline]
#1: ffff888080384378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7e4/0xd30 fs/bcachefs/btree_iter.c:3408
1 lock held by syz-executor/19328:
#0: ffff88805887a0e0 (&type->s_umount_key#89){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88805887a0e0 (&type->s_umount_key#89){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88805887a0e0 (&type->s_umount_key#89){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
2 locks held by syz.5.1441/21214:
2 locks held by syz.2.1444/21237:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-rc7-syzkaller-00074-ga7f2e10ecd8f #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:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 21275 Comm: dhcpcd-run-hook Not tainted 6.14.0-rc7-syzkaller-00074-ga7f2e10ecd8f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:unwind_next_frame+0xa1/0x22d0
Code: 04 23 84 c0 0f 85 e1 19 00 00 41 8b 45 00 85 c0 0f 84 d7 18 00 00 89 84 24 84 00 00 00 48 89 6c 24 78 48 89 8c 24 90 00 00 00 <48> 89 5c 24 20 bf 01 00 00 00 e8 40 4c 22 00 49 8d 6d 50 48 89 e8
RSP: 0018:ffffc90004f8f010 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 1ffff920009f1e1c RCX: ffffc90004f8fc00
RDX: dffffc0000000000 RSI: ffffffff8210a3cc RDI: ffffc90004f8f0e0
RBP: ffffc90004f8f118 R08: 0000000000000005 R09: ffffc90004f8f1d0
R10: ffffc90004f8f130 R11: ffffffff81ad6c50 R12: dffffc0000000000
R13: ffffc90004f8f0e0 R14: ffffffff8210a3cc R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f831cc463b0 CR3: 00000000817f4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47
kasan_record_aux_stack+0xaa/0xc0 mm/kasan/generic.c:548
__call_rcu_common kernel/rcu/tree.c:3065 [inline]
call_rcu+0x168/0xac0 kernel/rcu/tree.c:3172
remove_vma mm/vma.c:419 [inline]
vms_complete_munmap_vmas+0x65b/0x8f0 mm/vma.c:1202
__mmap_complete mm/vma.c:2412 [inline]
__mmap_region mm/vma.c:2478 [inline]
mmap_region+0x19a0/0x2fc0 mm/vma.c:2540
do_mmap+0xecc/0x13a0 mm/mmap.c:561
vm_mmap_pgoff+0x2a0/0x530 mm/util.c:578
ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:607
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:0x7f831cebfb74
Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f
RSP: 002b:00007ffe1d20f558 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ffe1d20f5d0 RCX: 00007f831cebfb74
RDX: 0000000000000001 RSI: 0000000000003000 RDI: 00007f831cc21000
RBP: 00007ffe1d20f930 R08: 0000000000000003 R09: 0000000000009000
R10: 0000000000000812 R11: 0000000000000246 R12: 00007f831ce9cac0
R13: 00007ffe1d20f9b8 R14: 0000000000008442 R15: 0000000000000000