INFO: task syz-executor:8897 blocked for more than 144 seconds. Not tainted 6.16.0-rc4-next-20250702-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:17912 pid:8897 tgid:8897 ppid:1 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5313 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6696 __schedule_loop kernel/sched/core.c:6774 [inline] schedule+0x165/0x360 kernel/sched/core.c:6789 __bch2_fs_stop+0x704/0x900 fs/bcachefs/super.c:696 generic_shutdown_super+0x135/0x2c0 fs/super.c:643 bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2618 deactivate_locked_super+0xb9/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1417 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:208 [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:0x7f629718fc57 RSP: 002b:00007ffe44a1f608 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f6297210925 RCX: 00007f629718fc57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe44a1f6c0 RBP: 00007ffe44a1f6c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe44a20750 R13: 00007f6297210925 R14: 00000000000ca948 R15: 00007ffe44a20790 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13bfe0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13bfe0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13bfe0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by kworker/u8:10/3542: #0: ffff8881462ba148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff8881462ba148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc9000cd2fbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc9000cd2fbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 2 locks held by getty/5592: #0: ffff88803026d0a0 (&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+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/8897: #0: ffff8880485840e0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff8880485840e0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff8880485840e0 (&type->s_umount_key#61){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:506 2 locks held by kworker/u8:1/11213: #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffff8880b8623f08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39a/0x6d0 kernel/sched/psi.c:991 3 locks held by syz.5.2247/16828: #0: ffff88804892f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:289 [inline] #0: ffff88804892f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:335 [inline] #0: ffff88804892f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:366 [inline] #0: ffff88804892f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0x5c/0x200 drivers/tty/tty_ldisc.c:780 #1: ffff88806dfcb0a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: __tty_ldisc_lock_nested drivers/tty/tty_ldisc.c:295 [inline] #1: ffff88806dfcb0a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:337 [inline] #1: ffff88806dfcb0a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:366 [inline] #1: ffff88806dfcb0a0 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_release+0x80/0x200 drivers/tty/tty_ldisc.c:780 #2: ffffffff8e1419c0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3792 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc4-next-20250702-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 3481 Comm: kworker/u8:7 Not tainted 6.16.0-rc4-next-20250702-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: iou_exit io_ring_exit_work RIP: 0010:phys_addr_valid arch/x86/mm/physaddr.h:7 [inline] RIP: 0010:__virt_addr_valid+0x93/0x5c0 arch/x86/mm/physaddr.c:61 Code: df 4c 89 f6 e8 4e 84 4b 00 4c 39 f3 76 0c e8 e4 81 4b 00 31 ed e9 22 04 00 00 48 c7 c0 39 66 a1 8f 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 9d 04 00 00 44 0f b6 35 16 13 2d 0e bf 40 00 00 00 44 RSP: 0018:ffffc9000c46f698 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: 000000007660c440 RCX: ffff888030d03c00 RDX: 0000000000000000 RSI: ffff8880f660c440 RDI: 000000007660c440 RBP: ffffc9000c46f828 R08: ffffffff8fa17c37 R09: 1ffffffff1f42f86 R10: dffffc0000000000 R11: fffffbfff1f42f87 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff8880f660c440 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125d1d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33e12ff8 CR3: 000000007f292000 CR4: 00000000003526f0 Call Trace: kasan_addr_to_slab+0xf/0x90 mm/kasan/common.c:37 kasan_record_aux_stack+0xf/0xd0 mm/kasan/generic.c:533 __call_rcu_common kernel/rcu/tree.c:3100 [inline] call_rcu+0x157/0x9c0 kernel/rcu/tree.c:3220 slab_free_hook mm/slub.c:2381 [inline] slab_free mm/slub.c:4680 [inline] kmem_cache_free+0x309/0x400 mm/slub.c:4782 __io_req_caches_free+0x8f/0x140 io_uring/io_uring.c:2775 io_req_caches_free+0x21/0x30 io_uring/io_uring.c:2787 io_ring_exit_work+0x415/0x930 io_uring/io_uring.c:2985 process_one_work kernel/workqueue.c:3239 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245