INFO: task syz.4.3016:15810 blocked for more than 143 seconds. Not tainted 6.16.0-rc5-next-20250708-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.3016 state:D stack:25928 pid:15810 tgid:15809 ppid:13550 task_flags:0x400040 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6847 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747 sync_bdevs+0x1ac/0x340 block/bdev.c:1288 ksys_sync+0xb9/0x150 fs/sync.c:105 __ia32_sys_sync+0xe/0x20 fs/sync.c:113 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:0x7f3206f8e929 RSP: 002b:00007f3207d6f038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f32071b5fa0 RCX: 00007f3206f8e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f32071b5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f32071b5fa0 R15: 00007ffd752e5c68 INFO: task syz.0.3029:15866 blocked for more than 144 seconds. Not tainted 6.16.0-rc5-next-20250708-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.3029 state:D stack:26664 pid:15866 tgid:15865 ppid:15605 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6847 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747 bdev_open+0xe0/0xd30 block/bdev.c:945 bdev_file_open_by_dev+0x1be/0x240 block/bdev.c:1059 bdev_file_open_by_path+0x1cc/0x4d0 block/bdev.c:1082 btrfs_scan_one_device+0xa6/0x650 fs/btrfs/volumes.c:1472 btrfs_get_tree_super fs/btrfs/super.c:1856 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2082 [inline] btrfs_get_tree+0x433/0x1820 fs/btrfs/super.c:2116 vfs_get_tree+0x8f/0x2b0 fs/super.c:1804 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4321 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:0x7f508798e929 RSP: 002b:00007f5088716038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5087bb5fa0 RCX: 00007f508798e929 RDX: 00002000000000c0 RSI: 0000200000000040 RDI: 0000200000000080 RBP: 00007f5087a10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004400 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5087bb5fa0 R15: 00007fff81c8a1c8 INFO: task syz.2.3074:16018 blocked for more than 144 seconds. Not tainted 6.16.0-rc5-next-20250708-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.3074 state:D stack:25064 pid:16018 tgid:16017 ppid:15204 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6847 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747 btrfs_get_tree_super fs/btrfs/super.c:1850 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2082 [inline] btrfs_get_tree+0x408/0x1820 fs/btrfs/super.c:2116 vfs_get_tree+0x8f/0x2b0 fs/super.c:1804 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4321 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:0x7fb2c338e929 RSP: 002b:00007fb2c42a8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb2c35b5fa0 RCX: 00007fb2c338e929 RDX: 00002000000000c0 RSI: 0000200000000040 RDI: 0000200000000000 RBP: 00007fb2c3410b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004400 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb2c35b5fa0 R15: 00007fff2e895278 Showing all locks held in the system: 4 locks held by kworker/1:0/24: #0: ffff8880216b9148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff8880216b9148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc900001e7bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc900001e7bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffff888028cd0198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #2: ffff888028cd0198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a00 drivers/usb/core/hub.c:5894 #3: ffff88807bc31198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #3: ffff88807bc31198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1004 1 lock held by khungtaskd/31: #0: ffffffff8e53bfa0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e53bfa0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e53bfa0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 3 locks held by kworker/u8:10/3512: #0: ffff88801a889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801a889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc9000cbcfbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc9000cbcfbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffffffff8f946088 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 1 lock held by dhcpcd/5519: #0: ffffffff8f946088 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff8f946088 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_deladdr+0x20f/0x330 net/ipv6/addrconf.c:4803 2 locks held by getty/5614: #0: ffff8880358060a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by kworker/0:4/5859: #0: ffff88801a880d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801a880d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc90004597bc0 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90004597bc0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffffffff8e541af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #2: ffffffff8e541af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:967 1 lock held by udevd/5869: #0: ffff888143756358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30 block/bdev.c:945 1 lock held by syz.4.3016/15810: #0: ffff888143756358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0x1ac/0x340 block/bdev.c:1288 2 locks held by syz.0.3029/15866: #0: ffffffff8eaed628 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree_super fs/btrfs/super.c:1850 [inline] #0: ffffffff8eaed628 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree_subvol fs/btrfs/super.c:2082 [inline] #0: ffffffff8eaed628 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree+0x408/0x1820 fs/btrfs/super.c:2116 #1: ffff888143756358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30 block/bdev.c:945 1 lock held by syz.2.3074/16018: #0: ffffffff8eaed628 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree_super fs/btrfs/super.c:1850 [inline] #0: ffffffff8eaed628 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree_subvol fs/btrfs/super.c:2082 [inline] #0: ffffffff8eaed628 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree+0x408/0x1820 fs/btrfs/super.c:2116 1 lock held by syz.7.3149/16316: #0: ffffffff8eaed628 (uuid_mutex){+.+.}-{4:4}, at: btrfs_control_ioctl+0x216/0x360 fs/btrfs/super.c:2242 4 locks held by udevd/16736: #0: ffff8880519afb08 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xb7/0xe10 fs/seq_file.c:182 #1: ffff888042524888 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x55/0x3c0 fs/kernfs/file.c:154 #2: ffff88805bee5f08 (kn->active#19){++++}-{0:0}, at: kernfs_seq_start+0x75/0x3c0 fs/kernfs/file.c:155 #3: ffff88807bc31198 (&dev->mutex){....}-{4:4}, at: device_lock_interruptible include/linux/device.h:916 [inline] #3: ffff88807bc31198 (&dev->mutex){....}-{4:4}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 5 locks held by syz.1.3759/18746: #0: ffff88805a624dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline] #0: ffff88805a624dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2715 #1: ffff88805a6240b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330 net/bluetooth/hci_sync.c:5282 #2: ffffffff8faad428 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2048 [inline] #2: ffffffff8faad428 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230 net/bluetooth/hci_conn.c:2561 #3: ffff88806a9b7b38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x70/0x680 net/bluetooth/l2cap_core.c:1762 #4: ffffffff8e541af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #4: ffffffff8e541af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:967 1 lock held by syz.9.3824/19131: #0: ffffffff8f946088 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:633 [inline] #0: ffffffff8f946088 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3395 3 locks held by syz.3.3832/19190: #0: ffff888056074dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:499 [inline] #0: ffff888056074dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x212/0x510 net/bluetooth/hci_core.c:2715 #1: ffff8880560740b8 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x66a/0x1330 net/bluetooth/hci_sync.c:5282 #2: ffffffff8faad428 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2048 [inline] #2: ffffffff8faad428 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa1/0x230 net/bluetooth/hci_conn.c:2561 1 lock held by dhcpcd/19224: #0: ffff888060e23e08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #0: ffff888060e23e08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:648 [inline] #0: ffff888060e23e08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1439 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc5-next-20250708-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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:491 kthread+0x711/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 19214 Comm: syz.5.3834 Not tainted 6.16.0-rc5-next-20250708-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline] RIP: 0010:debug_lockdep_rcu_enabled+0x18/0x40 kernel/rcu/update.c:321 Code: cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 31 c0 83 3d a7 fb 64 04 00 74 1e 83 3d ca 2b 65 04 00 74 15 <65> 48 8b 0c 25 08 10 e8 92 31 c0 83 b9 ec 0a 00 00 00 0f 94 c0 c3 RSP: 0018:ffffc9000c3ff578 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff81ab398d RCX: 1ae79091877c4900 RDX: 0000000000000001 RSI: ffffffff8c04c160 RDI: 00007f2512f8e929 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81ab398d R10: ffffc9000c3ff658 R11: ffffffff81acbfc0 R12: ffff888030eb5a00 R13: 1ffff9200187feec R14: 00007f2512f8e929 R15: 1ffff9200187feca FS: 0000000000000000(0000) GS:ffff88812579f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005621198e5660 CR3: 000000000e336000 CR4: 00000000003526f0 Call Trace: rcu_read_unlock include/linux/rcupdate.h:869 [inline] class_rcu_destructor include/linux/rcupdate.h:1155 [inline] is_module_text_address+0x13e/0x1e0 kernel/module/main.c:3854 kernel_text_address+0x94/0xe0 kernel/extable.c:119 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfc/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 save_stack+0xf5/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x71/0x1f0 mm/page_owner.c:308 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1392 [inline] __free_frozen_pages+0xb80/0xd80 mm/page_alloc.c:2892 vfree+0x25a/0x400 mm/vmalloc.c:3434 kcov_put kernel/kcov.c:439 [inline] kcov_close+0x28/0x50 kernel/kcov.c:535 __fput+0x44c/0xa70 fs/file_table.c:468 task_work_run+0x1d4/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6b5/0x2300 kernel/exit.c:959 do_group_exit+0x21c/0x2d0 kernel/exit.c:1100 get_signal+0x1286/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:40 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:0x7f2512f8e929 Code: Unable to access opcode bytes at 0x7f2512f8e8ff. RSP: 002b:00007f2513e38fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: fffffffffffffff4 RBX: 00007f25131b6320 RCX: 00007f2512f8e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f2513010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f25131b6320 R15: 00007ffc1ace39f8