INFO: task udevd:2853 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D
stack:23736 pid:2853 tgid:2853 ppid:1 task_flags:0x400140 flags:0x00080000
Call Trace:
context_switch kernel/sched/core.c:5298 [inline]
__schedule+0xeb1/0x4220 kernel/sched/core.c:6911
__schedule_loop kernel/sched/core.c:6993 [inline]
schedule+0xdd/0x390 kernel/sched/core.c:7008
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7065
rwsem_down_read_slowpath+0x5dc/0xb30 kernel/locking/rwsem.c:1086
__down_read_common kernel/locking/rwsem.c:1261 [inline]
__down_read kernel/locking/rwsem.c:1274 [inline]
down_read+0xed/0x460 kernel/locking/rwsem.c:1539
kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1185
d_revalidate fs/namei.c:1030 [inline]
d_revalidate fs/namei.c:1026 [inline]
lookup_fast+0x3c7/0x600 fs/namei.c:1877
walk_component fs/namei.c:2275 [inline]
link_path_walk+0x7a8/0x1b30 fs/namei.c:2647
path_lookupat+0x74/0xc40 fs/namei.c:2803
filename_lookup+0x202/0x590 fs/namei.c:2833
do_readlinkat+0xd3/0x370 fs/stat.c:571
__do_sys_readlink fs/stat.c:605 [inline]
__se_sys_readlink fs/stat.c:602 [inline]
__x64_sys_readlink+0x78/0xc0 fs/stat.c:602
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x106/0x7b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a81b333a7
RSP: 002b:00007ffcee65f728 EFLAGS: 00000246
ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 00007ffcee65fc00 RCX: 00007f8a81b333a7
RDX: 0000000000000400 RSI: 00007ffcee65f730 RDI: 00007ffcee65fc00
RBP: 00007ffcee65f730 R08: 0000000000000075 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000400
R13: 000055f777b98100 R14: 0000000000000001 R15: 00007ffcee661500
INFO: task syz.2.14:5258 blocked for more than 171 seconds.
Not tainted syzkaller #0
Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.14 state:D stack:27432 pid:5258 tgid:5257 ppid:2969 task_flags:0x40044c flags:0x00080003
Call Trace:
context_switch kernel/sched/core.c:5298 [inline]
__schedule+0xeb1/0x4220 kernel/sched/core.c:6911
__schedule_loop kernel/sched/core.c:6993 [inline]
schedule+0xdd/0x390 kernel/sched/core.c:7008
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7065
rwsem_down_write_slowpath+0x530/0x1280 kernel/locking/rwsem.c:1185
__down_write_common kernel/locking/rwsem.c:1317 [inline]
__down_write kernel/locking/rwsem.c:1326 [inline]
down_write+0x1c7/0x1f0 kernel/locking/rwsem.c:1591
kernfs_remove_by_name_ns+0x3d/0xf0 fs/kernfs/dir.c:1717
sysfs_remove_file include/linux/sysfs.h:780 [inline]
driver_remove_file drivers/base/driver.c:201 [inline]
driver_remove_file+0x4a/0x60 drivers/base/driver.c:197
remove_bind_files drivers/base/bus.c:642 [inline]
bus_remove_driver+0x248/0x2e0 drivers/base/bus.c:780
driver_unregister+0x76/0xb0 drivers/base/driver.c:277
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1751
raw_release+0x19b/0x260 drivers/usb/gadget/legacy/raw_gadget.c:463
__fput+0x3ff/0xb40 fs/file_table.c:469
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x8b8/0x2b60 kernel/exit.c:976
do_group_exit+0xd5/0x2a0 kernel/exit.c:1118
get_signal+0x1ec7/0x21e0 kernel/signal.c:3034
arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:64 [inline]
exit_to_user_mode_loop+0x7e/0x430 kernel/entry/common.c:98
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline]
do_syscall_64+0x671/0x7b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe5d90ec42b
RSP: 002b:00007fe5d7b3cf00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007fe5d90ec42b
RDX: 00007fe5d7b3dfd0 RSI: 0000000080085502 RDI: 0000000000000003
RBP: 00007fe5d7b3dfd0 R08: 0000000000000001 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502
R13: 0000000800000000 R14: 0000000000000000 R15: 00007fe5d91a0ee6
Showing all locks held in the system:
6 locks held by kworker/1:0/23:
#0: ffff888105ab4148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1310/0x19a0 kernel/workqueue.c:3251
#1: ffffc9000018fd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x988/0x19a0 kernel/workqueue.c:3252
#2: ffff88810ab01198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
#2: ffff88810ab01198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899
#3: ffff88810ab06510 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3252 [inline]
#3: ffff88810ab06510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5464 [inline]
#3: ffff88810ab06510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
#3: ffff88810ab06510 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline]
#3: ffff88810ab06510 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x2bd2/0x4af0 drivers/usb/core/hub.c:5953
#4: ffff88810a34b868 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5465 [inline]
#4: ffff88810a34b868 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
#4: ffff88810a34b868 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline]
#4: ffff88810a34b868 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x2bfb/0x4af0 drivers/usb/core/hub.c:5953
#5: ffffffff8a2f1bf0 (ehci_cf_port_reset_rwsem){.+.+}-{4:4}, at: hub_port_reset+0x1a5/0x1c60 drivers/usb/core/hub.c:3067
6 locks held by kworker/1:1/28:
#0: ffff888105ab4148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1310/0x19a0 kernel/workqueue.c:3251
#1: ffffc900001e7d18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x988/0x19a0 kernel/workqueue.c:3252
#2: ffff88810ab79198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
#2: ffff88810ab79198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899
#3: ffff888116d1b198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
#3: ffff888116d1b198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4d0 drivers/base/dd.c:1008
#4: ffff88811e551160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
#4: ffff88811e551160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4d0 drivers/base/dd.c:1008
#5: ffffffff8a50a788 (input_mutex){+.+.}-{4:4}, at: class_mutex_intr_constructor include/linux/mutex.h:255 [inline]
#5: ffffffff8a50a788 (input_mutex){+.+.}-{4:4}, at: input_register_device.cold+0x5b/0x375 drivers/input/input.c:2374
1 lock held by khungtaskd/30:
#0: ffffffff896de6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
#0: ffffffff896de6e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
#0: ffffffff896de6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775
2 locks held by udevd/2853:
#0: ffff888101298188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_getlink fs/kernfs/symlink.c:120 [inline]
#0: ffff888101298188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_iop_get_link fs/kernfs/symlink.c:140 [inline]
#0: ffff888101298188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_iop_get_link+0xe4/0x16a0 fs/kernfs/symlink.c:128
#1: ffff8881f5739620 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:647 [inline]
#1: ffff8881f5739620 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1615 [inline]
#1: ffff8881f5739620 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1946 [inline]
#1: ffff8881f5739620 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2ca/0x4220 kernel/sched/core.c:6814
2 locks held by getty/2916:
#0: ffff8881158f30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x1500 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/2963:
#0: ffffffff896ea2f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343
4 locks held by udevd/5193:
#0: ffff888119f47b08 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xe1/0x1270 fs/seq_file.c:183
#1: ffff888119e9a488 (&of->mutex){+.+.}-{4:4}, at: kernfs_seq_start+0x4f/0x2a0 fs/kernfs/file.c:172
#2: ffff888114e9d788 (kn->active#23){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#2: ffff888114e9d788 (kn->active#23){.+.+}-{0:0}, at: kernfs_seq_start+0xbc/0x2a0 fs/kernfs/file.c:173
#3: ffff888116d1b198 (&dev->mutex){....}-{4:4}, at: device_lock_interruptible include/linux/device.h:900 [inline]
#3: ffff888116d1b198 (&dev->mutex){....}-{4:4}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
6 locks held by kworker/1:2/5204:
4 locks held by udevd/5225:
#0: ffff88810e392790 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xe1/0x1270 fs/seq_file.c:183
#1: ffff88811a306488 (&of->mutex){+.+.}-{4:4}, at: kernfs_seq_start+0x4f/0x2a0 fs/kernfs/file.c:172
#2: ffff8881153ba2d8 (kn->active#23){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#2: ffff8881153ba2d8 (kn->active#23){.+.+}-{0:0}, at: kernfs_seq_start+0xbc/0x2a0 fs/kernfs/file.c:173
#3: ffff88811e9c3198 (&dev->mutex){....}-{4:4}, at: device_lock_interruptible include/linux/device.h:900 [inline]
#3: ffff88811e9c3198 (&dev->mutex){....}-{4:4}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
7 locks held by kworker/1:4/5226:
#0: ffff888105ab4148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1310/0x19a0 kernel/workqueue.c:3251
#1: ffffc90002d0fd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x988/0x19a0 kernel/workqueue.c:3252
#2: ffff88810af21198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
#2: ffff88810af21198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899
#3: ffff88811e9c3198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
#3: ffff88811e9c3198 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x10a/0x9a0 drivers/usb/core/hub.c:2336
#4: ffff88811e553160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
#4: ffff88811e553160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1106 [inline]
#4: ffff88811e553160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xaa/0x600 drivers/base/dd.c:1304
#5: ffffffff8a50a788 (input_mutex){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
#5: ffffffff8a50a788 (input_mutex){+.+.}-{4:4}, at: __input_unregister_device+0x184/0x4d0 drivers/input/input.c:2187
#6: ffffffff896ea2f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343
4 locks held by syz-executor/5272:
2 locks held by syz-executor/5274:
1 lock held by syz-executor/5276:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
nmi_cpu_backtrace.cold+0x12d/0x151 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x1d7/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:161 [inline]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x141/0x190 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline]
watchdog+0xd25/0x1050 kernel/hung_task.c:515
kthread+0x370/0x450 kernel/kthread.c:436
ret_from_fork+0x6c3/0xcb0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5273 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:clear_pages arch/x86/include/asm/page_64.h:103 [inline]
RIP: 0010:clear_page arch/x86/include/asm/page_64.h:114 [inline]
RIP: 0010:clear_highpage_kasan_tagged include/linux/highmem.h:344 [inline]
RIP: 0010:kernel_init_pages+0x75/0xb0 mm/page_alloc.c:1265
Code: 48 89 eb 48 2b 1d cb 3c 0f 07 48 c1 fb 06 48 c1 e3 0c 41 80 7d 00 00 75 3c 48 8b 3d c5 3c 0f 07 b9 00 10 00 00 31 c0 48 01 df aa 0f 1f 44 00 00 48 83 c5 40 49 39 ec 75 c0 5b 5d 41 5c 41 5d
RSP: 0018:ffffc900015cf818 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000143600000 RCX: 0000000000001000
RDX: 0000000000000000 RSI: 0000000000000400 RDI: ffff888143600000
RBP: ffffea00050d8000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffed1028680000 R11: ffff88823fffa680 R12: ffffea00050e0000
R13: fffffbfff1233e4c R14: fffffbfff1233e4a R15: 0000000000000001
FS: 0000555594809500(0000) GS:ffff8882687ce000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff446375f40 CR3: 0000000123ef8000 CR4: 00000000003506f0
Call Trace:
post_alloc_hook+0xa8/0x170 mm/page_alloc.c:1887
prep_new_page mm/page_alloc.c:1897 [inline]
get_page_from_freelist+0xf10/0x39f0 mm/page_alloc.c:3962
__alloc_frozen_pages_noprof+0x273/0x2860 mm/page_alloc.c:5250
alloc_pages_mpol+0xe8/0x410 mm/mempolicy.c:2484
alloc_frozen_pages_noprof mm/mempolicy.c:2555 [inline]
alloc_pages_noprof+0x131/0x390 mm/mempolicy.c:2575
vm_area_alloc_pages mm/vmalloc.c:3662 [inline]
__vmalloc_area_node mm/vmalloc.c:3876 [inline]
__vmalloc_node_range_noprof+0xe5c/0x1530 mm/vmalloc.c:4064
vmalloc_user_noprof+0x9e/0xe0 mm/vmalloc.c:4218
kcov_ioctl+0x4c/0x720 kernel/kcov.c:726
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl fs/ioctl.c:583 [inline]
__x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x106/0x7b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f12c803c42b
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007fffbdff8420 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000100000 RCX: 00007f12c803c42b
RDX: 0000000000100000 RSI: ffffffff80086301 RDI: 00000000000000d7
RBP: 00007f12c82b5f40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000003 R14: 00007fffbdff86d8 R15: 0000000000000000