INFO: task kworker/0:4:3122 blocked for more than 143 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:4 D22080 3122 2 0x80004000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xcd/0x2b0 kernel/sched/core.c:4154 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4213 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x87c/0x1360 kernel/locking/mutex.c:1103 input_disconnect_device drivers/input/input.c:732 [inline] __input_unregister_device+0x23/0x430 drivers/input/input.c:2085 input_unregister_device+0xb4/0xf0 drivers/input/input.c:2272 iforce_usb_disconnect+0x5e/0xf0 drivers/input/joystick/iforce/iforce-usb.c:261 usb_unbind_interface+0x1bd/0x8a0 drivers/usb/core/driver.c:436 __device_release_driver drivers/base/dd.c:1137 [inline] device_release_driver_internal+0x42f/0x500 drivers/base/dd.c:1168 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:533 device_del+0x481/0xd30 drivers/base/core.c:2677 usb_disable_device+0x23d/0x790 drivers/usb/core/message.c:1237 usb_disconnect+0x293/0x900 drivers/usb/core/hub.c:2211 hub_port_connect drivers/usb/core/hub.c:5046 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1a1d/0x4300 drivers/usb/core/hub.c:5563 process_one_work+0x94b/0x1620 kernel/workqueue.c:2264 worker_thread+0x96/0xe20 kernel/workqueue.c:2410 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: ffffffff87109060 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x264 kernel/locking/lockdep.c:5331 2 locks held by in:imklog/277: #0: ffff8881c91c25e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:821 #1: ffff8881da000858 (&(&n->list_lock)->rlock){-.-.}, at: __debug_check_no_obj_freed lib/debugobjects.c:955 [inline] #1: ffff8881da000858 (&(&n->list_lock)->rlock){-.-.}, at: debug_check_no_obj_freed+0xc4/0x445 lib/debugobjects.c:998 6 locks held by kworker/0:4/3122: #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x82a/0x1620 kernel/workqueue.c:2235 #1: ffff8881cf15fdd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85e/0x1620 kernel/workqueue.c:2239 #2: ffff8881d4953200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8881d4953200 (&dev->mutex){....}, at: hub_event+0x1be/0x4300 drivers/usb/core/hub.c:5509 #3: ffff8881cfd08200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8881cfd08200 (&dev->mutex){....}, at: usb_disconnect+0x91/0x900 drivers/usb/core/hub.c:2202 #4: ffff8881d8ebe190 (&dev->mutex){....}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1165 #5: ffff8881d8ebb2a8 (&dev->mutex#2){+.+.}, at: input_disconnect_device drivers/input/input.c:732 [inline] #5: ffff8881d8ebb2a8 (&dev->mutex#2){+.+.}, at: __input_unregister_device+0x23/0x430 drivers/input/input.c:2085 6 locks held by kworker/0:5/3129: 6 locks held by kworker/1:5/3236: #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d8d2c928 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x82a/0x1620 kernel/workqueue.c:2235 #1: ffff8881aa567dd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85e/0x1620 kernel/workqueue.c:2239 #2: ffff8881d497a200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8881d497a200 (&dev->mutex){....}, at: hub_event+0x1be/0x4300 drivers/usb/core/hub.c:5509 #3: ffff8881d8fc0200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8881d8fc0200 (&dev->mutex){....}, at: usb_disconnect+0x91/0x900 drivers/usb/core/hub.c:2202 #4: ffff8881d3d89190 (&dev->mutex){....}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1165 #5: ffff8881d3d8c2a8 (&dev->mutex#2){+.+.}, at: input_disconnect_device drivers/input/input.c:732 [inline] #5: ffff8881d3d8c2a8 (&dev->mutex#2){+.+.}, at: __input_unregister_device+0x23/0x430 drivers/input/input.c:2085 2 locks held by systemd-udevd/12447: #0: ffff8881d4c4a148 (&evdev->mutex){+.+.}, at: evdev_close_device drivers/input/evdev.c:425 [inline] #0: ffff8881d4c4a148 (&evdev->mutex){+.+.}, at: evdev_release+0xeb/0x1c0 drivers/input/evdev.c:466 #1: ffff8881d8ebb2a8 (&dev->mutex#2){+.+.}, at: input_close_device+0x42/0x1a0 drivers/input/input.c:673 2 locks held by systemd-udevd/12681: #0: ffff8881cfe93148 (&evdev->mutex){+.+.}, at: evdev_close_device drivers/input/evdev.c:425 [inline] #0: ffff8881cfe93148 (&evdev->mutex){+.+.}, at: evdev_release+0xeb/0x1c0 drivers/input/evdev.c:466 #1: ffff8881d3d8c2a8 (&dev->mutex#2){+.+.}, at: input_close_device+0x42/0x1a0 drivers/input/input.c:673 1 lock held by syz-executor.1/14986: #0: ffff8881cfe93148 (&evdev->mutex){+.+.}, at: evdev_open_device drivers/input/evdev.c:407 [inline] #0: ffff8881cfe93148 (&evdev->mutex){+.+.}, at: evdev_open+0x295/0x4f0 drivers/input/evdev.c:496 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xef/0x16e lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1db/0x207 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa99/0xfd0 kernel/hung_task.c:289 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14970 Comm: syz-executor.0 Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data+0x2d/0x80 kernel/kcov.c:218 Code: 04 25 00 0f 02 00 65 8b 05 78 b8 c2 7e a9 00 01 1f 00 74 0f f6 c4 01 74 5b 41 80 b8 d4 12 00 00 00 74 51 41 8b 80 b0 12 00 00 <83> f8 03 75 45 49 8b 80 b8 12 00 00 45 8b 80 b4 12 00 00 4c 8b 08 RSP: 0018:ffff8881d54f75f0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8152e64c RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffea0006c08100 R08: ffff8881c540b100 R09: fffff94000d81027 R10: fffff94000d81026 R11: ffffea0006c08137 R12: 0000000000000004 R13: ffffea0006c08100 R14: dffffc0000000000 R15: 000000000000007b FS: 00007f93f46d3700(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0bdc72c000 CR3: 00000001d3105000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: release_pages+0x17c/0xcf0 mm/swap.c:823 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:242 [inline] tlb_flush_mmu+0x8d/0x630 mm/mmu_gather.c:249 zap_pte_range mm/memory.c:1146 [inline] zap_pmd_range mm/memory.c:1184 [inline] zap_pud_range mm/memory.c:1213 [inline] zap_p4d_range mm/memory.c:1234 [inline] unmap_page_range+0x1806/0x2120 mm/memory.c:1255 unmap_single_vma+0x196/0x300 mm/memory.c:1300 unmap_vmas+0x174/0x2f0 mm/memory.c:1332 exit_mmap+0x278/0x4d0 mm/mmap.c:3126 __mmput kernel/fork.c:1082 [inline] mmput+0xce/0x3d0 kernel/fork.c:1103 exit_mm kernel/exit.c:485 [inline] do_exit+0xa83/0x2c80 kernel/exit.c:788 do_group_exit+0x125/0x340 kernel/exit.c:899 get_signal+0x480/0x2470 kernel/signal.c:2739 do_signal+0x88/0x1490 arch/x86/kernel/signal.c:813 exit_to_usermode_loop+0x1a2/0x200 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x4e0/0x5a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c6b7 Code: Bad RIP value. RSP: 002b:00007f93f46d0bc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 000000000045c6b7 RDX: 00007f93f46d1c10 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000c23 R14: 00000000004c21c5 R15: 000000000076bf0c