syzbot
INFO: task hung in kernfs_find_and_get_ns (6)
Status: auto-obsoleted due to no activity on 2026/11/24 08:38
Subsystems:
kernfs
Labels:
prio:high
[Documentation on labels]
First crash: 90d, last: 90d
Sample crash report:
INFO: task kworker/0:1:11 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1 state:D
stack:22344 pid:11 tgid:11 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: usb_hub_wq hub_event
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5510 [inline]
__schedule+0x1325/0x47d0 kernel/sched/core.c:7234
__schedule_loop kernel/sched/core.c:7311 [inline]
schedule+0xdd/0x2c0 kernel/sched/core.c:7326
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383
rwsem_down_read_slowpath+0x5af/0xb40 kernel/locking/rwsem.c:1114
__down_read_common kernel/locking/rwsem.c:1291 [inline]
__down_read kernel/locking/rwsem.c:1304 [inline]
down_read+0xed/0x4c0 kernel/locking/rwsem.c:1576
kernfs_find_and_get_ns+0x2f/0x70 fs/kernfs/dir.c:968
kernfs_find_and_get include/linux/kernfs.h:623 [inline]
sysfs_merge_group+0xcb/0x340 fs/sysfs/group.c:375
add_power_attributes drivers/usb/core/sysfs.c:657 [inline]
usb_create_sysfs_dev_files+0xe8/0x390 drivers/usb/core/sysfs.c:1083
usb_bus_notify drivers/usb/core/usb.c:1178 [inline]
usb_bus_notify+0xd4/0x110 drivers/usb/core/usb.c:1170
notifier_call_chain+0x99/0x3f0 kernel/notifier.c:85
blocking_notifier_call_chain kernel/notifier.c:380 [inline]
blocking_notifier_call_chain+0x69/0xa0 kernel/notifier.c:368
bus_notify+0x56/0x80 drivers/base/bus.c:1086
device_add+0x1169/0x1970 drivers/base/core.c:3737
usb_new_device.part.0+0xcc2/0x1686 drivers/usb/core/hub.c:2708
usb_new_device drivers/usb/core/hub.c:5833 [inline]
hub_port_connect drivers/usb/core/hub.c:5580 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5720 [inline]
port_event drivers/usb/core/hub.c:5884 [inline]
hub_event.cold+0x51a/0xe9d drivers/usb/core/hub.c:5966
process_one_work+0xa23/0x1940 kernel/workqueue.c:3322
process_scheduled_works kernel/workqueue.c:3405 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486
kthread+0x370/0x450 kernel/kthread.c:436
ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
INFO: task jbd2/sda1-8:2821 blocked in I/O wait for more than 171 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:jbd2/sda1-8 state:D
stack:26344 pid:2821 tgid:2821 ppid:2 task_flags:0x240040 flags:0x00080000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5510 [inline]
__schedule+0x1325/0x47d0 kernel/sched/core.c:7234
__schedule_loop kernel/sched/core.c:7311 [inline]
schedule+0xdd/0x2c0 kernel/sched/core.c:7326
io_schedule+0x8a/0xf0 kernel/sched/core.c:8154
bit_wait_io+0xd/0xe0 kernel/sched/wait_bit.c:250
__wait_on_bit+0x65/0x180 kernel/sched/wait_bit.c:52
out_of_line_wait_on_bit+0xdc/0x110 kernel/sched/wait_bit.c:67
wait_on_bit_io include/linux/wait_bit.h:105 [inline]
__wait_on_buffer+0x64/0x70 fs/buffer.c:118
wait_on_buffer include/linux/buffer_head.h:422 [inline]
journal_wait_on_commit_record fs/jbd2/commit.c:170 [inline]
jbd2_journal_commit_transaction+0x4837/0x6700 fs/jbd2/commit.c:907
kjournald2+0x200/0x760 fs/jbd2/journal.c:199
kthread+0x370/0x450 kernel/kthread.c:436
ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Showing all locks held in the system:
5 locks held by kworker/0:1/11:
5 locks held by kworker/1:0/23:
1 lock held by khungtaskd/29:
#0: ffffffff896e2bc0
(
rcu_read_lock
){....}-{1:3}
, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:840 [inline]
, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775
8 locks held by kworker/1:1/62:
5 locks held by kworker/1:2/707:
1 lock held by udevd/2859:
2 locks held by getty/2921:
#0: ffff8881152f30a0
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1:
ffffc900000452e8
(&ldata->atomic_read_lock){+.+.}-{4:4}
, at: n_tty_read+0x419/0x14e0 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/2970:
#0:
ffffffff896ee668
(
rcu_state.exp_mutex
){+.+.}-{4:4}
, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343
1 lock held by syz-executor/2972:
#0: ffffffff896ee668
(rcu_state.exp_mutex
){+.+.}-{4:4}
, at: exp_funnel_lock+0x27f/0x3c0 kernel/rcu/tree_exp.h:311
1 lock held by syz-executor/2973:
4 locks held by udevd/5228:
#0:
ffff888119ec4bd8
(&p->lock
){+.+.}-{4:4}
, at: seq_read_iter+0xe1/0x1270 fs/seq_file.c:183
#1:
ffff88811a509080
(
&of->mutex){+.+.}-{4:4}
, at: kernfs_seq_start+0x4f/0x2a0 fs/kernfs/file.c:165
#2:
ffff888119307f08
(
kn->active
#25
){.+.+}-{0:0}
, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
, at: kernfs_seq_start+0xbc/0x2a0 fs/kernfs/file.c:166
#3:
ffff88811a1661d8 (
&dev->mutex
){....}-{4:4}
, at: device_lock_interruptible include/linux/device.h:1109 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
5 locks held by kworker/0:4/5230:
#0:
ffff8881052be540
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
#1: ffffc9000353fd18
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
#2:
ffff88810ab351d8
(&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:1104 [inline]
, at: hub_event+0x1bb/0x4510 drivers/usb/core/hub.c:5912
#3:
ffff888100affaa0
(
&root->kernfs_supers_rwsem
){++++}-{4:4}
, at: kernfs_remove_by_name_ns+0x49/0x120 fs/kernfs/dir.c:1791
#4: ffff888100aff980
(
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_remove_by_name_ns+0x51/0x120 fs/kernfs/dir.c:1792
4 locks held by kworker/1:3/5238:
#0:
ffff8881052be540 (
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297
#1:
ffffc9000249fd18
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298
#2:
ffff88810b79d1d8
(
&dev->mutex
){....}-{4:4}
, at: device_lock include/linux/device.h:1104 [inline]
, at: hub_event+0x1bb/0x4510 drivers/usb/core/hub.c:5912
#3:
ffff888100aff980
(&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_add_one+0x38/0xaa0 fs/kernfs/dir.c:825
2 locks held by syz.1.29/5308:
#0:
ffff888101764e00
(
&dev->mutex){....}-{4:4}
, at: device_lock include/linux/device.h:1104 [inline]
, at: __device_driver_lock drivers/base/dd.c:1171 [inline]
, at: __driver_attach+0x214/0x5b0 drivers/base/dd.c:1291
#1: ffffffff8a4a4bc0
(
udc_lock
){+.+.}-{4:4}
, at: gadget_bind_driver+0x7c/0xbf0 drivers/usb/gadget/udc/core.c:1649
2 locks held by syz.4.33/5316:
#0:
ffff888100affaa0
(
&root->kernfs_supers_rwsem
){++++}-{4:4}
, at: kernfs_remove_by_name_ns+0x49/0x120 fs/kernfs/dir.c:1791
#1:
ffff888100aff980
(
&root->kernfs_rwsem){++++}-{4:4}
, at: kernfs_remove_by_name_ns+0x51/0x120 fs/kernfs/dir.c:1792
2 locks held by syz.0.30/5311:
2 locks held by syz.2.32/5317:
1 lock held by syz-executor/5319:
#0:
ffff888100aff980
(&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1217
1 lock held by syz-executor/5320:
#0:
ffff888100aff980
(&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1217
1 lock held by syz-executor/5321:
#0:
ffff888100aff980
(
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1217
1 lock held by syz-executor/5322:
#0:
ffff888100aff980 (
&root->kernfs_rwsem
){++++}-{4:4}
, at: kernfs_dop_revalidate+0xa5/0x7e0 fs/kernfs/dir.c:1217
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(lazy)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
<TASK>
__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:122
nmi_trigger_cpumask_backtrace+0x21c/0x2a0 lib/nmi_backtrace.c:65
trigger_all_cpu_backtrace include/linux/nmi.h:162 [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:353 [inline]
watchdog+0xcb1/0x1030 kernel/hung_task.c:561
kthread+0x370/0x450 kernel/kthread.c:436
ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Sending NMI from CPU 0 to CPUs 1:
yealink 5-1:36.0: urb_ctl_callback - urb status -71
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 62 Comm: kworker/1:1 Not tainted syzkaller #0 PREEMPT(lazy)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_power_efficient gc_worker
RIP: 0010:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:408
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 d1 c9 f0 fe eb a0 e8 5a ca f0
RSP: 0018:ffffc900001a84b8 EFLAGS: 00000002
RAX: 000000000000005b RBX: 00000000000003f8 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: ffffffff832bb805 RDI: ffffffff9424d0e0
RBP: ffffffff9424d0a0 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000000005b R14: ffffffff9408d8a0 R15: ffffffff832bb7a0
FS: 0000000000000000(0000) GS:ffff888268733000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcdcbc05ff8 CR3: 00000000094ac000 CR4: 00000000003506f0
Call Trace:
<IRQ>
serial_port_out include/linux/serial_core.h:813 [inline]
serial8250_console_putchar drivers/tty/serial/8250/8250_port.c:3245 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3307 [inline]
serial8250_console_write+0xe2c/0x1a50 drivers/tty/serial/8250/8250_port.c:3385
console_emit_next_record kernel/printk/printk.c:3183 [inline]
console_flush_one_record+0x790/0xe50 kernel/printk/printk.c:3269
console_flush_all kernel/printk/printk.c:3343 [inline]
__console_flush_and_unlock kernel/printk/printk.c:3373 [inline]
console_unlock+0x103/0x260 kernel/printk/printk.c:3413
vprintk_emit+0x407/0x6b0 kernel/printk/printk.c:2479
dev_vprintk_emit+0x391/0x3e0 drivers/base/core.c:4996
dev_printk_emit+0xd2/0x10d drivers/base/core.c:5007
__dev_printk+0xcb/0x100 drivers/base/core.c:5019
_dev_err+0xef/0x127 drivers/base/core.c:5062
urb_ctl_callback.cold+0x41/0x8c drivers/input/misc/yealink.c:447
__usb_hcd_giveback_urb+0x38d/0x610 drivers/usb/core/hcd.c:1657
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741
dummy_timer+0xdb2/0x36f0 drivers/usb/gadget/udc/dummy_hcd.c:2019
__run_hrtimer kernel/time/hrtimer.c:2032 [inline]
__hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2096
hrtimer_run_softirq+0x17d/0x2c0 kernel/time/hrtimer.c:2113
handle_softirqs+0x1dd/0x990 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x160/0x210 kernel/softirq.c:735
irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0x8f/0xb0 arch/x86/kernel/apic/apic.c:1062
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:lock_is_held_type+0xf5/0x140 kernel/locking/lockdep.c:5945
Code: ff ff ff ff 65 0f c1 15 99 88 82 05 83 fa 01 8b 44 24 04 75 2d 9c 5a 80 e6 02 75 47 41 f7 c5 00 02 00 00 74 01 fb 48 83 c4 08 <5b> 5d 41 5c 41 5d 41 5e 41 5f e9 3c ee 02 00 c3 cc cc cc cc 31 c0
RSP: 0018:ffffc900005d7aa8 EFLAGS: 00000282
RAX: 0000000000000000 RBX: ffffffff896e2b00 RCX: 0000000000000001
RDX: 0000000000000046 RSI: ffffffff890d2f0f RDI: ffffffff87b15700
RBP: ffff88810bafbc00 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 00000000ffffffff
R13: 0000000000000246 R14: ffff88810bafc7a8 R15: 0000000000000002
lock_is_held include/linux/lockdep.h:249 [inline]
__might_resched+0x29f/0x330 kernel/sched/core.c:9159
gc_worker+0xc77/0x1a30 net/netfilter/nf_conntrack_core.c:1610
process_one_work+0xa23/0x1940 kernel/workqueue.c:3322
process_scheduled_works kernel/workqueue.c:3405 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486
kthread+0x370/0x450 kernel/kthread.c:436
ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
* Struck through repros no longer work on HEAD.