INFO: task syz.3.3126:17285 blocked for more than 143 seconds. Not tainted 6.12.0-rc3-syzkaller-00029-g64f3b5a6bc49 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.3126 state:D stack:28256 pid:17285 tgid:17284 ppid:15724 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x105f/0x34b0 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 usblp_open+0x5c/0x450 drivers/usb/class/usblp.c:417 usb_open+0x186/0x220 drivers/usb/core/file.c:47 chrdev_open+0x237/0x6a0 fs/char_dev.c:414 do_dentry_open+0x6cb/0x1390 fs/open.c:958 vfs_open+0x82/0x3f0 fs/open.c:1088 do_open fs/namei.c:3774 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3933 do_filp_open+0x1dc/0x430 fs/namei.c:3960 do_sys_openat2+0x17a/0x1e0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f47d103c990 RSP: 002b:00007f47cfcb0b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f47d103c990 RDX: 0000000000000002 RSI: 00007f47cfcb0c10 RDI: 00000000ffffff9c RBP: 00007f47cfcb0c10 R08: 0000000000000000 R09: 00007f47cfcb0987 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f47d11f5f80 R15: 00007ffcdcdb20b8 Showing all locks held in the system: 6 locks held by kworker/1:0/24: #0: ffff888105adf548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000019fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff888109b2a190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff888109b2a190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff88810a703190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff88810a703190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff88811e6cf160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88811e6cf160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x11c/0x550 drivers/usb/core/file.c:134 1 lock held by khungtaskd/30: #0: ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff88ebb100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by getty/2609: #0: ffff88811032a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 5 locks held by kworker/0:3/4925: #0: ffff888105adf548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90002b0fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff888109b12190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff888109b12190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff888116344190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff888116344190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #4: ffff88811688e160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88811688e160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 5 locks held by kworker/1:6/4946: #0: ffff888105adf548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90002bbfd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff888109bca190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff888109bca190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff8881188cd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff8881188cd190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88812d500160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88812d500160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88812d500160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 2 locks held by kworker/u8:1/12927: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc900019dfd80 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 4 locks held by kworker/u8:2/16490: #0: ffff888100abb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90010a37d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8a18c3d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:580 #3: ffffffff8a1a1ce8 (rtnl_mutex){+.+.}-{3:3}, at: cleanup_net+0x503/0xb40 net/core/net_namespace.c:616 1 lock held by syz.4.3115/17267: #0: ffffffff89a948e8 (usblp_mutex){+.+.}-{3:3}, at: usblp_release+0x79/0x310 drivers/usb/class/usblp.c:480 2 locks held by syz.3.3126/17285: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 #1: ffffffff89a948e8 (usblp_mutex){+.+.}-{3:3}, at: usblp_open+0x5c/0x450 drivers/usb/class/usblp.c:417 2 locks held by syz.0.3151/17767: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 #1: ffffffff89a948e8 (usblp_mutex){+.+.}-{3:3}, at: usblp_open+0x5c/0x450 drivers/usb/class/usblp.c:417 2 locks held by syz.4.3160/18138: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 #1: ffffffff89a948e8 (usblp_mutex){+.+.}-{3:3}, at: usblp_open+0x5c/0x450 drivers/usb/class/usblp.c:417 1 lock held by syz.2.3169/18474: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.3.3179/18710: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.0.3161/19065: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.4.3202/20142: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.2.3206/20381: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.2.3206/20400: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.3.3209/20566: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.0.3219/20905: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.0.3219/20910: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.4.3211/21878: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.4.3211/21889: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.2.3236/22442: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.3.3243/22676: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.0.3248/22837: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz.0.3248/22841: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz-executor/23344: #0: ffffffff88ec69f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 1 lock held by syz.4.3256/23367: #0: ffffffff899dae90 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x23/0x220 drivers/usb/core/file.c:38 1 lock held by syz-executor/23927: #0: ffffffff88ec69f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc3-syzkaller-00029-g64f3b5a6bc49 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7512 Comm: kworker/0:0 Not tainted 6.12.0-rc3-syzkaller-00029-g64f3b5a6bc49 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events drain_vmap_area_work RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] RIP: 0010:unwind_next_frame+0x15f1/0x20c0 arch/x86/kernel/unwind_orc.c:648 Code: bf 69 02 ba 08 00 00 00 4c 89 ef 4c 01 f5 48 89 ee e8 13 e8 ff ff 4d 8d 45 34 84 c0 0f 84 6b ed ff ff 48 89 ef e8 ef df ff ff <49> 8d 7d 40 48 89 fa 48 89 c5 48 b8 00 00 00 00 00 fc ff df 48 c1 RSP: 0018:ffffc900029df698 EFLAGS: 00000202 RAX: fffff52000536000 RBX: 0000000000000001 RCX: ffffc900029e0000 RDX: ffffc900029dfa01 RSI: ffffc900029dfa20 RDI: ffffc900029dfa20 RBP: ffffc900029dfa20 R08: ffffc900029df73c R09: ffffffff8abb3bf8 R10: ffffc900029df708 R11: 000000000000ae65 R12: ffffc900029df758 R13: ffffc900029df708 R14: ffffc900029dfa30 R15: ffffc900029dfa28 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbc1197e440 CR3: 00000001163e2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x95/0x100 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0x58a/0xb50 mm/page_alloc.c:2638 kasan_depopulate_vmalloc_pte+0x63/0x80 mm/kasan/shadow.c:408 apply_to_pte_range mm/memory.c:2817 [inline] apply_to_pmd_range mm/memory.c:2861 [inline] apply_to_pud_range mm/memory.c:2897 [inline] apply_to_p4d_range mm/memory.c:2933 [inline] __apply_to_page_range+0x5fd/0xd30 mm/memory.c:2967 kasan_release_vmalloc+0xac/0xc0 mm/kasan/shadow.c:525 purge_vmap_node+0x3fb/0x930 mm/vmalloc.c:2204 __purge_vmap_area_lazy+0x9c5/0xc00 mm/vmalloc.c:2288 drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2322 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244