INFO: task syz.0.1:5325 blocked for more than 143 seconds. Not tainted 6.11.0-syzkaller-04557-g2f27fce67173 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1 state:D stack:23672 pid:5325 tgid:5324 ppid:5225 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1715 [inline] sb_start_write+0x184/0x1c0 include/linux/fs.h:1851 mnt_want_write+0x3f/0x90 fs/namespace.c:515 do_unlinkat+0x1fe/0x830 fs/namei.c:4516 __do_sys_unlink fs/namei.c:4581 [inline] __se_sys_unlink fs/namei.c:4579 [inline] __x64_sys_unlink+0x47/0x50 fs/namei.c:4579 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:0x7f366557def9 RSP: 002b:00007f36662b9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f3665735f80 RCX: 00007f366557def9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00007f36655f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3665735f80 R15: 00007ffc9653b3e8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e738a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e738a60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e738a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701 3 locks held by kworker/0:2/940: #0: ffff88801a881148 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88801a881148 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003a0fd00 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90003a0fd00 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888055200278 (&c->state_lock){+.+.}-{3:3}, at: bch2_fs_read_only_work+0x25/0x40 fs/bcachefs/super.c:391 3 locks held by kworker/1:2/1848: #0: ffff88801a880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88801a880948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000487fd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000487fd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8e73de38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #2: ffffffff8e73de38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:965 2 locks held by getty/4985: #0: ffff88802ffbc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5226: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff888055200278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xfd/0x540 fs/bcachefs/super.c:617 1 lock held by syz.0.1/5325: #0: ffff8880243f0420 (sb_writers#4){++++}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 1 lock held by syz.4.57/5969: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.59/5971: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.59/5988: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.119/6459: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.122/6517: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.182/6888: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.182/6890: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.231/7124: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.244/7194: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/7371: #0: ffffffff8e73de38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e73de38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:965 1 lock held by syz.1.268/7375: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.269/7412: #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880298720e0 (&type->s_umount_key#91){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 3 locks held by syz.2.274/7557: #0: ffff888034a7cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888034a7cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff888034a7c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fc1cc28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fc1cc28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2589 3 locks held by syz.3.276/7567: #0: ffff888049388d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888049388d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2698 #1: ffff888049388078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5183 #2: ffffffff8fc1cc28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffffffff8fc1cc28 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2589 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-04557-g2f27fce67173 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 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:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 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: 7371 Comm: syz-executor Not tainted 6.11.0-syzkaller-04557-g2f27fce67173 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:unwind_next_frame+0x148a/0x22d0 Code: 44 24 38 80 3c 28 00 74 08 4c 89 ff e8 ef bf b6 00 49 89 1f 41 0f b6 04 2c 84 c0 0f 85 1d 0c 00 00 41 c6 06 00 48 8b 5c 24 40 5b 01 00 00 48 89 ef 48 b8 00 00 00 00 00 fc ff df 41 80 3c 07 RSP: 0018:ffffc900090e7470 EFLAGS: 00000246 RAX: ffffc900090e7590 RBX: 1ffffffff2116843 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900090e75a0 RBP: dffffc0000000000 R08: ffffc900090e759f R09: 0000000000000000 R10: ffffc900090e7590 R11: fffff5200121ceb4 R12: ffffc900090e8000 R13: ffffc900090e7540 R14: ffffffff81e810b6 R15: ffffc900090e7590 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb06b8b85e8 CR3: 000000000e534000 CR4: 00000000003506f0 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 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1101 [inline] free_unref_page+0xd19/0xea0 mm/page_alloc.c:2619 vfree+0x186/0x2e0 mm/vmalloc.c:3367 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x23f/0x880 fs/file_table.c:431 task_work_run+0x24f/0x310 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x27f0 kernel/exit.c:882 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fac5bf7fd8c Code: Unable to access opcode bytes at 0x7fac5bf7fd62. RSP: 002b:00007ffcb486b7e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: 0000000000000040 RBX: 00007fac5cc64620 RCX: 00007fac5bf7fd8c RDX: 0000000000000040 RSI: 00007fac5cc64670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffcb486b834 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fac5cc64670 R15: 0000000000000000