INFO: task syz-executor:2952 blocked for more than 143 seconds.
Not tainted 6.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D
running task
stack:24520 pid:2952 tgid:2952 ppid:1 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x132a/0x3b10 kernel/sched/core.c:6785
__schedule_loop kernel/sched/core.c:6863 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:6878
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935
rwsem_down_read_slowpath+0x62f/0xb60 kernel/locking/rwsem.c:1084
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0xef/0x480 kernel/locking/rwsem.c:1526
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+0x263/0x610 fs/namei.c:1778
walk_component+0x5b/0x5b0 fs/namei.c:2134
link_path_walk+0x627/0xe20 fs/namei.c:2506
path_openat+0x1b0/0x2cb0 fs/namei.c:4042
do_filp_open+0x20b/0x470 fs/namei.c:4073
do_sys_openat2+0x11b/0x1d0 fs/open.c:1437
do_sys_open fs/open.c:1452 [inline]
__do_sys_openat fs/open.c:1468 [inline]
__se_sys_openat fs/open.c:1463 [inline]
__x64_sys_openat+0x174/0x210 fs/open.c:1463
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f25b4b4e221
RSP: 002b:00007fffc60536e0 EFLAGS: 00000287
ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000000002bd RCX: 00007f25b4b4e221
RDX: 0000000000090800 RSI: 00007f25b4bd0e59 RDI: 00000000ffffff9c
RBP: 00007fffc605378c R08: 000000000001c740 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000287 R12: 00000000000000ec
R13: 0000000000000000 R14: 0000000000093cec R15: 00007fffc60537e0
INFO: task syz.3.1155:9178 blocked for more than 144 seconds.
Not tainted 6.16.0-rc1-syzkaller #0
Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1155 state:D
stack:27688 pid:9178 tgid:9157 ppid:2961 task_flags:0x40044c flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5396 [inline]
__schedule+0x132a/0x3b10 kernel/sched/core.c:6785
__schedule_loop kernel/sched/core.c:6863 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:6878
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935
rwsem_down_write_slowpath+0x524/0x1310 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d6/0x200 kernel/locking/rwsem.c:1578
kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1712
sysfs_remove_file include/linux/sysfs.h:777 [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:605 [inline]
bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:743
driver_unregister+0x76/0xb0 drivers/base/driver.c:277
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732
raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x402/0xb70 fs/file_table.c:465
task_work_run+0x14d/0x240 kernel/task_work.c:227
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x864/0x2bd0 kernel/exit.c:955
do_group_exit+0xd3/0x2a0 kernel/exit.c:1104
get_signal+0x2673/0x26d0 kernel/signal.c:3034
arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop+0x7c/0xe0 kernel/entry/common.c:111
exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
do_syscall_64+0x3e9/0x4b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f57e3c7e52b
RSP: 002b:00007f57e22c3f60 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007f57e3c7e52b
RDX: 00007f57e22c4ff0 RSI: 0000000080085502 RDI: 0000000000000003
RBP: 00007f57e3d00b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f57e3ea6080 R15: 00007ffd34a9f908
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff890c7d80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff890c7d80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff890c7d80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6770
2 locks held by kworker/u8:4/54:
#0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1:
ffffc90000537d10
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
2 locks held by kworker/1:2/702:
5 locks held by klogd/2831:
2 locks held by getty/2907:
#0:
ffff888107f8f0a0
(
&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/2952:
1 lock held by syz-executor/2955:
1 lock held by syz-executor/2959:
1 lock held by syz-executor/2961:
5 locks held by kworker/0:3/5247:
#0:
ffff8881066eb948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900107b7d10 ((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2:
ffff88810afe3198
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863
#3: ffff88810afe6508 (
&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3220 [inline]
&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5432 [inline]
&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5835 [inline]
&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x29da/0x5030 drivers/usb/core/hub.c:5917
#4: ffff888109795f68 (
hcd->address0_mutex
){+.+.}-{4:4}
, at: hub_port_connect drivers/usb/core/hub.c:5433 [inline]
, at: hub_port_connect_change drivers/usb/core/hub.c:5675 [inline]
, at: port_event drivers/usb/core/hub.c:5835 [inline]
, at: hub_event+0x2a00/0x5030 drivers/usb/core/hub.c:5917
5 locks held by kworker/0:4/5251:
#0: ffff8881066eb948 (
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1:
ffffc90011007d10
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2:
ffff8881077bf198
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863
#3:
ffff8881148dc198
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1004
#4:
ffff888113635160
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1004
4 locks held by udevd/5252:
#0:
ffff888119c59790
(&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xe1/0x12c0 fs/seq_file.c:182
#1: ffff88813682f488 (&of->mutex
#2
){+.+.}-{4:4}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2: ffff8881120b8f08 (
kn->active
#18
){++++}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff8881148dc198
(
&dev->mutex
){....}-{4:4}
, at: device_lock_interruptible include/linux/device.h:889 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
5 locks held by kworker/1:5/5328:
#0:
ffff8881066eb948
((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900118a7d10 ((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2:
ffff88810b3d3198
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863
#3:
ffff888139bc8198
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1004
#4:
ffff888100ac4988
(
&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
6 locks held by kworker/1:6/5428:
#0:
ffff8881066eb948
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1:
ffffc90011b2fd10
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2:
ffff88810b387198
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863
#3: ffff8881132b0198
(
&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline]
&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1004
#4:
ffff888138d13160
(&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline]
(&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1004
#5: ffff888100ac4988 (&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1712
4 locks held by udevd/5445:
#0:
ffff888123d15e80
(
&p->lock){+.+.}-{4:4}
, at: seq_read_iter+0xe1/0x12c0 fs/seq_file.c:182
#1: ffff888111a51c88 (
&of->mutex
#2){+.+.}-{4:4}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2: ffff8881012fac38
(
kn->active
#18
){++++}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff8881132b0198
(
&dev->mutex
){....}-{4:4}
, at: device_lock_interruptible include/linux/device.h:889 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
1 lock held by udevd/6487:
#0:
ffff888100ac4988
(
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180
1 lock held by syz.4.1159/9189:
1 lock held by syz.4.1159/9203:
#0:
ffff88810aff4d78
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:884 [inline]
, at: __device_driver_lock drivers/base/dd.c:1094 [inline]
, at: __driver_attach+0x278/0x580 drivers/base/dd.c:1214
1 lock held by rm/9196:
#0:
ffff888100ac4988
(
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180
1 lock held by syz.0.1160/9200:
1 lock held by modprobe/9204:
#0:
ffff888100ac4988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1180
2 locks held by kworker/u8:0/9210:
#0: ffff888100089148 (
(wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1:
ffffc900146efd10
(
(work_completion)(&sub_info->work)
){+.+.}-{0:0}
, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
1 lock held by modprobe/9214:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.16.0-rc1-syzkaller #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xf70/0x12c0 kernel/hung_task.c:470
kthread+0x3c5/0x780 kernel/kthread.c:464
ret_from_fork+0x5b3/0x6c0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
imon 3-1:155.0: imon usb_rx_callback_intf0: status(-71): ignored
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.16.0-rc1-syzkaller #0 PREEMPT(voluntary)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:in_softirq_really kernel/kcov.c:171 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x23/0x70 kernel/kcov.c:217
Code: 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 34 24 65 48 8b 15 d8 e2 ed 0a 65 8b 05 e9 e2 ed 0a a9 00 01 ff 00 74 1d f6 c4 01 74 43 00 00 0f 00 75 3c a9 00 00 f0 00 75 35 8b 82 74 15 00 00 85 c0
RSP: 0000:ffffc9000017f338 EFLAGS: 00000002
RAX: 0000000080000102 RBX: 0000000000000000 RCX: ffffffff82d57e36
RDX: ffff888101ee3a00 RSI: ffffffff82d57e45 RDI: 0000000000000001
RBP: ffffffff93926040 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000036 R14: ffffffff93926040 R15: ffffffff82d57de0
FS: 0000000000000000(0000) GS:ffff888269265000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3660ae CR3: 000000011a28e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
io_serial_out+0x65/0xb0 drivers/tty/serial/8250/8250_port.c:414
serial_port_out include/linux/serial_core.h:798 [inline]
serial8250_console_putchar drivers/tty/serial/8250/8250_port.c:3306 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3378 [inline]
serial8250_console_write+0xfbf/0x1890 drivers/tty/serial/8250/8250_port.c:3456
console_emit_next_record kernel/printk/printk.c:3138 [inline]
console_flush_all+0x7fe/0xc60 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3325
vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450
dev_vprintk_emit drivers/base/core.c:4917 [inline]
dev_printk_emit+0xfa/0x140 drivers/base/core.c:4928
__dev_printk+0xf5/0x270 drivers/base/core.c:4940
_dev_warn+0xe4/0x120 drivers/base/core.c:4984
usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1768
__usb_hcd_giveback_urb+0x38d/0x6e0 drivers/usb/core/hcd.c:1650
usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1734
dummy_timer+0x180e/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1995
__run_hrtimer kernel/time/hrtimer.c:1761 [inline]
__hrtimer_run_queues+0x202/0xad0 kernel/time/hrtimer.c:1825
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842
handle_softirqs+0x205/0x8d0 kernel/softirq.c:579
run_ksoftirqd kernel/softirq.c:968 [inline]
run_ksoftirqd+0x3a/0x60 kernel/softirq.c:960
smpboot_thread_fn+0x3f7/0xae0 kernel/smpboot.c:164
kthread+0x3c5/0x780 kernel/kthread.c:464
ret_from_fork+0x5b3/0x6c0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245