INFO: task syz-executor340:5068 blocked for more than 143 seconds.
Not tainted 6.6.0-syzkaller-10265-gbabe393974de #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor340 state:D stack:24848 pid:5068 tgid:5068 ppid:5065 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5376 [inline]
__schedule+0x1960/0x4a80 kernel/sched/core.c:6688
__schedule_loop kernel/sched/core.c:6763 [inline]
schedule+0x149/0x260 kernel/sched/core.c:6778
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747
device_lock include/linux/device.h:992 [inline]
usbdev_release+0x7a/0x7d0 drivers/usb/core/devio.c:1096
__fput+0x3cc/0xa10 fs/file_table.c:394
__do_sys_close fs/open.c:1590 [inline]
__se_sys_close+0x15f/0x220 fs/open.c:1575
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7ff17a8410e0
RSP: 002b:00007fff07351008 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007ff17a8410e0
RDX: 0000000000000007 RSI: 00007fff07350b40 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000f4240
R13: 00007fff073512b8 R14: 0000000000000001 R15: 00007fff07351050
Showing all locks held in the system:
5 locks held by kworker/1:0/23:
#0: ffff888148279138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline]
#0: ffff888148279138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703
#1: ffffc900001d7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline]
#1: ffffc900001d7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703
#2: ffff888020ddf190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
#2: ffff888020ddf190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x50a0 drivers/usb/core/hub.c:5787
#3: ffff88814335b508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3150 [inline]
#3: ffff88814335b508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5356 [inline]
#3: ffff88814335b508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5599 [inline]
#3: ffff88814335b508 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5759 [inline]
#3: ffff88814335b508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x26a5/0x50a0 drivers/usb/core/hub.c:5841
#4: ffff88801fdba868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5357 [inline]
#4: ffff88801fdba868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5599 [inline]
#4: ffff88801fdba868 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5759 [inline]
#4: ffff88801fdba868 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x26d9/0x50a0 drivers/usb/core/hub.c:5841
1 lock held by khungtaskd/29:
#0: ffffffff8d72d520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline]
#0: ffffffff8d72d520 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8d72d520 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613
2 locks held by kworker/u4:5/1027:
#0: ffff8880b993c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558
#1: ffff8880b9928808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
2 locks held by getty/4799:
#0: ffff888027aa80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015c72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206
1 lock held by syz-executor340/5068:
#0: ffff888020ddf190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline]
#0: ffff888020ddf190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x7a/0x7d0 drivers/usb/core/devio.c:1096
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-10265-gbabe393974de #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xfa9/0xff0 kernel/hung_task.c:379
kthread+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1027 Comm: kworker/u4:5 Not tainted 6.6.0-syzkaller-10265-gbabe393974de #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3762 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3781 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3836 [inline]
RIP: 0010:__lock_acquire+0x13e0/0x7f70 kernel/locking/lockdep.c:5136
Code: 00 00 00 00 fc ff df 48 89 5c 24 30 48 8b 1b 48 85 db 74 60 48 83 c3 f8 74 5a 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 00 00 <74> 12 4c 89 ff e8 86 e5 7c 00 49 b8 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffffc9000565f200 EFLAGS: 00000046
RAX: 1ffffffff21765df RBX: ffffffff90bb2ee0 RCX: ffffffff816d7ef5
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90baf3a0
RBP: ffffc9000565f4c8 R08: dffffc0000000000 R09: 1ffffffff2175e74
R10: dffffc0000000000 R11: fffffbfff2175e75 R12: ffff88801f114648
R13: ffff88801f114648 R14: 99bd894a85dbb887 R15: ffffffff90bb2ef8
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff013ca9580 CR3: 000000000d530000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
__pte_offset_map_lock+0x1ba/0x300 mm/pgtable-generic.c:373
get_locked_pte include/linux/mm.h:2662 [inline]
__text_poke+0x2c5/0xcd0 arch/x86/kernel/alternative.c:1820
text_poke arch/x86/kernel/alternative.c:1905 [inline]
text_poke_bp_batch+0x59a/0xb20 arch/x86/kernel/alternative.c:2238
text_poke_flush arch/x86/kernel/alternative.c:2407 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2414
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xce/0x1b0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate+0x1b8/0x250 mm/kfence/core.c:835
process_one_work kernel/workqueue.c:2630 [inline]
process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703
worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784
kthread+0x2d3/0x370 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.499 msecs