INFO: task kworker/1:5:6137 blocked for more than 143 seconds. Not tainted 5.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:5 state:D stack:19728 pid: 6137 ppid: 2 flags:0x00004000 Workqueue: events request_firmware_work_func Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x947/0x22b0 kernel/sched/core.c:6287 schedule+0xcf/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa08/0x12b0 kernel/locking/mutex.c:729 device_lock include/linux/device.h:760 [inline] rtl871x_load_fw_fail drivers/staging/rtl8712/hal_init.c:42 [inline] rtl871x_load_fw_cb+0x112/0x160 drivers/staging/rtl8712/hal_init.c:55 request_firmware_work_func+0x12c/0x230 drivers/base/firmware_loader/main.c:1081 process_one_work+0x9bf/0x1620 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3c2/0x4a0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: ffffffff87681ea0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/2823: 6 locks held by kworker/1:3/5590: 6 locks held by kworker/1:4/5730: 6 locks held by kworker/0:5/5828: #0: ffff888103585938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888103585938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888103585938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888103585938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888103585938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888103585938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x8a3/0x1620 kernel/workqueue.c:2268 #1: ffffc900033a7db0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x1620 kernel/workqueue.c:2272 #2: ffff88810cea9220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88810cea9220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4330 drivers/usb/core/hub.c:5662 #3: ffff88810ceac5b8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3086 [inline] #3: ffff88810ceac5b8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5279 [inline] #3: ffff88810ceac5b8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5488 [inline] #3: ffff88810ceac5b8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5634 [inline] #3: ffff88810ceac5b8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2178/0x4330 drivers/usb/core/hub.c:5716 #4: ffff88810cda0368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b9/0x2fb0 drivers/usb/core/hub.c:4703 #5: ffff8881f682f618 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:474 [inline] #5: ffff8881f682f618 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1317 [inline] #5: ffff8881f682f618 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1620 [inline] #5: ffff8881f682f618 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x24f/0x22b0 kernel/sched/core.c:6201 3 locks held by kworker/1:5/6137: #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888100064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x8a3/0x1620 kernel/workqueue.c:2268 #1: ffffc9001013fdb0 ((work_completion)(&fw_work->work)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x1620 kernel/workqueue.c:2272 #2: ffff88810ce29220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88810ce29220 (&dev->mutex){....}-{3:3}, at: rtl871x_load_fw_fail drivers/staging/rtl8712/hal_init.c:42 [inline] #2: ffff88810ce29220 (&dev->mutex){....}-{3:3}, at: rtl871x_load_fw_cb+0x112/0x160 drivers/staging/rtl8712/hal_init.c:55 3 locks held by kworker/1:6/6600: 2 locks held by agetty/24725: #0: ffff88811e14f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900034fb2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 6 locks held by kworker/1:0/10231: 2 locks held by agetty/13079: #0: ffff888140ce0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc9000334b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x49/0x148 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1d5/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc0f/0xf20 kernel/hung_task.c:295 kthread+0x3c2/0x4a0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1155 Comm: systemd-journal Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:debug_lockdep_rcu_enabled+0x6/0x30 kernel/rcu/update.c:280 Code: 5e 41 5f c3 45 31 ed eb c5 0f 0b 65 c7 05 b6 12 3f 7a 00 00 00 00 eb c8 e8 a7 fb ff ff eb c8 cc cc cc cc cc 8b 05 fa d4 cc 02 <85> c0 74 21 8b 05 fc e4 cc 02 85 c0 74 17 65 48 8b 04 25 80 ef 01 RSP: 0018:ffffc90000277d60 EFLAGS: 00000283 RAX: 0000000000000002 RBX: 1ffff9200004efb1 RCX: ffffffff81286e18 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff888fba10 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff888fba17 R10: fffffbfff111f742 R11: 1ffff9200004ef52 R12: 0000000000000001 R13: 0000000000000000 R14: ffff88810e347128 R15: 0000000000000000 FS: 00007f5dcf90c8c0(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5dc8a08000 CR3: 000000010df78000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:104 [inline] rcu_read_lock_sched_held+0xd/0x70 kernel/rcu/update.c:123 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x41d/0x4d0 kernel/locking/lockdep.c:5596 __might_fault mm/memory.c:5261 [inline] __might_fault+0x106/0x180 mm/memory.c:5246 strncpy_from_user+0x2f/0x3e0 lib/strncpy_from_user.c:117 getname_flags.part.0+0x95/0x4f0 fs/namei.c:149 getname_flags include/linux/audit.h:319 [inline] getname fs/namei.c:217 [inline] __do_sys_mkdir fs/namei.c:3931 [inline] __se_sys_mkdir fs/namei.c:3929 [inline] __x64_sys_mkdir+0xda/0x140 fs/namei.c:3929 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5dcebc7687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffef9a7a5b8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007ffef9a7d620 RCX: 00007f5dcebc7687 RDX: 0000000000000000 RSI: 00000000000001ed RDI: 000055976ba468a0 RBP: 00007ffef9a7a5f0 R08: 000055976ab4c3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 000055976ba468a0 R15: 00007ffef9a7ac30 ---------------- Code disassembly (best guess): 0: 5e pop %rsi 1: 41 5f pop %r15 3: c3 retq 4: 45 31 ed xor %r13d,%r13d 7: eb c5 jmp 0xffffffce 9: 0f 0b ud2 b: 65 c7 05 b6 12 3f 7a movl $0x0,%gs:0x7a3f12b6(%rip) # 0x7a3f12cc 12: 00 00 00 00 16: eb c8 jmp 0xffffffe0 18: e8 a7 fb ff ff callq 0xfffffbc4 1d: eb c8 jmp 0xffffffe7 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: 8b 05 fa d4 cc 02 mov 0x2ccd4fa(%rip),%eax # 0x2ccd524 * 2a: 85 c0 test %eax,%eax <-- trapping instruction 2c: 74 21 je 0x4f 2e: 8b 05 fc e4 cc 02 mov 0x2cce4fc(%rip),%eax # 0x2cce530 34: 85 c0 test %eax,%eax 36: 74 17 je 0x4f 38: 65 gs 39: 48 rex.W 3a: 8b .byte 0x8b 3b: 04 25 add $0x25,%al 3d: 80 ef 01 sub $0x1,%bh