INFO: task kworker/0:0:8 blocked for more than 143 seconds.
Not tainted 6.11.0-rc3-syzkaller-00034-g38343be0bf9a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0 state:D
stack:21360 pid:8 tgid:8 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x124/0x330 kernel/locking/rwsem.c:1528
kernfs_find_and_get_ns+0x71/0xc0 fs/kernfs/dir.c:918
kernfs_find_and_get include/linux/kernfs.h:604 [inline]
sysfs_add_file_to_group+0xb7/0x1b0 fs/sysfs/file.c:401
add_persist_attributes drivers/usb/core/sysfs.c:356 [inline]
usb_create_sysfs_dev_files+0x232/0x370 drivers/usb/core/sysfs.c:1072
usb_bus_notify drivers/usb/core/usb.c:1038 [inline]
usb_bus_notify+0xd4/0x110 drivers/usb/core/usb.c:1030
notifier_call_chain+0xb9/0x410 kernel/notifier.c:93
blocking_notifier_call_chain kernel/notifier.c:388 [inline]
blocking_notifier_call_chain+0x69/0xa0 kernel/notifier.c:376
bus_notify+0x56/0x70 drivers/base/bus.c:994
device_add+0x10cf/0x1a70 drivers/base/core.c:3662
usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651
hub_port_connect drivers/usb/core/hub.c:5521 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
port_event drivers/usb/core/hub.c:5821 [inline]
hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
5 locks held by kworker/0:0/8:
#0:
ffff888104a8ad48 (
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc9000008fd80
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2:
ffff888108b24190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3:
ffff8881056e8278
(
&(&priv->bus_notifier)->rwsem
){++++}-{3:3}
, at: blocking_notifier_call_chain kernel/notifier.c:387 [inline]
, at: blocking_notifier_call_chain+0x53/0xa0 kernel/notifier.c:376
#4:
ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778
1 lock held by khungtaskd/30:
#0:
ffffffff88cb7360
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626
5 locks held by kworker/1:2/799:
#0:
ffff888104a8ad48
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc90001b6fd80
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2:
ffff888108be8190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3:
ffff888133872190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295
#4:
ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
2 locks held by kworker/u8:8/1144:
#0:
ffff888100089148
((wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc90001f9fd80
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
2 locks held by udevd/2546:
2 locks held by getty/2604:
#0:
ffff888105bcf0a0
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1:
ffffc900000432f0
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
6 locks held by kworker/1:3/4922:
#0:
ffff888104a8ad48
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc900020dfd80
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2:
ffff888108f32190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3:
ffff8881036f1190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295
#4:
ffff88811c9b8160
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_driver_lock drivers/base/dd.c:1094 [inline]
, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292
#5:
ffffffff8999fd08
(
input_mutex){+.+.}-{3:3}
, at: __input_unregister_device+0x136/0x450 drivers/input/input.c:2275
3 locks held by kworker/0:3/4928:
3 locks held by kworker/0:4/4929:
2 locks held by kworker/u8:2/6552:
#0:
ffff888100089148
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc900119dfd80
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
6 locks held by kworker/1:1/14173:
1 lock held by syz.4.2916/15882:
#0:
ffffffff88cc2af8
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328
1 lock held by syz-executor/15888:
#0:
ffffffff88cc2af8
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328
2 locks held by kworker/u8:0/15906:
#0:
ffff888100089148
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc9000f90fd80
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
1 lock held by modprobe/16154:
#0:
ffff8881f633d718
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested kernel/sched/core.c:560 [inline]
, at: raw_spin_rq_lock kernel/sched/sched.h:1415 [inline]
, at: rq_lock kernel/sched/sched.h:1714 [inline]
, at: __schedule+0x28e/0x2f80 kernel/sched/core.c:6436
1 lock held by modprobe/16168:
1 lock held by modprobe/16171:
#0:
ffff8881f633d718
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested kernel/sched/core.c:560 [inline]
, at: raw_spin_rq_lock kernel/sched/sched.h:1415 [inline]
, at: rq_lock kernel/sched/sched.h:1714 [inline]
, at: __schedule+0x28e/0x2f80 kernel/sched/core.c:6436
1 lock held by modprobe/16182:
1 lock held by modprobe/16183:
#0:
ffff8881f633d718
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested kernel/sched/core.c:560 [inline]
, at: raw_spin_rq_lock kernel/sched/sched.h:1415 [inline]
, at: rq_lock kernel/sched/sched.h:1714 [inline]
, at: __schedule+0x28e/0x2f80 kernel/sched/core.c:6436
1 lock held by modprobe/16201:
#0:
ffff8881f633d718
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested kernel/sched/core.c:560 [inline]
, at: raw_spin_rq_lock kernel/sched/sched.h:1415 [inline]
, at: rq_lock kernel/sched/sched.h:1714 [inline]
, at: __schedule+0x28e/0x2f80 kernel/sched/core.c:6436
1 lock held by modprobe/16218:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc3-syzkaller-00034-g38343be0bf9a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119
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:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf4e/0x1280 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 14173 Comm: kworker/1:1 Not tainted 6.11.0-rc3-syzkaller-00034-g38343be0bf9a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events drain_vmap_area_work
RIP: 0010:__kasan_check_read+0x0/0x20 mm/kasan/shadow.c:30
Code: c3 cc cc cc cc 48 83 c4 60 48 c7 c7 c8 87 77 88 5b 5d 41 5c e9 41 b1 8b ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 89 f6 31 d2 e9 2f f1 ff ff 66 66 2e 0f 1f
RSP: 0018:ffffc900085676a8 EFLAGS: 00000047
RAX: 0000000000000000 RBX: 0000000000000032 RCX: 0000000000000002
RDX: 1ffff110262738a1 RSI: 0000000000000008 RDI: ffffffff8d568ea0
RBP: ffffc90008567800 R08: 0000000000000000 R09: fffffbfff1aad1ed
R10: ffffffff8d568f6f R11: 0000000000000000 R12: ffff88813139ba00
R13: 0000000000000004 R14: 0000000000000002 R15: 1ffff920010acede
FS: 0000000000000000(0000) GS:ffff8881f6300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1edddc4108 CR3: 0000000116276000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class+0x4e/0x130 kernel/locking/lockdep.c:227
mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4655
mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4273
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4291 [inline]
lockdep_hardirqs_on_prepare+0x137/0x420 kernel/locking/lockdep.c:4358
trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
_raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194
__debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
debug_check_no_obj_freed+0x328/0x600 lib/debugobjects.c:1020
free_pages_prepare mm/page_alloc.c:1101 [inline]
free_unref_page+0x2a4/0xce0 mm/page_alloc.c:2612
kasan_depopulate_vmalloc_pte+0x63/0x80 mm/kasan/shadow.c:408
apply_to_pte_range mm/memory.c:2797 [inline]
apply_to_pmd_range mm/memory.c:2841 [inline]
apply_to_pud_range mm/memory.c:2877 [inline]
apply_to_p4d_range mm/memory.c:2913 [inline]
__apply_to_page_range+0x795/0xdd0 mm/memory.c:2947
kasan_release_vmalloc+0xac/0xc0 mm/kasan/shadow.c:525
purge_vmap_node+0x3fc/0x920 mm/vmalloc.c:2208
__purge_vmap_area_lazy+0x9ca/0xc10 mm/vmalloc.c:2290
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2324
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244