INFO: task syz-executor:6830 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:18856 pid:6830 tgid:6830 ppid:1 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0x165/0x360 kernel/sched/core.c:7058 io_schedule+0x81/0xe0 kernel/sched/core.c:7903 folio_wait_bit_common+0x6b5/0xb90 mm/filemap.c:1317 __folio_lock mm/filemap.c:1675 [inline] folio_lock include/linux/pagemap.h:1133 [inline] __filemap_get_folio+0x167/0xa40 mm/filemap.c:1929 truncate_inode_pages_range+0x3cf/0xb90 mm/truncate.c:388 evict+0x517/0x9c0 fs/inode.c:812 dispose_list fs/inode.c:852 [inline] evict_inodes+0x64c/0x6d0 fs/inode.c:906 generic_shutdown_super+0x9a/0x2c0 fs/super.c:628 kill_block_super+0x44/0x90 fs/super.c:1766 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1375 task_work_run+0x1d1/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc75e0001f7 RSP: 002b:00007ffc9e61cd78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fc75e081d7d RCX: 00007fc75e0001f7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc9e61ce30 RBP: 00007ffc9e61ce30 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc9e61dec0 R13: 00007fc75e081d7d R14: 0000000000041226 R15: 00007ffc9e61df00 Showing all locks held in the system: 1 lock held by khungtaskd/38: #0: ffffffff8d9a8dc0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8d9a8dc0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8d9a8dc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 2 locks held by kworker/u8:2/43: 3 locks held by kworker/u8:5/70: #0: ffff888019881138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff888019881138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3319 #1: ffffc9000155fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000155fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3319 #2: ffffffff8ecd38b8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 4 locks held by kworker/u8:11/1557: 4 locks held by kworker/u8:14/4053: 1 lock held by udevd/5208: 1 lock held by dhcpcd/5503: #0: ffffffff8ecd38b8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff8ecd38b8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0 net/ipv4/devinet.c:978 2 locks held by getty/5593: #0: ffff88823bf2a8a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000421b2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1410 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6830: #0: ffff8880299d40d0 (&type->s_umount_key#69){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff8880299d40d0 (&type->s_umount_key#69){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff8880299d40d0 (&type->s_umount_key#69){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:506 4 locks held by syz-executor/7595: 1 lock held by syz-executor/8912: #0: ffffffff8ecd38b8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8ecd38b8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff8ecd38b8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70 net/core/rtnetlink.c:4056 4 locks held by syz.6.471/9152: 3 locks held by syz.3.472/9154: 4 locks held by syz.9.474/9166: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(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:328 [inline] watchdog+0xf93/0xfe0 kernel/hung_task.c:491 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x436/0x7d0 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: 9152 Comm: syz.6.471 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:209 [inline] RIP: 0010:unwind_next_frame+0x1e5/0x2390 arch/x86/kernel/unwind_orc.c:494 Code: a2 01 00 00 49 81 fc 00 00 00 81 0f 92 c0 49 81 fc 3c c6 fb 8a 0f 93 c1 08 c1 0f 85 e8 00 00 00 48 c7 c0 00 00 00 81 4d 89 e7 <49> 29 c7 49 c1 ef 08 8b 15 4e 6f b2 0b 8d 42 ff 44 39 f8 0f 86 65 RSP: 0018:ffffc90004e6d2d8 EFLAGS: 00000246 RAX: ffffffff81000000 RBX: 0000000000000001 RCX: 09172ab25d4abd00 RDX: ffffffff8b0849c0 RSI: ffffffff8b621660 RDI: ffffffff8b621620 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8172c165 R10: ffffc90004e6d3f8 R11: ffffffff81aaf080 R12: ffffffff84492de5 R13: ffffc90004e6d3f8 R14: ffffc90004e6d3a8 R15: ffffffff84492de5 FS: 00007fdb9e4366c0(0000) GS:ffff8881268bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d882ad000 CR3: 000000003586c000 CR4: 00000000003526f0 Call Trace: arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:243 [inline] __kasan_slab_free+0x5b/0x80 mm/kasan/common.c:275 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2422 [inline] slab_free mm/slub.c:4695 [inline] kfree+0x195/0x550 mm/slub.c:4894 krealloc_noprof+0x1cd/0x340 mm/slub.c:-1 bch2_printbuf_make_room+0x1f5/0x360 fs/bcachefs/printbuf.c:59 bch2_prt_printf+0x282/0x740 fs/bcachefs/printbuf.c:186 bch2_bpos_to_text+0x2c9/0x3d0 fs/bcachefs/bkey_methods.c:-1 bch2_btree_path_to_text_short+0x529/0xde0 fs/bcachefs/btree_iter.c:1528 __bch2_trans_paths_to_text+0xe5/0x190 fs/bcachefs/btree_iter.c:1589 bch2_trans_update_max_paths+0x14d/0x340 fs/bcachefs/btree_iter.c:1625 btree_path_alloc+0x89a/0xa70 fs/bcachefs/btree_iter.c:1722 bch2_path_get+0x8bd/0x1540 fs/bcachefs/btree_iter.c:1778 bch2_trans_iter_init_common fs/bcachefs/btree_iter.h:529 [inline] bch2_trans_iter_init_outlined+0x265/0x400 fs/bcachefs/btree_iter.c:3126 bch2_trans_iter_init fs/bcachefs/btree_iter.h:547 [inline] __bch2_bkey_get_iter fs/bcachefs/btree_iter.h:631 [inline] bch2_bkey_get_iter fs/bcachefs/btree_iter.h:646 [inline] bch2_check_discard_freespace_key+0x208/0xcf0 fs/bcachefs/alloc_background.c:1417 try_alloc_bucket fs/bcachefs/alloc_foreground.c:272 [inline] bch2_bucket_alloc_freelist fs/bcachefs/alloc_foreground.c:420 [inline] bch2_bucket_alloc_trans+0x1166/0x1d60 fs/bcachefs/alloc_foreground.c:545 bch2_bucket_alloc_set_trans+0x5a6/0xe70 fs/bcachefs/alloc_foreground.c:729 __open_bucket_add_buckets+0x143d/0x1e50 fs/bcachefs/alloc_foreground.c:926 open_bucket_add_buckets+0x2f1/0x440 fs/bcachefs/alloc_foreground.c:958 bch2_alloc_sectors_start_trans+0xe2a/0x1e90 fs/bcachefs/alloc_foreground.c:1286 __bch2_btree_node_alloc fs/bcachefs/btree_update_interior.c:320 [inline] bch2_btree_reserve_get+0x641/0x1820 fs/bcachefs/btree_update_interior.c:534 bch2_btree_update_start+0x147b/0x1de0 fs/bcachefs/btree_update_interior.c:1270 bch2_btree_split_leaf+0x14b/0x8e0 fs/bcachefs/btree_update_interior.c:1921 bch2_trans_commit_error+0x1b7/0x1130 fs/bcachefs/btree_trans_commit.c:914 __bch2_trans_commit+0x1bb5/0x8870 fs/bcachefs/btree_trans_commit.c:1104 bch2_trans_commit fs/bcachefs/btree_update.h:241 [inline] bch2_fs_initialize+0x1056/0x1550 fs/bcachefs/recovery.c:1267 bch2_fs_start+0xaa0/0xda0 fs/bcachefs/super.c:1214 bch2_fs_get_tree+0xb39/0x1520 fs/bcachefs/fs.c:2488 vfs_get_tree+0x92/0x2b0 fs/super.c:1815 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3808 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4324 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdba01d066a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdb9e435e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fdb9e435ef0 RCX: 00007fdba01d066a RDX: 0000200000000140 RSI: 0000200000000000 RDI: 00007fdb9e435eb0 RBP: 0000200000000140 R08: 00007fdb9e435ef0 R09: 0000000002800000 R10: 0000000002800000 R11: 0000000000000246 R12: 0000200000000000 R13: 00007fdb9e435eb0 R14: 0000000000005ae3 R15: 0000200000000240