INFO: task kworker/1:13:6988 blocked for more than 143 seconds.
Not tainted 6.1.81-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:13 state:D stack:21632 pid:6988 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5245 [inline]
__schedule+0x142d/0x4550 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
usb_kill_urb+0x1c5/0x300 drivers/usb/core/urb.c:728
usb_start_wait_urb+0x1ac/0x510 drivers/usb/core/message.c:64
usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
usb_control_msg+0x2ad/0x4c0 drivers/usb/core/message.c:153
get_bMaxPacketSize0 drivers/usb/core/hub.c:4738 [inline]
hub_port_init+0xba4/0x27e0 drivers/usb/core/hub.c:4935
hub_port_connect drivers/usb/core/hub.c:5385 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5596 [inline]
port_event drivers/usb/core/hub.c:5752 [inline]
hub_event+0x2b31/0x5730 drivers/usb/core/hub.c:5834
process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:307
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d12aa10 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d12b210 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/27:
#0: ffffffff8d12a840 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:319 [inline]
#0: ffffffff8d12a840 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:760 [inline]
#0: ffffffff8d12a840 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494
1 lock held by udevd/3001:
2 locks held by getty/3302:
#0: ffff88814bc35098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188
5 locks held by kworker/1:13/6988:
#0: ffff888017ad2138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90004d97d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffff8880232d5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline]
#2: ffff8880232d5190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5780
#3: ffff8880233704f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3144 [inline]
#3: ffff8880233704f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5352 [inline]
#3: ffff8880233704f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5596 [inline]
#3: ffff8880233704f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5752 [inline]
#3: ffff8880233704f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2471/0x5730 drivers/usb/core/hub.c:5834
#4: ffff888023334168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5353 [inline]
#4: ffff888023334168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5596 [inline]
#4: ffff888023334168 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5752 [inline]
#4: ffff888023334168 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x249e/0x5730 drivers/usb/core/hub.c:5834
1 lock held by udevd/12978:
1 lock held by syz-executor.0/7982:
1 lock held by syz-executor.4/7986:
5 locks held by syz-executor.2/7985:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.81-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:307
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12978 Comm: udevd Not tainted 6.1.81-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:unwind_next_frame+0x121/0x2220 arch/x86/kernel/unwind_orc.c:448
Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 f7 5f a5 00 f6 03 03 0f 85 fe 0f 00 00 48 8b 04 24 48 8d 58 35 48 89 dd 48 c1 ed 03 <48> bf 00 00 00 00 00 fc ff df 0f b6 44 3d 00 84 c0 0f 85 93 1a 00
RSP: 0018:ffffc900041673e0 EFLAGS: 00000a03
RAX: ffffc900041674c0 RBX: ffffc900041674f5 RCX: ffffffff8a93e800
RDX: dffffc0000000000 RSI: ffffffff8aa000c7 RDI: ffffffff813c9463
RBP: 1ffff9200082ce9e R08: 000000000000000b R09: ffffc900041675b0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880811f8000
R13: ffffffff81783990 R14: dffffc0000000000 R15: ffffffff8aa000c7
FS: 00007fd29bad4c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555e51788 CR3: 000000003d2a6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1724 [inline]
slab_free_freelist_hook mm/slub.c:1750 [inline]
slab_free mm/slub.c:3661 [inline]
__kmem_cache_free+0x25c/0x3c0 mm/slub.c:3674
tomoyo_realpath_from_path+0x59f/0x5d0 security/tomoyo/realpath.c:286
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x29f/0x710 security/tomoyo/file.c:822
security_inode_getattr+0xcf/0x120 security/security.c:1361
vfs_getattr+0x26/0x360 fs/stat.c:158
vfs_statx+0x194/0x4b0 fs/stat.c:233
vfs_fstatat fs/stat.c:267 [inline]
__do_sys_newfstatat fs/stat.c:437 [inline]
__se_sys_newfstatat fs/stat.c:431 [inline]
__x64_sys_newfstatat+0x151/0x1e0 fs/stat.c:431
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd29b7165f4
Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8
RSP: 002b:00007ffdcd9a5348 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 000000000000000e RCX: 00007fd29b7165f4
RDX: 00007ffdcd9a5358 RSI: 00007ffdcd9a5427 RDI: 00000000ffffff9c
RBP: 00007ffdcd9a6460 R08: 0000000000000000 R09: 91b11d66c6c7f5b5
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdcd9a6888
R13: 0000000000000000 R14: 00007ffdcd9a6888 R15: 00005565f3d50160