INFO: task bch-reclaim/loo:9256 blocked for more than 143 seconds.
Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:bch-reclaim/loo state:D stack:17896 pid:9256 tgid:9256 ppid:2 task_flags:0x200040 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
bch2_journal_reclaim_thread+0x16b/0x4f0 fs/bcachefs/journal_reclaim.c:764
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
INFO: task syz.1.338:9443 blocked for more than 143 seconds.
Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.338 state:D stack:27320 pid:9443 tgid:9398 ppid:8503 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
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
rwsem_down_read_slowpath+0x552/0x880 kernel/locking/rwsem.c:1084
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0x98/0x2e0 kernel/locking/rwsem.c:1526
__super_lock fs/super.c:58 [inline]
super_lock+0x2a9/0x3b0 fs/super.c:120
super_lock_shared fs/super.c:139 [inline]
iterate_supers+0x80/0x180 fs/super.c:931
ksys_sync+0x94/0x150 fs/sync.c:102
__ia32_sys_sync+0xe/0x20 fs/sync.c:113
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6531b8e969
RSP: 002b:00007f65329f7038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f6531db6080 RCX: 00007f6531b8e969
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f6531db6080 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6531db6080 R15: 00007ffda6e6efb8
INFO: task syz.7.342:9447 blocked for more than 143 seconds.
Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.342 state:D stack:24344 pid:9447 tgid:9446 ppid:6923 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
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
rwsem_down_read_slowpath+0x552/0x880 kernel/locking/rwsem.c:1084
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0x98/0x2e0 kernel/locking/rwsem.c:1526
__super_lock fs/super.c:58 [inline]
super_lock+0x2a9/0x3b0 fs/super.c:120
super_lock_shared fs/super.c:139 [inline]
iterate_supers+0x80/0x180 fs/super.c:931
ksys_sync+0x94/0x150 fs/sync.c:102
__ia32_sys_sync+0xe/0x20 fs/sync.c:113
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe3f158e969
RSP: 002b:00007fe3f2430038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007fe3f17b5fa0 RCX: 00007fe3f158e969
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fe3f17b5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe3f17b5fa0 R15: 00007fff01af31e8
Showing all locks held in the system:
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
1 lock held by syslogd/5170:
#0: ffff8880b89399d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
2 locks held by getty/5569:
#0: ffff8880317630a0 (&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
6 locks held by syz-executor/8640:
#0: ffff888011cd20e0 (&type->s_umount_key#55){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888011cd20e0 (&type->s_umount_key#55){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888011cd20e0 (&type->s_umount_key#55){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505
#1: ffff88804a300278 (&c->state_lock){++++}-{4:4}, at: __bch2_fs_stop+0xfe/0x5a0 fs/bcachefs/super.c:622
#2: ffff88804a34ad28 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x86/0x810 fs/bcachefs/journal_reclaim.c:875
#3: ffff88804a304228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff88804a304228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff88804a304228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x806/0xda0 fs/bcachefs/btree_iter.c:3385
#4: ffff88804a3045d0 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x1829/0x19a0 fs/bcachefs/btree_write_buffer.c:569
#5: ffff88804a326590 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x68f/0x14c0 fs/bcachefs/btree_update_interior.c:1179
1 lock held by bch-reclaim/loo/9256:
#0: ffff88804a34ad28 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0 fs/bcachefs/journal_reclaim.c:764
1 lock held by syz.1.338/9443:
#0: ffff888011cd20e0 (&type->s_umount_key#55){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888011cd20e0 (&type->s_umount_key#55){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:120
1 lock held by syz.7.342/9447:
#0: ffff888011cd20e0 (&type->s_umount_key#55){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888011cd20e0 (&type->s_umount_key#55){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:120
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/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: 6525 Comm: kworker/u8:9 Not tainted 6.15.0-rc5-syzkaller-00032-g0d8d44db295c #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline]
RIP: 0010:page_table_check_ptes_set include/linux/page_table_check.h:71 [inline]
RIP: 0010:set_ptes include/linux/pgtable.h:292 [inline]
RIP: 0010:__text_poke+0x406/0xbf0 arch/x86/kernel/alternative.c:2279
Code: 89 f6 e8 1d 6a 59 00 4d 85 f6 0f 95 c0 20 d8 0f b6 c0 48 f7 d8 49 31 c7 4d 21 e7 4d 09 ef 4c 8b 2d 5f ab 2e 0c 48 89 44 24 68 79 07 00 00 e8 10 65 59 00 4c 89 7c 24 10 4c 8b 7c 24 10 48 8b
RSP: 0018:ffffc9000490f740 EFLAGS: 00000086
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888026845a00
RDX: 0000000000000000 RSI: 8000000000000063 RDI: 0000000000000000
RBP: ffffc9000490f890 R08: ffffffff8f7daf77 R09: 1ffffffff1efb5ee
R10: dffffc0000000000 R11: fffffbfff1efb5ef R12: 000ffffffffff000
R13: ffff88801a070000 R14: 8000000000000063 R15: 8000000002152063
FS: 0000000000000000(0000) GS:ffff8881260fd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcfaaeaccc CR3: 000000000dd36000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
text_poke arch/x86/kernel/alternative.c:2354 [inline]
text_poke_bp_batch+0x4e5/0x940 arch/x86/kernel/alternative.c:2687
text_poke_flush arch/x86/kernel/alternative.c:2856 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xc5/0x1b0 kernel/jump_label.c:240
static_key_disable+0x1a/0x20 kernel/jump_label.c:248
toggle_allocation_gate+0x1a1/0x240 mm/kfence/core.c:855
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
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