INFO: task kworker/0:1:22072 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:1 D27040 22072 2 0x80000000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 usb_kill_urb.part.0+0x197/0x220 drivers/usb/core/urb.c:697 usb_kill_urb+0x7c/0x90 drivers/usb/core/urb.c:692 usb_start_wait_urb+0x252/0x4c0 drivers/usb/core/message.c:63 usb_internal_control_msg drivers/usb/core/message.c:101 [inline] usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:152 usb_get_descriptor+0xc5/0x1b0 drivers/usb/core/message.c:654 usb_get_device_descriptor+0x81/0xf0 drivers/usb/core/message.c:926 hub_port_init+0x74b/0x3120 drivers/usb/core/hub.c:4799 hub_port_connect drivers/usb/core/hub.c:5070 [inline] hub_port_connect_change drivers/usb/core/hub.c:5253 [inline] port_event drivers/usb/core/hub.c:5361 [inline] hub_event+0x1ccd/0x44a0 drivers/usb/core/hub.c:5441 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Showing all locks held in the system: 3 locks held by kworker/u4:1/23: 1 lock held by khungtaskd/1566: #0: 000000006334bac2 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by systemd-udevd/4699: 1 lock held by in:imklog/7801: #0: 000000009c5c8c51 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/8022: #0: 0000000021eb39d8 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000001c27b602 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 5 locks held by kworker/0:1/22072: #0: 0000000025d42d5c ((wq_completion)"usb_hub_wq"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000cc2f7d4b ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000042e341c9 (&dev->mutex){....}, at: device_lock include/linux/device.h:1174 [inline] #2: 0000000042e341c9 (&dev->mutex){....}, at: hub_event+0x11e/0x44a0 drivers/usb/core/hub.c:5387 #3: 000000005d87f38b (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2983 [inline] #3: 000000005d87f38b (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5069 [inline] #3: 000000005d87f38b (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5253 [inline] #3: 000000005d87f38b (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5361 [inline] #3: 000000005d87f38b (&port_dev->status_lock){+.+.}, at: hub_event+0x1cb8/0x44a0 drivers/usb/core/hub.c:5441 #4: 00000000d2dc484d (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b9/0x3120 drivers/usb/core/hub.c:4578 5 locks held by syz-executor.4/3421: 1 lock held by systemd-udevd/3429: 2 locks held by syz-executor.5/3435: 2 locks held by syz-executor.5/3443: #0: 0000000061a555df (tty_mutex){+.+.}, at: tty_open_by_driver drivers/tty/tty_io.c:1945 [inline] #0: 0000000061a555df (tty_mutex){+.+.}, at: tty_open+0x387/0x990 drivers/tty/tty_io.c:2029 #1: 0000000035092866 (&tty->legacy_mutex){+.+.}, at: tty_lock+0x6a/0xa0 drivers/tty/tty_mutex.c:19 3 locks held by syz-executor.2/3438: 2 locks held by syz-executor.2/3446: #0: 000000006f6a22bd (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000006f6a22bd (sb_writers#3){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000dcfc021a (&type->i_mutex_dir_key#3){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000dcfc021a (&type->i_mutex_dir_key#3){++++}, at: do_last fs/namei.c:3324 [inline] #1: 00000000dcfc021a (&type->i_mutex_dir_key#3){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 4 locks held by syz-executor.0/3440: 1 lock held by systemd-udevd/3437: 2 locks held by syz-executor.3/3442: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1566 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3440 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:native_apic_mem_write+0x8/0x10 arch/x86/include/asm/apic.h:109 Code: 3d cc 17 3d 0b 01 7f 02 5d c3 89 ef 5d e9 f5 fe c9 06 48 c7 c7 00 97 65 8c e8 84 e2 6f 00 eb df 66 90 89 ff 89 b7 00 c0 5f ff 0f 1f 80 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 53 89 fb 48 RSP: 0018:ffff8880ba107e98 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff89cfb1a0 RCX: 0000000000000020 RDX: 1ffffffff139f636 RSI: 0000000000000121 RDI: 0000000000000380 RBP: ffff8880ba11e2c0 R08: ffffffff8c665058 R09: 0000000000000000 R10: 0000000000000007 R11: ffffffff8c66505b R12: 0000000000000121 R13: 0000000000000000 R14: ffff8880ba124cc0 R15: ffff8880ba124d30 FS: 00007f095d01f700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f00553db090 CR3: 0000000094ac9000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:389 [inline] lapic_next_event+0x4d/0x80 arch/x86/kernel/apic/apic.c:460 clockevents_program_event+0x234/0x350 kernel/time/clockevents.c:344 tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:48 hrtimer_interrupt+0x40a/0x9e0 kernel/time/hrtimer.c:1598 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:recently_deleted fs/ext4/ialloc.c:700 [inline] RIP: 0010:find_inode_bit+0x2c9/0x520 fs/ext4/ialloc.c:724 Code: 89 f8 48 c1 e8 03 41 0f af df 80 3c 28 00 0f 85 18 02 00 00 48 63 db 49 03 5e 28 48 8d 7b 14 48 89 f8 48 c1 e8 03 0f b6 14 28 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 e3 01 00 00 8b RSP: 0018:ffff88804abd7648 EFLAGS: 00000a07 ORIG_RAX: ffffffffffffff13 RAX: 1ffff11009c76d22 RBX: ffff88804e3b6900 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81dc9283 RDI: ffff88804e3b6914 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a38a0080 R13: ffff88804abd7808 R14: ffff88804f151498 R15: 0000000000000009 __ext4_new_inode+0x160c/0x5a20 fs/ext4/ialloc.c:916 ext4_create+0x29e/0x5f0 fs/ext4/namei.c:2517 lookup_open+0x893/0x1a20 fs/namei.c:3235 do_last fs/namei.c:3327 [inline] path_openat+0x1094/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f095e6aa209 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f095d01f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f095e7bcf60 RCX: 00007f095e6aa209 RDX: 00000000000000c0 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007f095e704161 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdf4b859bf R14: 00007f095d01f300 R15: 0000000000022000