INFO: task kworker/1:0:24 blocked for more than 143 seconds.
Not tainted 6.16.0-rc2-syzkaller-00162-g41687a5c6f8b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0 state:D stack:19720 pid:24 tgid:24 ppid:2 task_flags:0x4208060 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x116a/0x5de0 kernel/sched/core.c:6785
__schedule_loop kernel/sched/core.c:6863 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:6878
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x6c7/0xb90 kernel/locking/mutex.c:747
hub_port_connect drivers/usb/core/hub.c:5433 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
port_event drivers/usb/core/hub.c:5835 [inline]
hub_event+0x292b/0x4fa0 drivers/usb/core/hub.c:5917
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3321 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Showing all locks held in the system:
5 locks held by kworker/0:1/10:
#0: ffff888144681948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900000f7d10 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88802af2c198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline]
#2: ffff88802af2c198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1c0/0x4fa0 drivers/usb/core/hub.c:5863
#3: ffff88802af2f510 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3220 [inline]
#3: ffff88802af2f510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5432 [inline]
#3: ffff88802af2f510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
#3: ffff88802af2f510 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline]
#3: ffff88802af2f510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x2906/0x4fa0 drivers/usb/core/hub.c:5917
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5433 [inline]
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline]
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x292b/0x4fa0 drivers/usb/core/hub.c:5917
4 locks held by kworker/u8:0/12:
5 locks held by kworker/1:0/24:
#0: ffff888144681948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900001e7d10 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88802aeef198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline]
#2: ffff88802aeef198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1c0/0x4fa0 drivers/usb/core/hub.c:5863
#3: ffff88802af8a510 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3220 [inline]
#3: ffff88802af8a510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5432 [inline]
#3: ffff88802af8a510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
#3: ffff88802af8a510 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline]
#3: ffff88802af8a510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x2906/0x4fa0 drivers/usb/core/hub.c:5917
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5433 [inline]
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline]
#4: ffff888144785168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x292b/0x4fa0 drivers/usb/core/hub.c:5917
1 lock held by khungtaskd/31:
#0: ffffffff8e5c4880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e5c4880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e5c4880 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6770
2 locks held by getty/5574:
#0: ffff888036fe20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222
1 lock held by syz.4.1814/12556:
#0: ffff88807acb6d60 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:374 [inline]
#0: ffff88807acb6d60 (&mm->mmap_lock){++++}-{4:4}, at: vm_mmap_pgoff+0x1d8/0x450 mm/util.c:577
1 lock held by syz.4.1814/12558:
10 locks held by syz.0.1815/12562:
#0: ffff88802e86c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffff88802e86c130 (&tty->atomic_write_lock){+.+.}-{4:4}, at: tty_write_lock drivers/tty/tty_io.c:939 [inline]
#1: ffff88802e86c130 (&tty->atomic_write_lock){+.+.}-{4:4}, at: iterate_tty_write drivers/tty/tty_io.c:958 [inline]
#1: ffff88802e86c130 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write.constprop.0+0x283/0x9b0 drivers/tty/tty_io.c:1081
#2: ffff88802e86c2e8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_write+0x1b9/0x1160 drivers/tty/n_tty.c:2360
#3: ffffc9000631b380 (&ldata->output_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:225 [inline]
#3: ffffc9000631b380 (&ldata->output_lock){+.+.}-{4:4}, at: process_output_block drivers/tty/n_tty.c:517 [inline]
#3: ffffc9000631b380 (&ldata->output_lock){+.+.}-{4:4}, at: n_tty_write+0x549/0x1160 drivers/tty/n_tty.c:2377
#4: ffffffff8e5b2240 (console_lock){+.+.}-{0:0}, at: do_con_write+0x152/0x8280 drivers/tty/vt/vt.c:3138
#5: ffff888146af7a80 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_pan_display+0xd6/0xa40 drivers/gpu/drm/drm_fb_helper.c:1440
#6: ffff888025d881b8 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x21/0x80 drivers/gpu/drm/drm_auth.c:452
#7: ffff888146af7898 (&client->modeset_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_locked+0x4c/0x580 drivers/gpu/drm/drm_client_modeset.c:1202
#8: ffffc9000fe574f8 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0xc4/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1040
#9: ffffc9000fe57520 (crtc_ww_class_mutex){+.+.}-{4:4}, at: drm_client_modeset_commit_atomic+0xc4/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1040
2 locks held by syz.2.1816/12561:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc2-syzkaller-00162-g41687a5c6f8b #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xf70/0x12c0 kernel/hung_task.c:470
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5802 Comm: syz-executor Not tainted 6.16.0-rc2-syzkaller-00162-g41687a5c6f8b #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__lock_acquire+0x3f3/0x1c90 kernel/locking/lockdep.c:5210
Code: 00 4c 89 ee 48 89 ef e8 9b f3 ff ff 85 c0 74 5e ba 08 00 00 00 4c 89 ee 48 89 ef e8 87 f3 ff ff 85 c0 74 4a 8b 05 fd e4 43 19 <85> c0 74 72 48 8b 8d e0 0a 00 00 85 db 0f 85 56 03 00 00 8b 05 e4
RSP: 0018:ffffc90003c1f778 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff95d42858
RDX: 0000000000000000 RSI: ffff88807b8b5398 RDI: ffff88807b8b4880
RBP: ffff88807b8b4880 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000028 R11: 0000000000000001 R12: ffff88807b8b5370
R13: ffff88807b8b5398 R14: 0000000000000001 R15: 0000000000000001
FS: 0000555557f33500(0000) GS:ffff888124753000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000003000 CR3: 0000000028b33000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5871 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5828
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
avc_reclaim_node security/selinux/avc.c:476 [inline]
avc_alloc_node+0x268/0x6a0 security/selinux/avc.c:507
avc_insert security/selinux/avc.c:618 [inline]
avc_compute_av+0x100/0x7f0 security/selinux/avc.c:993
avc_perm_nonode+0xab/0x180 security/selinux/avc.c:1117
avc_has_perm_noaudit+0x2de/0x3b0 security/selinux/avc.c:1160
avc_has_perm+0xc0/0x1c0 security/selinux/avc.c:1195
inode_has_perm+0x168/0x1d0 security/selinux/hooks.c:1681
file_has_perm+0x2e4/0x350 security/selinux/hooks.c:1777
selinux_revalidate_file_permission security/selinux/hooks.c:3742 [inline]
selinux_file_permission+0x498/0x660 security/selinux/hooks.c:3763
security_file_permission+0x1e3/0x210 security/security.c:2844
rw_verify_area+0xb9/0x680 fs/read_write.c:473
vfs_read+0x150/0xc60 fs/read_write.c:563
ksys_read+0x1f8/0x250 fs/read_write.c:715
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f461438d2fd
Code: a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b5 e8 a8 48 00 00 0f 1f 84 00 00 00 00 00 80 3d 41 82 1f 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec
RSP: 002b:00007ffdb317e818 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f461438d2fd
RDX: 0000000000000004 RSI: 00007ffdb317e82c RDI: 0000000000000003
RBP: 0000000000000000 R08: 000000000001cf48 R09: 00007f46151a4000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdb317ec40
R13: 0000000000000004 R14: 00007ffdb317e82c R15: 00007ffdb317e8c0