INFO: task udevd:2400 blocked for more than 143 seconds.
Not tainted 6.10.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D
stack:25280 pid:2400 tgid:2400 ppid:1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xca6/0x3170 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
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_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
d_revalidate fs/namei.c:861 [inline]
d_revalidate fs/namei.c:858 [inline]
lookup_fast+0x239/0x540 fs/namei.c:1653
walk_component+0x5b/0x5b0 fs/namei.c:2000
link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331
link_path_walk fs/namei.c:2255 [inline]
path_lookupat+0x93/0x770 fs/namei.c:2492
filename_lookup+0x1e5/0x5b0 fs/namei.c:2522
vfs_statx+0x13e/0x550 fs/stat.c:244
vfs_fstatat+0xb3/0x150 fs/stat.c:304
__do_sys_newfstatat+0xa6/0x130 fs/stat.c:468
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd7947075f4
RSP: 002b:00007ffd0f3193b8 EFLAGS: 00000246
ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 0000564466acc2e0 RCX: 00007fd7947075f4
RDX: 00007ffd0f3193c8 RSI: 00007ffd0f319858 RDI: 00000000ffffff9c
RBP: 00007ffd0f319458 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd0f319858
R13: 00007ffd0f3193c8 R14: 0000564466aa5910 R15: 0000000000000000
Showing all locks held in the system:
6 locks held by kworker/0:1/9:
1 lock held by khungtaskd/30:
#0:
ffffffff886b4620
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
5 locks held by kworker/0:2/48:
5 locks held by udevd/2400:
2 locks held by getty/2458:
#0:
ffff88810e7490a0
(&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:2201
1 lock held by syz-executor.4/2522:
#0:
ffffffff886bfdb8
(rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291
1 lock held by syz-executor.1/2523:
#0: ffff888100aae948
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
1 lock held by syz-executor.3/2524:
#0: ffff888100aae948
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
1 lock held by syz-executor.0/2528:
#0:
ffff888100aae948 (
&root->kernfs_rwsem){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
1 lock held by syz-executor.2/2530:
#0: ffff888100aae948
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
3 locks held by kworker/1:3/4805:
4 locks held by kworker/0:5/4819:
#0: ffff8881052b0d48
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1:
ffffc90003fefd80
((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2:
ffff888109ff6190 (
&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:
ffff888100aae948
(
&root->kernfs_rwsem){++++}-{3:3}
, at: kernfs_activate fs/kernfs/dir.c:1403 [inline]
, at: kernfs_add_one+0x39d/0x520 fs/kernfs/dir.c:819
3 locks held by kworker/1:5/4955:
1 lock held by udevd/5278:
#0:
ffff888100aae948
(
&root->kernfs_rwsem){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
4 locks held by udevd/5280:
#0: ffff888135ef2790
(&p->lock
){+.+.}-{3:3}
, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1: ffff88810cfee888
(
&of->mutex
){+.+.}-{3:3}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2:
ffff888135bec008
(kn->active
#25
){.+.+}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3: ffff8881046e5190
(
&dev->mutex
){....}-{3:3}
, at: device_lock_interruptible include/linux/device.h:1014 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
1 lock held by syz-executor.3/6111:
#0: ffffffff886bfdb8
(rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
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+0xf86/0x1240 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 1 to CPUs 0:
yealink 5-1:36.0: urb_irq_callback - urb status -71
NMI backtrace for cpu 0
CPU: 0 PID: 2400 Comm: udevd Not tainted 6.10.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:io_serial_in+0x87/0xb0 drivers/tty/serial/8250/8250_port.c:407
Code: a8 b8 fe 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 1a 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 cc cc cc cc e8 98 02 0b ff eb a2 e8 21 03
RSP: 0018:ffffc900000075a8 EFLAGS: 00000006
RAX: dffffc0000000005 RBX: 00000000000003f9 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: ffffffff829a9a90 RDI: ffffffff8d71fc60
RBP: ffffffff8d71fc20 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000000
R13: ffffffff8d71fc20 R14: ffffffff8d71fc70 R15: 000000000000004b
FS: 00007fd7945dcc80(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3122f000 CR3: 0000000116c54000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_port_in include/linux/serial_core.h:674 [inline]
serial8250_console_write+0x17d/0x1090 drivers/tty/serial/8250/8250_port.c:3357
console_emit_next_record kernel/printk/printk.c:2928 [inline]
console_flush_all+0x53c/0xd70 kernel/printk/printk.c:2994
console_unlock+0xae/0x290 kernel/printk/printk.c:3063
vprintk_emit kernel/printk/printk.c:2345 [inline]
vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2300
dev_vprintk_emit drivers/base/core.c:4951 [inline]
dev_printk_emit+0xfb/0x140 drivers/base/core.c:4962
__dev_printk+0xf5/0x270 drivers/base/core.c:4974
_dev_err+0xe5/0x120 drivers/base/core.c:5017
urb_irq_callback+0x454/0x700 drivers/input/misc/yealink.c:416
__usb_hcd_giveback_urb+0x364/0x5c0 drivers/usb/core/hcd.c:1648
usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1732
dummy_timer+0x17f6/0x3900 drivers/usb/gadget/udc/dummy_hcd.c:1987
__run_hrtimer kernel/time/hrtimer.c:1687 [inline]
__hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1751
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1813
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x8b/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200
Code: be b0 01 00 00 e8 a0 ff ff ff 31 c0 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 48 8b 15 64 82 b0 7e 65 8b 05 65 82 b0 7e a9 00 01
RSP: 0018:ffffc9000166f5b0 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc9000166f638 RCX: ffffc9000166f66c
RDX: ffff888117648000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000166fa30
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001
deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline]
unwind_next_frame+0x1bb2/0x23a0 arch/x86/kernel/unwind_orc.c:648
arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:370 [inline]
__kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:387
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slub.c:4121 [inline]
__kmalloc_noprof+0x1e7/0x3d0 mm/slub.c:4134
kmalloc_noprof include/linux/slab.h:664 [inline]
kzalloc_noprof include/linux/slab.h:778 [inline]
tomoyo_encode2+0x100/0x3e0 security/tomoyo/realpath.c:45
tomoyo_encode+0x29/0x50 security/tomoyo/realpath.c:80
tomoyo_realpath_from_path+0x19d/0x720 security/tomoyo/realpath.c:283
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x273/0x450 security/tomoyo/file.c:822
security_inode_getattr+0xf4/0x160 security/security.c:2269
vfs_getattr fs/stat.c:173 [inline]
vfs_fstat+0x53/0xd0 fs/stat.c:198
vfs_fstatat+0x134/0x150 fs/stat.c:300
__do_sys_newfstatat+0xa6/0x130 fs/stat.c:468
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd7947075f4
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:00007ffd0f319bb8 EFLAGS: 00000202 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 0000564466acc2e0 RCX: 00007fd7947075f4
RDX: 00007ffd0f319bd0 RSI: 00007fd7947a4130 RDI: 000000000000000d
RBP: 0000564466af1890 R08: 0000000000090800 R09: 0000564466aa58e0
R10: 0000000000001000 R11: 0000000000000202 R12: 00007ffd0f319bd0
R13: 00000000000000ff R14: 0000564462fc41c4 R15: 0000000000000000