INFO: task udevd:2402 blocked for more than 143 seconds.
Not tainted 6.10.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D
stack:26368 pid:2402 tgid:2402 ppid:1 flags:0x00000002
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
user_path_at_empty+0x42/0x60 fs/namei.c:2929
do_readlinkat+0xdd/0x310 fs/stat.c:499
__do_sys_readlink fs/stat.c:532 [inline]
__se_sys_readlink fs/stat.c:529 [inline]
__x64_sys_readlink+0x78/0xc0 fs/stat.c:529
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:0x7ff6c9ec4d47
RSP: 002b:00007ffcae46ba38 EFLAGS: 00000246
ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 00007ffcae46ba48 RCX: 00007ff6c9ec4d47
RDX: 0000000000000400 RSI: 00007ffcae46ba48 RDI: 00007ffcae46bf28
RBP: 0000000000000400 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcae46bf28
R13: 00007ffcae46be98 R14: 000055a99a6d4910 R15: 0000000000000000
INFO: task syz-executor.1:4817 blocked for more than 143 seconds.
Not tainted 6.10.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D
stack:27792 pid:4817 tgid:4816 ppid:2524 flags:0x00004006
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_write_slowpath kernel/locking/rwsem.c:1178 [inline]
__down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306
kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
sysfs_remove_file include/linux/sysfs.h:764 [inline]
driver_remove_file drivers/base/driver.c:198 [inline]
driver_remove_file+0x4a/0x60 drivers/base/driver.c:194
remove_bind_files drivers/base/bus.c:600 [inline]
bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:738
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1733
raw_release+0x1a9/0x2f0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x408/0xbb0 fs/file_table.c:422
task_work_run+0x14e/0x250 kernel/task_work.c:180
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa9b/0x2b20 kernel/exit.c:874
do_group_exit+0xd3/0x2a0 kernel/exit.c:1023
get_signal+0x2618/0x2710 kernel/signal.c:2909
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x141/0x250 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1bca11ec4b
RSP: 002b:00007f1bc9496fa0 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007f1bca11ec4b
RDX: 00007f1bc9498070 RSI: 0000000080085502 RDI: 0000000000000003
RBP: 00007f1bc9498070 R08: 0000000000000010 R09: 00312e6364755f79
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502
R13: 0000000800000000 R14: 0000000020000000 R15: 00007f1bca1738b9
Showing all locks held in the system:
3 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
3 locks held by kworker/1:1/36:
3 locks held by kworker/1:2/48:
2 locks held by kworker/u8:6/268:
2 locks held by kworker/u8:8/1155:
2 locks held by getty/2460:
#0:
ffff8881138f90a0
(&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.1/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.4/2525:
#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/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.0/2531:
#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/2533:
#0:
ffff888100aae948
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
4 locks held by udevd/4790:
#0:
ffff88810df91c30
(&p->lock
){+.+.}-{3:3}
, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1:
ffff8881380f4888
(
&of->mutex
#2
){+.+.}-{3:3}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2:
ffff88811b171f08
(
kn->active
#27
){.+.+}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff888112db8190
(
&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
7 locks held by kworker/0:3/4797:
6 locks held by kworker/0:4/4802:
4 locks held by udevd/4806:
#0:
ffff88810ff461c8
(
&p->lock
){+.+.}-{3:3}
, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1:
ffff88811951e488
(
&of->mutex
#2){+.+.}-{3:3}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2:
ffff88811a4caf08
(
kn->active
#27
){.+.+}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff888111e5c190
(&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 udevd/4813:
#0:
ffff888100aae948
(
&root->kernfs_rwsem){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
1 lock held by syz-executor.0/4820:
#0: ffffffff886bfdb8
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291
7 locks held by kworker/0:6/4824:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-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 4-1:36.0: urb_irq_callback - urb status -71
NMI backtrace for cpu 0
CPU: 0 PID: 4824 Comm: kworker/0:6 Not tainted 6.10.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: events_power_efficient gc_worker
RIP: 0010:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:413
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 c3 cc cc cc cc e8 51 05 0b ff eb a0 e8 da 05 0b
RSP: 0018:ffffc90000007580 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 00000000000003f9 RCX: 0000000000000000
RDX: 00000000000003f9 RSI: ffffffff829a9955 RDI: ffffffff8d71fc60
RBP: ffffffff8d71fc20 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000006 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8d71fc70 R15: 000000000000004b
FS: 0000000000000000(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff6ca313a08 CR3: 0000000115f84000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_out drivers/tty/serial/8250/8250.h:122 [inline]
serial8250_clear_IER+0x9b/0xc0 drivers/tty/serial/8250/8250_port.c:699
serial8250_console_write+0x193/0x1090 drivers/tty/serial/8250/8250_port.c:3358
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:__seqprop_spinlock_sequence include/linux/seqlock.h:227 [inline]
RIP: 0010:nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:345 [inline]
RIP: 0010:gc_worker+0x2e1/0x1770 net/netfilter/nf_conntrack_core.c:1488
Code: 00 00 48 c7 c7 48 22 be 89 e8 db 40 82 fb 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 49 19 a4 fb 48 85 db 58 0f 85 3d 10 00 00 0a 1e a4 fb eb 07 e8 03 1e a4 fb f3 90 44 8b 35 ea fc 0e 04 31
RSP: 0018:ffffc9000b2f7bc8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff85af3111
RDX: ffff888115d43a00 RSI: ffffffff85af3120 RDI: 0000000000000007
RBP: ffff888111000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000001136
R13: dffffc0000000000 R14: 000000000000226b R15: 0000000000040000
process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393
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