INFO: task kworker/1:1:25 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:21880 pid: 25 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 usb_kill_urb+0x1d5/0x310 drivers/usb/core/urb.c:720 usb_start_wait_urb+0x265/0x530 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x2a5/0x4b0 drivers/usb/core/message.c:153 hub_port_init+0x9f1/0x2df0 drivers/usb/core/hub.c:4829 hub_port_connect+0xcf8/0x27d0 drivers/usb/core/hub.c:5280 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5488 port_event+0xb67/0x1220 drivers/usb/core/hub.c:5634 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5716 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INFO: task syz-executor.0:25869 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26864 pid:25869 ppid: 6488 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6250 schedule+0x12b/0x1f0 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 device_lock include/linux/device.h:760 [inline] usbdev_release+0x7a/0x7c0 drivers/usb/core/devio.c:1074 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb41283972b RSP: 002b:00007ffcb7e84090 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fb41283972b RDX: 0000000000000000 RSI: ffffffff81a72ddd RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b31323a08 R10: 00000000000015a3 R11: 0000000000000293 R12: 00007fb41299ab60 R13: 00007fb41299ab60 R14: 00007fb412999f60 R15: 000000000012f0c8 Showing all locks held in the system: 5 locks held by kworker/1:1/25: #0: ffff8881429e5538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000dffd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273 #2: ffff88814779c220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88814779c220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5662 #3: ffff88801dfe85c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3086 [inline] #3: ffff88801dfe85c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0xce1/0x27d0 drivers/usb/core/hub.c:5279 #4: ffff88801dc86d68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1ef/0x2df0 drivers/usb/core/hub.c:4703 1 lock held by khungtaskd/27: #0: ffffffff8cb1d880 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6151: 1 lock held by syz-executor.0/25869: #0: ffff88814779c220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff88814779c220 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x7a/0x7c0 drivers/usb/core/devio.c:1074 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2929 Comm: systemd-journal Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline] RIP: 0010:PageHead include/linux/page-flags.h:687 [inline] RIP: 0010:compound_nr include/linux/mm.h:994 [inline] RIP: 0010:__kasan_poison_slab+0x13/0x90 mm/kasan/common.c:254 Code: 14 0e 31 c0 48 81 f9 ff ff ff 7f 48 0f 45 c2 c3 0f 1f 80 00 00 00 00 48 83 3f ff 74 2b 48 c7 c0 ff ff ff ff 0f 1f 00 48 8b 0f 01 00 00 00 f7 c1 00 00 01 00 74 03 8b 57 58 48 ff c0 48 39 d0 RSP: 0018:ffffc9000292fda8 EFLAGS: 00000213 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00fff00000010200 RDX: 0000000000000008 RSI: 0000000000000008 RDI: ffffea00028f8400 RBP: 0000000000000003 R08: 0000000000000006 R09: fffffbfff1bf9dae R10: fffffbfff1bf9dae R11: 0000000000000000 R12: ffff88813fffb000 R13: ffff888140007500 R14: ffffea00028f8400 R15: 0000000000000003 FS: 00007f20e01aa8c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20dda75008 CR3: 000000007b2a3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_poison_slab include/linux/kasan.h:200 [inline] allocate_slab+0x239/0x4d0 mm/slub.c:1930 new_slab mm/slub.c:1970 [inline] ___slab_alloc+0x41e/0xc40 mm/slub.c:3001 __slab_alloc mm/slub.c:3088 [inline] slab_alloc_node mm/slub.c:3179 [inline] slab_alloc mm/slub.c:3221 [inline] kmem_cache_alloc+0x272/0x300 mm/slub.c:3226 getname_flags+0xba/0x650 fs/namei.c:138 getname fs/namei.c:217 [inline] __do_sys_mkdir fs/namei.c:3929 [inline] __se_sys_mkdir fs/namei.c:3927 [inline] __x64_sys_mkdir+0x5b/0x80 fs/namei.c:3927 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f20df465687 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:00007ffd4b5f6258 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007ffd4b5f92c0 RCX: 00007f20df465687 RDX: 0000000000000000 RSI: 00000000000001ed RDI: 000055bd29cbf8a0 RBP: 00007ffd4b5f6290 R08: 000055bd2871c3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 000055bd29cbf8a0 R15: 00007ffd4b5f68d0 ---------------- Code disassembly (best guess): 0: 14 0e adc $0xe,%al 2: 31 c0 xor %eax,%eax 4: 48 81 f9 ff ff ff 7f cmp $0x7fffffff,%rcx b: 48 0f 45 c2 cmovne %rdx,%rax f: c3 retq 10: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 17: 48 83 3f ff cmpq $0xffffffffffffffff,(%rdi) 1b: 74 2b je 0x48 1d: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax 24: 0f 1f 00 nopl (%rax) 27: 48 8b 0f mov (%rdi),%rcx * 2a: ba 01 00 00 00 mov $0x1,%edx <-- trapping instruction 2f: f7 c1 00 00 01 00 test $0x10000,%ecx 35: 74 03 je 0x3a 37: 8b 57 58 mov 0x58(%rdi),%edx 3a: 48 ff c0 inc %rax 3d: 48 39 d0 cmp %rdx,%rax