INFO: task syz-executor.1:17760 blocked for more than 143 seconds. Not tainted 6.2.0-rc7-syzkaller-00232-gf87b564686ee #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29184 pid:17760 ppid:2471 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xa20/0x27c0 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6741 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 sisusb_open+0xb6/0x4d0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 usb_open+0x208/0x2e0 drivers/usb/core/file.c:48 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6c7/0x12a0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x1bbc/0x2a50 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc2e0886284 RSP: 002b:00007fc2dfc25ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc2e09f4050 RCX: 00007fc2e0886284 RDX: 0000000000000002 RSI: 00007fc2dfc25d40 RDI: 00000000ffffff9c RBP: 00007fc2dfc25d40 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffecb05241f R14: 00007fc2dfc26300 R15: 0000000000022000 INFO: task syz-executor.1:17761 blocked for more than 143 seconds. Not tainted 6.2.0-rc7-syzkaller-00232-gf87b564686ee #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29008 pid:17761 ppid:2471 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xa20/0x27c0 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6741 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 sisusb_open+0xb6/0x4d0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 usb_open+0x208/0x2e0 drivers/usb/core/file.c:48 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6c7/0x12a0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x1bbc/0x2a50 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc2e0886284 RSP: 002b:00007fc2dfc04ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fc2e09f4120 RCX: 00007fc2e0886284 RDX: 0000000000000002 RSI: 00007fc2dfc04d40 RDI: 00000000ffffff9c RBP: 00007fc2dfc04d40 R08: 0000000000000000 R09: 000000000000000f R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffecb05241f R14: 00007fc2dfc05300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff87a97310 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/25: #0: ffffffff87a97e60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 6 locks held by kworker/0:2/701: #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900023afda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810eb82190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #2: ffff88810eb82190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4810 drivers/usb/core/hub.c:5739 #3: ffff88810eb854f0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline] #3: ffff88810eb854f0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline] #3: ffff88810eb854f0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] #3: ffff88810eb854f0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline] #3: ffff88810eb854f0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x277c/0x4810 drivers/usb/core/hub.c:5793 #4: ffff88810e363f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline] #4: ffff88810e363f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] #4: ffff88810e363f68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline] #4: ffff88810e363f68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x27b1/0x4810 drivers/usb/core/hub.c:5793 #5: ffffffff87a97e60 (rcu_read_lock){....}-{1:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] #5: ffffffff87a97e60 (rcu_read_lock){....}-{1:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1358 [inline] #5: ffffffff87a97e60 (rcu_read_lock){....}-{1:2}, at: rq_lock kernel/sched/sched.h:1648 [inline] #5: ffffffff87a97e60 (rcu_read_lock){....}-{1:2}, at: __schedule+0x24a/0x27c0 kernel/sched/core.c:6523 2 locks held by getty/2407: #0: ffff888100223098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 6 locks held by kworker/0:3/5276: #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90001fafda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810ec1a190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #2: ffff88810ec1a190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4810 drivers/usb/core/hub.c:5739 #3: ffff88813c561190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #3: ffff88813c561190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #4: ffff88813c566118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #4: ffff88813c566118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #5: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline] #5: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_register_dev+0x19c/0x7e0 drivers/usb/core/file.c:156 8 locks held by kworker/0:4/5283: #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109017d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90001fefda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810ec92190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #2: ffff88810ec92190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4810 drivers/usb/core/hub.c:5739 #3: ffff888109310190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #3: ffff888109310190 (&dev->mutex){....}-{3:3}, at: usb_disconnect.cold+0x43/0x6ed drivers/usb/core/hub.c:2229 #4: ffff88811b30f118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #4: ffff88811b30f118 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1073 [inline] #4: ffff88811b30f118 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x700 drivers/base/dd.c:1276 #5: ffff88813c4d5a20 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline] #5: ffff88813c4d5a20 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1073 [inline] #5: ffff88813c4d5a20 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x700 drivers/base/dd.c:1276 #6: ffffffff885dd168 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2220 #7: ffffffff87aa1ff8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #7: ffffffff87aa1ff8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x5df/0x780 kernel/rcu/tree_exp.h:946 2 locks held by kworker/0:7/5420: #0: ffff888100072538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100072538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100072538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888100072538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888100072538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888100072538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900023efda8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 2 locks held by syz-executor.1/17751: #0: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39 #1: ffff88811618b0d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb6/0x4d0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 2 locks held by syz-executor.1/17760: #0: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39 #1: ffff88811618b0d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb6/0x4d0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 2 locks held by syz-executor.1/17761: #0: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39 #1: ffff88811618b0d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb6/0x4d0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213 1 lock held by syz-executor.3/18266: #0: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39 1 lock held by syz-executor.3/18270: #0: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39 1 lock held by syz-executor.1/19220: #0: ffffffff88427e90 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 25 Comm: khungtaskd Not tainted 6.2.0-rc7-syzkaller-00232-gf87b564686ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2ee/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:570