INFO: task syz-executor:5831 blocked for more than 143 seconds.
Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D stack:15688 pid:5831 tgid:5831 ppid:1 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x168f/0x4c70 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
bch2_fs_read_only+0xbcf/0x14a0 fs/bcachefs/super.c:344
__bch2_fs_stop+0x106/0x5a0 fs/bcachefs/super.c:619
generic_shutdown_super+0x132/0x2c0 fs/super.c:642
bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2620
deactivate_locked_super+0xb9/0x130 fs/super.c:473
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1435
task_work_run+0x1d1/0x260 kernel/task_work.c:227
resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218
do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faf8758fc97
RSP: 002b:00007fff74aaa548 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007faf8761089d RCX: 00007faf8758fc97
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff74aaa600
RBP: 00007fff74aaa600 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff74aab690
R13: 00007faf8761089d R14: 0000000000049bc1 R15: 00007fff74aab6d0
INFO: task bch-reclaim/loo:10608 blocked for more than 144 seconds.
Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:bch-reclaim/loo state:D stack:26584 pid:10608 tgid:10608 ppid:2 task_flags:0x200840 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x168f/0x4c70 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x724/0xe80 kernel/locking/mutex.c:746
btree_write_buffer_flush_seq+0x1829/0x19a0 fs/bcachefs/btree_write_buffer.c:569
bch2_btree_write_buffer_journal_flush+0x69/0xb0 fs/bcachefs/btree_write_buffer.c:586
journal_flush_pins+0x8e0/0xe90 fs/bcachefs/journal_reclaim.c:592
__bch2_journal_reclaim+0x781/0xd10 fs/bcachefs/journal_reclaim.c:723
bch2_journal_reclaim_thread+0x177/0x4f0 fs/bcachefs/journal_reclaim.c:765
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
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
2 locks held by kworker/u8:0/12:
#0: ffff8881482c4948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff8881482c4948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1: ffff8880b8823b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39e/0x6d0 kernel/sched/psi.c:987
1 lock held by khungtaskd/31:
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764
2 locks held by kworker/u8:4/63:
2 locks held by getty/5572:
#0: ffff8880302370a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002ffe2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
2 locks held by syz-executor/5831:
#0: ffff88802d38c0e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88802d38c0e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88802d38c0e0 (&type->s_umount_key#65){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505
#1: ffff888036280278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xfe/0x5a0 fs/bcachefs/super.c:618
3 locks held by bch-reclaim/loo/10608:
#0: ffff8880362cad28 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0 fs/bcachefs/journal_reclaim.c:764
#1: ffff888036284228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#1: ffff888036284228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#1: ffff888036284228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x806/0xda0 fs/bcachefs/btree_iter.c:3385
#2: ffff8880362845d0 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x1829/0x19a0 fs/bcachefs/btree_write_buffer.c:569
3 locks held by bch-copygc/loop/10609:
#0: ffff8880362845d0 (&wb->flushing.lock){+.+.}-{4:4}, at: bch2_btree_write_buffer_flush_nocheck_rw fs/bcachefs/btree_write_buffer.c:620 [inline]
#0: ffff8880362845d0 (&wb->flushing.lock){+.+.}-{4:4}, at: bch2_btree_write_buffer_tryflush+0x130/0x1a0 fs/bcachefs/btree_write_buffer.c:635
#1: ffff888036284228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#1: ffff888036284228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#1: ffff888036284228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220 fs/bcachefs/btree_iter.c:3202
#2: ffff8880362a6590 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x68f/0x14c0 fs/bcachefs/btree_update_interior.c:1179
1 lock held by syz.1.544/11626:
#0: ffff88802d38c0e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88802d38c0e0 (&type->s_umount_key#65){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:120
1 lock held by syz-executor/11721:
#0: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#0: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998
1 lock held by syz-executor/12581:
6 locks held by dhcpcd-run-hook/13774:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:437
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
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 13776 Comm: syz.7.719 Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216
Code: 8b 3d 6c c6 d5 0b 48 89 de 5b e9 33 3d 55 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 08 e0 71 92 65 8b 15 38 22 b2 10 81 e2 00 01 ff 00
RSP: 0000:ffffc9000408fb40 EFLAGS: 00000296
RAX: ffffffff822a7c02 RBX: 800000001275c225 RCX: 0000000000000001
RDX: 800000001275c225 RSI: ffff88804ef19ec0 RDI: ffff888033235000
RBP: 0000000000000001 R08: ffff8880332357ff R09: 1ffff11006646aff
R10: dffffc0000000000 R11: ffffed1006646b00 R12: 800000001275c225
R13: ffff888034f6f150 R14: ffff88804ef19ec0 R15: ffff888033235000
FS: 00007fec412456c0(0000) GS:ffff888126102000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fec363d8000 CR3: 0000000040498000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__page_table_check_ptes_set+0x22/0x2f0 mm/page_table_check.c:198
page_table_check_ptes_set include/linux/page_table_check.h:74 [inline]
set_ptes+0x231/0x240 include/linux/pgtable.h:292
do_anonymous_page mm/memory.c:5051 [inline]
do_pte_missing mm/memory.c:4158 [inline]
handle_pte_fault mm/memory.c:5997 [inline]
__handle_mm_fault+0x3a7c/0x5380 mm/memory.c:6140
handle_mm_fault+0x2d5/0x7f0 mm/memory.c:6309
do_user_addr_fault+0xa81/0x1390 arch/x86/mm/fault.c:1337
handle_page_fault arch/x86/mm/fault.c:1480 [inline]
exc_page_fault+0x68/0x110 arch/x86/mm/fault.c:1538
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fec40250d66
Code: f0 72 6e 48 63 cd 48 01 c1 49 39 4f 08 72 4c 8d 4d ff 85 ed 74 33 66 0f 1f 44 00 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 <47> 0f b6 0c 08 45 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01
RSP: 002b:00007fec412444a0 EFLAGS: 00010206
RAX: 00000000007d8001 RBX: 00007fec41244540 RCX: 000000000000008e
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fec412445e0
RBP: 0000000000000102 R08: 00007fec35c00000 R09: 00000000007d8000
R10: 0000000000000000 R11: 00007fec41244550 R12: 0000000000000001
R13: 00007fec4042bfc0 R14: 0000000000000000 R15: 00007fec412445e0