INFO: task kworker/1:3:4695 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/1:3 D26224 4695 2 0x80000000 netlink: 'syz-executor.3': attribute type 12 has an invalid length. 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/1570: #0: 000000004553dea5 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 5 locks held by kworker/1:3/4695: #0: 00000000dfd687e7 ((wq_completion)"usb_hub_wq"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 netlink: 'syz-executor.0': attribute type 12 has an invalid length. #1: 000000006a24f61b ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 netlink: 'syz-executor.3': attribute type 12 has an invalid length. #2: 0000000092827aaf (&dev->mutex){....}, at: device_lock include/linux/device.h:1174 [inline] #2: 0000000092827aaf (&dev->mutex){....}, at: hub_event+0x11e/0x44a0 drivers/usb/core/hub.c:5387 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 #3: 0000000072d13e7f (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2983 [inline] #3: 0000000072d13e7f (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5069 [inline] #3: 0000000072d13e7f (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5253 [inline] #3: 0000000072d13e7f (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5361 [inline] #3: 0000000072d13e7f (&port_dev->status_lock){+.+.}, at: hub_event+0x1cb8/0x44a0 drivers/usb/core/hub.c:5441 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 #4: 00000000ed522c69 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b9/0x3120 drivers/usb/core/hub.c:4578 1 lock held by in:imklog/7830: #0: 000000004254a76a (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by kworker/1:6/20825: #0: 00000000890521ab ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000d19d0bb3 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 2 locks held by kworker/u4:0/13481: #0: 00000000563e9c63 ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000009e85dc37 ((work_completion)(&sub_info->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 2 locks held by syz-executor.0/14663: #0: 000000007ac7590a (&sb->s_type->i_mutex_key#13){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000007ac7590a (&sb->s_type->i_mutex_key#13){+.+.}, at: __sock_release+0x86/0x2a0 net/socket.c:598 #1: 00000000a2fec63e (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: 00000000a2fec63e (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667 2 locks held by syz-executor.1/14665: #0: 00000000ec6867ce (&sb->s_type->i_mutex_key#13){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000ec6867ce (&sb->s_type->i_mutex_key#13){+.+.}, at: __sock_release+0x86/0x2a0 net/socket.c:598 #1: 00000000a2fec63e (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: 00000000a2fec63e (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 1 lock held by syz-executor.3/14666: #0: 000000004e335db8 (&sb->s_type->i_mutex_key#13){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000004e335db8 (&sb->s_type->i_mutex_key#13){+.+.}, at: __sock_release+0x86/0x2a0 net/socket.c:598 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-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+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 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: 4697 Comm: systemd-udevd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:strlen+0x5f/0x90 lib/string.c:539 Code: 00 00 00 00 fc ff df 48 89 e8 48 83 c0 01 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a 38 ca 7f 04 84 d2 75 1f 80 38 00 <75> de 48 83 c4 08 48 29 e8 5b 5d c3 48 83 c4 08 31 c0 5b 5d c3 e8 RSP: 0018:ffff88809a8a7530 EFLAGS: 00000002 RAX: ffffffff887770e8 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffffffff8a070900 RDI: ffffffff887770e0 RBP: ffffffff887770e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89f6d360 R13: ffffffff8a070900 R14: ffffffff814a7850 R15: ffff88809a8a7600 FS: 00007f4815f1f8c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6bc11a11b8 CR3: 000000009b072000 CR4: 00000000003426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: strlen include/linux/string.h:299 [inline] trace_event_get_offsets_lock include/trace/events/lock.h:39 [inline] perf_trace_lock+0xb1/0x4b0 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x4e8/0x8b0 kernel/locking/lockdep.c:3926 __mutex_unlock_slowpath+0x89/0x610 kernel/locking/mutex.c:1203 kernfs_dop_revalidate+0x300/0x3a0 fs/kernfs/dir.c:589 d_revalidate fs/namei.c:767 [inline] lookup_fast+0xaa1/0x1080 fs/namei.c:1621 walk_component+0xde/0xda0 fs/namei.c:1807 link_path_walk.part.0+0x901/0x1230 fs/namei.c:2142 link_path_walk fs/namei.c:2270 [inline] path_lookupat+0xe4/0x8d0 fs/namei.c:2318 filename_lookup+0x1ac/0x5a0 fs/namei.c:2349 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3137 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4814d91335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffc40da63e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00005619a9d4c060 RCX: 00007f4814d91335 RDX: 00007ffc40da6420 RSI: 00007ffc40da6420 RDI: 00005619a9d4b060 RBP: 00007ffc40da64e0 R08: 00007f4815050258 R09: 0000000000001010 R10: 00007f481504fb58 R11: 0000000000000246 R12: 00005619a9d4b060 R13: 00005619a9d4b083 R14: 00005619a9d25e51 R15: 00005619a9d25e53 ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: e8 48 83 c0 01 callq 0x1c08350 8: 48 89 c2 mov %rax,%rdx b: 48 89 c1 mov %rax,%rcx e: 48 c1 ea 03 shr $0x3,%rdx 12: 83 e1 07 and $0x7,%ecx 15: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx 19: 38 ca cmp %cl,%dl 1b: 7f 04 jg 0x21 1d: 84 d2 test %dl,%dl 1f: 75 1f jne 0x40 21: 80 38 00 cmpb $0x0,(%rax) * 24: 75 de jne 0x4 <-- trapping instruction 26: 48 83 c4 08 add $0x8,%rsp 2a: 48 29 e8 sub %rbp,%rax 2d: 5b pop %rbx 2e: 5d pop %rbp 2f: c3 retq 30: 48 83 c4 08 add $0x8,%rsp 34: 31 c0 xor %eax,%eax 36: 5b pop %rbx 37: 5d pop %rbp 38: c3 retq 39: e8 .byte 0xe8