INFO: task udevd:2858 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:R
running task
stack:24552 pid:2858 tgid:2858 ppid:1 task_flags:0x400140 flags:0x00080001
Call Trace:
context_switch kernel/sched/core.c:5325 [inline]
__schedule+0x12fc/0x3b80 kernel/sched/core.c:6929
__schedule_loop kernel/sched/core.c:7011 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:7026
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083
rwsem_down_read_slowpath+0x64b/0xbf0 kernel/locking/rwsem.c:1086
__down_read_common kernel/locking/rwsem.c:1261 [inline]
__down_read kernel/locking/rwsem.c:1274 [inline]
down_read+0xef/0x480 kernel/locking/rwsem.c:1539
kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180
d_revalidate fs/namei.c:929 [inline]
d_revalidate fs/namei.c:925 [inline]
lookup_fast+0x266/0x610 fs/namei.c:1777
walk_component+0x5b/0x5b0 fs/namei.c:2147
link_path_walk+0x627/0xe20 fs/namei.c:2519
path_lookupat+0x15a/0x6d0 fs/namei.c:2675
filename_lookup+0x224/0x5f0 fs/namei.c:2705
do_readlinkat+0xce/0x3a0 fs/stat.c:576
__do_sys_readlink fs/stat.c:613 [inline]
__se_sys_readlink fs/stat.c:610 [inline]
__x64_sys_readlink+0x78/0xc0 fs/stat.c:610
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4d0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff32ccdf3a7
RSP: 002b:00007ffd2b2a4878 EFLAGS: 00000246
ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 00007ffd2b2a4d50 RCX: 00007ff32ccdf3a7
RDX: 0000000000000400 RSI: 00007ffd2b2a4880 RDI: 00007ffd2b2a4d50
RBP: 00007ffd2b2a4880 R08: 0000000000000075 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000400
R13: 000055b6630c6100 R14: 0000000000000001 R15: 00007ffd2b2a6650
INFO: task syz.0.1538:11119 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1538 state:D
stack:29184 pid:11119 tgid:11118 ppid:2971 task_flags:0x400040 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5325 [inline]
__schedule+0x12fc/0x3b80 kernel/sched/core.c:6929
__schedule_loop kernel/sched/core.c:7011 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:7026
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083
rwsem_down_write_slowpath+0x521/0x1310 kernel/locking/rwsem.c:1185
__down_write_common kernel/locking/rwsem.c:1317 [inline]
__down_write kernel/locking/rwsem.c:1326 [inline]
down_write+0x1d6/0x200 kernel/locking/rwsem.c:1591
kernfs_add_one+0x38/0x840 fs/kernfs/dir.c:791
kernfs_create_dir_ns+0xfc/0x1a0 fs/kernfs/dir.c:1093
sysfs_create_dir_ns+0x13a/0x2b0 fs/sysfs/dir.c:59
create_dir lib/kobject.c:73 [inline]
kobject_add_internal+0x2c4/0x9b0 lib/kobject.c:240
kobject_add_varg lib/kobject.c:374 [inline]
kobject_init_and_add+0x11b/0x190 lib/kobject.c:457
bus_add_driver+0x186/0x690 drivers/base/bus.c:671
driver_register+0x15c/0x4b0 drivers/base/driver.c:249
usb_gadget_register_driver_owner+0x132/0x330 drivers/usb/gadget/udc/core.c:1704
raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:595 [inline]
raw_ioctl+0x17d0/0x2c30 drivers/usb/gadget/legacy/raw_gadget.c:1306
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+0xcd/0x4d0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f657e46ebcb
RSP: 002b:00007f657ceccf10 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f657e46ebcb
RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000004
RBP: 00007f657cecdfe0 R08: 0000000000000000 R09: 00302e6364755f79
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f657ceccfb0 R14: 0000200000000140 R15: 00007f657e7f0b88
Showing all locks held in the system:
5 locks held by ksoftirqd/1/22:
3 locks held by kworker/1:0/23:
#0: ffff888100071948
(
(wq_completion)events
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238
#1:
ffffc9000018fd10
((work_completion)(&gadget->work)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239
#2:
ffff888100ac5988 (
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_find_and_get_ns+0x2f/0x70 fs/kernfs/dir.c:933
1 lock held by khungtaskd/30:
#0:
ffffffff892c89e0
(rcu_read_lock
){....}-{1:3}
, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6775
7 locks held by kworker/1:2/909:
1 lock held by udevd/2858:
#0:
ffff888100ac5988 (
&root->kernfs_rwsem){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180
2 locks held by getty/2920:
#0: ffff888109ec40a0
(
&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+0x41b/0x14f0 drivers/tty/n_tty.c:2222
1 lock held by syz-executor/2967:
1 lock held by syz-executor/2970:
1 lock held by syz-executor/2971:
1 lock held by syz-executor/2976:
4 locks held by udevd/5197:
#0:
ffff8881340328b8
(&p->lock
){+.+.}-{4:4}
, at: seq_read_iter+0xe1/0x12d0 fs/seq_file.c:182
#1: ffff888108bffc88
(&of->mutex
#2
){+.+.}-{4:4}
, at: kernfs_seq_start+0x4f/0x2a0 fs/kernfs/file.c:172
#2:
ffff8881351df3c8
(kn->active
#9){++++}-{0:0}
, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
, at: kernfs_seq_start+0xbc/0x2a0 fs/kernfs/file.c:173
#3:
ffff88811f9e8198 (
&dev->mutex
){....}-{4:4}
, at: device_lock_interruptible include/linux/device.h:919 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
6 locks held by kworker/1:3/5226:
#0:
ffff888106aaf948
((wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238
#1: ffffc90003bbfd10
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239
#2:
ffff88810975a198
(&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: hub_event+0x1be/0x5060 drivers/usb/core/hub.c:5899
#3:
ffff888135888198 (
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
#4:
ffff888134be3160
(
&dev->mutex){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
#5:
ffff888100ac5988 (
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_activate fs/kernfs/dir.c:1425 [inline]
, at: kernfs_add_one+0x349/0x840 fs/kernfs/dir.c:834
4 locks held by kworker/1:5/5231:
#0:
ffff888100071948
((wq_completion)events
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238
#1: ffffc90003bffd10
(kernfs_notify_work
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239
#2:
ffff888100ac5ab8
(&root->kernfs_supers_rwsem
){++++}-{4:4}
, at: kernfs_notify_workfn+0xf7/0xb30 fs/kernfs/file.c:932
#3:
ffff888100ac5988 (
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_notify_workfn+0xff/0xb30 fs/kernfs/file.c:933
4 locks held by udevd/5551:
#0:
ffff888123e92e80 (
&p->lock
){+.+.}-{4:4}
, at: seq_read_iter+0xe1/0x12d0 fs/seq_file.c:182
#1: ffff888132f9d888
(
&of->mutex#2
){+.+.}-{4:4}
, at: kernfs_seq_start+0x4f/0x2a0 fs/kernfs/file.c:172
#2:
ffff888123e4b788 (
kn->active
#9
){++++}-{0:0}
, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
, at: kernfs_seq_start+0xbc/0x2a0 fs/kernfs/file.c:173
#3:
ffff888116cde198 (
&dev->mutex
){....}-{4:4}
, at: device_lock_interruptible include/linux/device.h:919 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
6 locks held by kworker/1:7/5696:
#0:
ffff888106aaf948
((wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238
#1: ffffc90012f97d10
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239
#2:
ffff88810b3f2198 (
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: hub_event+0x1be/0x5060 drivers/usb/core/hub.c:5899
#3:
ffff888134be4198
(
&dev->mutex){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
#4:
ffff8881150ab160 (
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
#5: ffff888100ac5988
(
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1712
5 locks held by kworker/0:6/5745:
#0: ffff888106aaf948
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238
#1:
ffffc9001313fd10
((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239
#2:
ffff88810b70a198 (
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: hub_event+0x1be/0x5060 drivers/usb/core/hub.c:5899
#3:
ffff888116cde198
(
&dev->mutex){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
#4:
ffff88811c4aa160 (
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:914 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
2 locks held by kworker/u8:0/8295:
#0:
ffff888100089148
((wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238
#1:
ffffc9001290fd10
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239
6 locks held by kworker/1:6/8974:
1 lock held by modprobe/11125:
#0:
ffff888100ac5988
(&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180
1 lock held by syz.3.1542/11130:
1 lock held by syz-executor/11131:
1 lock held by syz-executor/11134:
1 lock held by syz-executor/11135:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
watchdog+0xf3f/0x1170 kernel/hung_task.c:495
kthread+0x3c5/0x780 kernel/kthread.c:463
ret_from_fork+0x56d/0x700 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:
yealink 2-1:36.0: urb_ctl_callback - urb status -71
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 2846 Comm: klogd Not tainted syzkaller #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:407
Code: 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 1c 66 03 5d 40 44 89 e8 89 da ee <5b> 5d 41 5c 41 5d e9 96 7c 69 04 e8 d1 ec 00 ff eb a0 e8 5a ed 00
RSP: 0018:ffffc900001a84f0 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 00000000000003f9 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: ffffffff82ddb055 RDI: ffffffff93bd9600
RBP: ffffffff93bd95c0 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff93bd95c0 R15: ffffffff93bd9880
FS: 00007f82341b8c80(0000) GS:ffff888268fa3000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2f0c06 CR3: 0000000116c28000 CR4: 00000000003506f0
Call Trace:
serial_out drivers/tty/serial/8250/8250.h:142 [inline]
serial8250_clear_IER+0x9e/0xc0 drivers/tty/serial/8250/8250_port.c:714
serial8250_console_write+0x255/0x1890 drivers/tty/serial/8250/8250_port.c:3307
console_emit_next_record kernel/printk/printk.c:3111 [inline]
console_flush_all+0x801/0xc60 kernel/printk/printk.c:3199
__console_flush_and_unlock kernel/printk/printk.c:3258 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3298
vprintk_emit+0x3d7/0x680 kernel/printk/printk.c:2423
dev_vprintk_emit drivers/base/core.c:4914 [inline]
dev_printk_emit+0xfa/0x140 drivers/base/core.c:4925
__dev_printk+0xf5/0x270 drivers/base/core.c:4937
_dev_err+0xe4/0x120 drivers/base/core.c:4980
urb_ctl_callback+0x1eb/0x2f0 drivers/input/misc/yealink.c:456
__usb_hcd_giveback_urb+0x38b/0x610 drivers/usb/core/hcd.c:1661
usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1745
dummy_timer+0x1809/0x3a00 drivers/usb/gadget/udc/dummy_hcd.c:1995
__run_hrtimer kernel/time/hrtimer.c:1777 [inline]
__hrtimer_run_queues+0x202/0xad0 kernel/time/hrtimer.c:1841
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1858
handle_softirqs+0x208/0x8d0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0xfa/0x160 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1052
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:80 [inline]
RIP: 0010:__orc_find+0x70/0xf0 arch/x86/kernel/unwind_orc.c:102
Code: ec 72 4e 4c 89 e2 48 29 ea 48 89 d6 48 c1 ea 3f 48 c1 fe 02 48 01 f2 48 d1 fa 48 8d 5c 95 00 48 89 da 48 c1 ea 03 0f b6 34 0a <48> 89 da 83 e2 07 83 c2 03 40 38 f2 7c 05 40 84 f6 75 4b 48 63 13
RSP: 0018:ffffc900016674b8 EFLAGS: 00000a03
RAX: ffffffff8b08b064 RBX: ffffffff8ab1b65c RCX: dffffc0000000000
RDX: 1ffffffff15636cb RSI: 0000000000000000 RDI: ffffffff8ab1b654
RBP: ffffffff8ab1b654 R08: ffffffff8b08b082 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000000d67a R12: ffffffff8ab1b664
R13: ffffffff81d67a79 R14: ffffffff8ab1b654 R15: ffffffff8ab1b654
orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
unwind_next_frame+0x2ec/0x20a0 arch/x86/kernel/unwind_orc.c:494
arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:56
kasan_save_track+0x14/0x30 mm/kasan/common.c:77
unpoison_slab_object mm/kasan/common.c:342 [inline]
__kasan_slab_alloc+0x6e/0x70 mm/kasan/common.c:368
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4955 [inline]
slab_alloc_node mm/slub.c:5265 [inline]
kmem_cache_alloc_node_noprof+0x26a/0x6e0 mm/slub.c:5317
__alloc_skb+0x2b2/0x380 net/core/skbuff.c:660
alloc_skb include/linux/skbuff.h:1383 [inline]
alloc_skb_with_frags+0xe0/0x860 net/core/skbuff.c:6671
sock_alloc_send_pskb+0x7f9/0x980 net/core/sock.c:2965
unix_dgram_sendmsg+0x3e9/0x17f0 net/unix/af_unix.c:2153
sock_sendmsg_nosec net/socket.c:727 [inline]
__sock_sendmsg net/socket.c:742 [inline]
__sys_sendto+0x4a3/0x520 net/socket.c:2244
__do_sys_sendto net/socket.c:2251 [inline]
__se_sys_sendto net/socket.c:2247 [inline]
__x64_sys_sendto+0xe0/0x1c0 net/socket.c:2247
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4d0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8234308407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffcbff5a370 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f82341b8c80 RCX: 00007f8234308407
RDX: 000000000000003f RSI: 00007ffcbff5a4b0 RDI: 0000000000000003
RBP: 00007ffcbff5a8e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffcbff5a8f8
R13: 00007ffcbff5a4b0 R14: 0000000000000024 R15: 00007ffcbff5a4b0