INFO: task syz-executor.0:28944 blocked for more than 143 seconds.
Not tainted 5.17.0-rc7-syzkaller-00068-ge7e19defa575 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:28048 pid:28944 ppid: 3620 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
device_lock include/linux/device.h:767 [inline]
usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1075
__fput+0x286/0x9f0 fs/file_table.c:317
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f424271cc8b
RSP: 002b:00007ffcfe76f7f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f424271cc8b
RDX: 0000000000000000 RSI: 0000001b2da25794 RDI: 0000000000000003
RBP: 00007f424287e960 R08: 0000000000000000 R09: 00000000ddabf39c
R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000ad6c7
R13: 00007ffcfe76f8f0 R14: 00007f424287d100 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb84ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
5 locks held by kworker/0:2/913:
#0: ffff88814139d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88814139d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88814139d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff88814139d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline]
#0: ffff88814139d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline]
#0: ffff88814139d138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278
#1: ffffc9000462fdb8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282
#2: ffff88801d9f7220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#2: ffff88801d9f7220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688
#3: ffff888051143580 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline]
#3: ffff888051143580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline]
#3: ffff888051143580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
#3: ffff888051143580 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5660 [inline]
#3: ffff888051143580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1fba/0x44d0 drivers/usb/core/hub.c:5742
#4: ffff888147cc7a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline]
#4: ffff888147cc7a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
#4: ffff888147cc7a68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5660 [inline]
#4: ffff888147cc7a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1fe3/0x44d0 drivers/usb/core/hub.c:5742
2 locks held by udevd/2963:
2 locks held by getty/3280:
#0: ffff8880230ad098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075
1 lock held by syz-executor.0/28944:
#0: ffff88801d9f7220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
#0: ffff88801d9f7220 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1075
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc7-syzkaller-00068-ge7e19defa575 #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+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:377
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: 20528 Comm: kworker/u4:13 Not tainted 5.17.0-rc7-syzkaller-00068-ge7e19defa575 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:load_new_mm_cr3+0x32/0x130 arch/x86/mm/tlb.c:293
Code: f3 74 2a e9 85 00 00 00 48 89 ef e8 d8 f7 ff ff 66 81 fb fe 0f 48 89 c6 0f 87 df 00 00 00 83 c3 01 0f b7 c3 48 09 f0 0f 22 d8 <5b> 5d c3 66 81 fe fe 0f 77 68 be 08 00 00 00 48 c7 c7 d0 23 94 8d
RSP: 0018:ffffc900045e7988 EFLAGS: 00000093
RAX: 00000001406f5000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801f8b5700 RSI: ffffffff813569b4 RDI: 0000000000000003
RBP: ffff8881406f5000 R08: 0000000000000000 R09: 0000000000000030
R10: ffffffff813569aa R11: 000000000000003f R12: ffffffff8bcb4aa0
R13: 0000000000000000 R14: 0000000000000000 R15: 000000000005fbce
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055caa096f600 CR3: 00000001406f5000 CR4: 0000000000350ef0
Call Trace:
switch_mm_irqs_off+0x496/0xa10 arch/x86/mm/tlb.c:627
use_temporary_mm arch/x86/kernel/alternative.c:924 [inline]
__text_poke+0x44a/0x8c0 arch/x86/kernel/alternative.c:1021
text_poke arch/x86/kernel/alternative.c:1083 [inline]
text_poke_bp_batch+0x25b/0x6f0 arch/x86/kernel/alternative.c:1313
text_poke_flush arch/x86/kernel/alternative.c:1470 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1467 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1477
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32f/0x410 kernel/jump_label.c:830
static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190
toggle_allocation_gate mm/kfence/core.c:735 [inline]
toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:727
process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307
worker_thread+0x657/0x1110 kernel/workqueue.c:2454
kthread+0x2e9/0x3a0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: f3 74 2a repz je 0x2d
3: e9 85 00 00 00 jmpq 0x8d
8: 48 89 ef mov %rbp,%rdi
b: e8 d8 f7 ff ff callq 0xfffff7e8
10: 66 81 fb fe 0f cmp $0xffe,%bx
15: 48 89 c6 mov %rax,%rsi
18: 0f 87 df 00 00 00 ja 0xfd
1e: 83 c3 01 add $0x1,%ebx
21: 0f b7 c3 movzwl %bx,%eax
24: 48 09 f0 or %rsi,%rax
27: 0f 22 d8 mov %rax,%cr3
* 2a: 5b pop %rbx <-- trapping instruction
2b: 5d pop %rbp
2c: c3 retq
2d: 66 81 fe fe 0f cmp $0xffe,%si
32: 77 68 ja 0x9c
34: be 08 00 00 00 mov $0x8,%esi
39: 48 c7 c7 d0 23 94 8d mov $0xffffffff8d9423d0,%rdi