INFO: task syz-executor.5:25775 blocked for more than 143 seconds. Not tainted 5.3.0-rc7+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28904 25775 1771 0x00000004 Call Trace: schedule+0xca/0x250 kernel/sched/core.c:3947 schedule_timeout+0x440/0xb20 kernel/time/timer.c:1807 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion_timeout+0x282/0x3e0 kernel/sched/completion.c:155 usb_start_wait_urb+0x14b/0x2b0 drivers/usb/core/message.c:62 usb_internal_control_msg drivers/usb/core/message.c:101 [inline] usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:152 ld_usb_write+0x856/0xa10 drivers/usb/misc/ldusb.c:577 __vfs_write+0x76/0x100 fs/read_write.c:494 vfs_write+0x262/0x5c0 fs/read_write.c:558 ksys_write+0x1e8/0x250 fs/read_write.c:611 do_syscall_64+0xb7/0x580 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4598e9 Code: Bad RIP value. RSP: 002b:00007f6863a64c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004598e9 RDX: 0000000000000026 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6863a656d4 R13: 00000000004c9a9b R14: 00000000004e11a8 R15: 00000000ffffffff Showing all locks held in the system: 5 locks held by kworker/0:0/5: #0: 00000000937aa2f5 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: 00000000937aa2f5 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000937aa2f5 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000937aa2f5 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000937aa2f5 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: 00000000937aa2f5 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: 00000000937aa2f5 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2240 #1: 00000000e5376771 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2244 #2: 00000000fc21d7fd (&dev->mutex){....}, at: device_lock include/linux/device.h:1223 [inline] #2: 00000000fc21d7fd (&dev->mutex){....}, at: hub_event+0x17c/0x3640 drivers/usb/core/hub.c:5387 #3: 0000000095f32650 (&dev->mutex){....}, at: device_lock include/linux/device.h:1223 [inline] #3: 0000000095f32650 (&dev->mutex){....}, at: __device_attach+0x7b/0x360 drivers/base/dd.c:871 #4: 00000000c368227d (&dev->mutex){....}, at: device_lock include/linux/device.h:1223 [inline] #4: 00000000c368227d (&dev->mutex){....}, at: __device_attach+0x7b/0x360 drivers/base/dd.c:871 1 lock held by khungtaskd/23: #0: 00000000af5a6a6d (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:5254 1 lock held by rsyslogd/1609: #0: 0000000051834095 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:801 2 locks held by getty/1699: #0: 0000000032ff3d86 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000713dfd33 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1700: #0: 000000004be67356 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000f3e5d3a0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1701: #0: 00000000bf90164e (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000086ed030 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1702: #0: 00000000c5483175 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000652fa38d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1703: #0: 000000009004f08e (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000008435df5e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1704: #0: 000000004702f754 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000003ee6512b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1705: #0: 00000000bb2cce9f (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000cbe86fab (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 6 locks held by kworker/1:7/10907: 1 lock held by syz-executor.5/25775: #0: 00000000694254f5 (&dev->mutex#5){+.+.}, at: ld_usb_write+0x111/0xa10 drivers/usb/misc/ldusb.c:539 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 5.3.0-rc7+ #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+0xca/0x13e lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x55/0x96 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1c7 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+0x9a4/0xe50 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:4230 [inline] RIP: 0010:lock_is_held_type+0xe8/0x240 kernel/locking/lockdep.c:4450 Code: 00 00 00 4c 89 e6 48 c1 ee 03 0f b6 04 06 84 c0 74 08 3c 03 0f 8e 27 01 00 00 48 8d 85 48 08 00 00 4d 89 e5 31 db 49 c1 ed 03 <48> 89 04 24 48 b8 00 00 00 00 00 fc ff df 49 01 c5 8b 85 40 08 00 RSP: 0018:ffff8881db209da8 EFLAGS: 00000806 RAX: ffffffff86c2ba48 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffffffff0d85748 RDI: ffffffff86c2ba44 RBP: ffffffff86c2b200 R08: 0000000000000000 R09: ffffed103b64677c R10: ffffed103b64677b R11: ffff8881db233bdb R12: ffffffff86c2ba40 R13: 1ffffffff0d85748 R14: ffffffff86d01260 R15: ffff8881db232e40 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001d62d3000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:365 [inline] rcu_read_lock_sched_held+0x113/0x130 kernel/rcu/update.c:105 cpufreq_update_util kernel/sched/sched.h:2259 [inline] cfs_rq_util_change kernel/sched/fair.c:3128 [inline] update_cfs_rq_load_avg kernel/sched/fair.c:3508 [inline] update_cfs_rq_load_avg kernel/sched/fair.c:3470 [inline] update_blocked_averages+0xede/0x15c0 kernel/sched/fair.c:7592 _nohz_idle_balance+0x2e8/0x3f0 kernel/sched/fair.c:9683 __do_softirq+0x221/0x912 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x178/0x1a0 kernel/softirq.c:413 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:854 RIP: 0010:default_idle+0x28/0x2e0 arch/x86/kernel/process.c:581 Code: 90 90 41 56 41 55 65 44 8b 2d 54 d8 93 7a 41 54 55 53 0f 1f 44 00 00 e8 46 49 d5 fb e9 07 00 00 00 0f 00 2d ea 7d 54 00 fb f4 <65> 44 8b 2d 30 d8 93 7a 0f 1f 44 00 00 5b 5d 41 5c 41 5d 41 5e c3 RSP: 0018:ffffffff86c07da8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff02 RAX: 0000000000000007 RBX: ffffffff86c2b200 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffffffff86c2ba44 RBP: fffffbfff0d85640 R08: ffffffff86c2b200 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 cpuidle_idle_call kernel/sched/idle.c:154 [inline] do_idle+0x3c2/0x4f0 kernel/sched/idle.c:263 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:354 start_kernel+0x838/0x872 init/main.c:785 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241