INFO: task udevd:4478 blocked for more than 144 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:25008 pid: 4478 ppid: 3560 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11c3/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
__mutex_lock_common+0xdf5/0x2400 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
device_lock include/linux/device.h:814 [inline]
uevent_show+0x16c/0x320 drivers/base/core.c:2408
dev_attr_show+0x50/0xb0 drivers/base/core.c:2110
sysfs_kf_seq_show+0x316/0x4c0 fs/sysfs/file.c:61
seq_read_iter+0x460/0xc50 fs/seq_file.c:230
call_read_iter include/linux/fs.h:2175 [inline]
new_sync_read fs/read_write.c:404 [inline]
vfs_read+0x75e/0xd50 fs/read_write.c:485
ksys_read+0x153/0x260 fs/read_write.c:623
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd4bef25407
RSP: 002b:00007ffd5c3d6b60 EFLAGS: 00000202
ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fd4bee37880 RCX: 00007fd4bef25407
RDX: 0000000000001000 RSI: 000055d176641a00 RDI: 0000000000000008
RBP: 00007fd4bf06dff0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a
R13: 00007fd4bf06dea0 R14: 0000000000000000 R15: 000055d1766498a0
INFO: task syz.1.304:5605 blocked for more than 147 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.304 state:D
stack:27856 pid: 5605 ppid: 4190 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11c3/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
__mutex_lock_common+0xdf5/0x2400 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
device_lock include/linux/device.h:814 [inline]
usbdev_open+0x14e/0x7a0 drivers/usb/core/devio.c:1040
chrdev_open+0x585/0x5f0 fs/char_dev.c:414
do_dentry_open+0x7f7/0xf90 fs/open.c:826
do_open fs/namei.c:3659 [inline]
path_openat+0x2718/0x2fb0 fs/namei.c:3793
do_filp_open+0x1df/0x400 fs/namei.c:3820
do_sys_openat2+0x14b/0x500 fs/open.c:1255
do_sys_open fs/open.c:1271 [inline]
__do_sys_openat fs/open.c:1287 [inline]
__se_sys_openat fs/open.c:1282 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1282
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f299143338e
RSP: 002b:00007f298f69db28 EFLAGS: 00000246
ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f298f69e6c0 RCX: 00007f299143338e
RDX: 0000000000003501 RSI: 00007f298f69dc00 RDI: ffffffffffffff9c
RBP: 00007f298f69dc00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd
R13: 00007f29916ff130 R14: 00007f29916ff098 R15: 00007ffef0769ee8
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0:
ffffffff8d11f2a0
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3948:
#0:
ffff88802d36a098
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1:
ffffc900026562e8
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158
2 locks held by kworker/u4:5/4285:
3 locks held by kworker/u4:9/4404:
#0:
ffff8880b8e3a358
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested+0x25/0x130 kernel/sched/core.c:475
#1: ffff8880b8e27888 (&per_cpu_ptr(group->pcpu, cpu)->seq
){-.-.}-{0:0}
, at: psi_task_switch+0x517/0x810 kernel/sched/psi.c:891
#2: ffff88807b6a0688 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5319 [inline]
#2: ffff88807b6a0688 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_wiphy_work+0x31/0x260 net/wireless/core.c:420
4 locks held by udevd/4478:
#0: ffff88802c06ab08 (&p->lock){+.+.}-{3:3}
, at: seq_read_iter+0x9d/0xc50 fs/seq_file.c:182
#1: ffff8880613fc488 (&of->mutex){+.+.}-{3:3}
, at: kernfs_seq_start+0x55/0x3c0 fs/kernfs/file.c:112
#2: ffff888065fd3748 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x75/0x3c0 fs/kernfs/file.c:113
#3: ffff88807e0891a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:814 [inline]
#3: ffff88807e0891a8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x16c/0x320 drivers/base/core.c:2408
5 locks held by kworker/0:8/4882:
#0: ffff88801c7bd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc90003387d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2: ffff8880246fa220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:814 [inline]
#2: ffff8880246fa220 (&dev->mutex){....}-{3:3}, at: hub_event+0x178/0x5260 drivers/usb/core/hub.c:5837
#3: ffff888074b9c220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:814 [inline]
#3: ffff888074b9c220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x480 drivers/base/dd.c:974
#4: ffff88807e0891a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:814 [inline]
#4: ffff88807e0891a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x480 drivers/base/dd.c:974
2 locks held by kworker/0:9/4884:
#0: ffff888017872138 ((wq_completion)rcu_gp
){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc900033e7d00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
1 lock held by syz.1.304/5605:
#0: ffff8880246fa220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:814 [inline]
#0: ffff8880246fa220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x14e/0x7a0 drivers/usb/core/devio.c:1040
2 locks held by syz-executor/6039:
#0: ffff888020cb9d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf1/0x780 block/bdev.c:911
#1:
ffff888147c8a468
(
&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xb50 drivers/block/loop.c:1366
6 locks held by kworker/1:14/7772:
#0:
ffff88801c7bd538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc900039dfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2: ffff88802490a220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:814 [inline]
#2: ffff88802490a220 (&dev->mutex){....}-{3:3}, at: hub_event+0x178/0x5260 drivers/usb/core/hub.c:5837
#3: ffffffff8d250090 (kernfs_rwsem){++++}-{3:3}, at: kernfs_remove_by_name_ns+0x29/0x100 fs/kernfs/dir.c:1561
#4: ffff8880b8f3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x130 kernel/sched/core.c:475
#5: ffffffff8d131bc8 (tk_core.seq.seqcount){----}-{0:0}, at: timekeeping_get_delta kernel/time/timekeeping.c:254 [inline]
#5: ffffffff8d131bc8 (tk_core.seq.seqcount){----}-{0:0}, at: timekeeping_get_ns kernel/time/timekeeping.c:388 [inline]
#5: ffffffff8d131bc8 (tk_core.seq.seqcount){----}-{0:0}, at: ktime_get+0x7b/0x270 kernel/time/timekeeping.c:831
3 locks held by kworker/1:17/7778:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe1b/0xe60 kernel/hung_task.c:369
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7772 Comm: kworker/1:14 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:check_preemption_disabled+0x47/0x110 lib/smp_processor_id.c:55
Code: 36 76 65 8b 0d e2 c7 36 76 f7 c1 ff ff ff 7f 74 1f 65 48 8b 0c 25 28 00 00 00 48 3b 4c 24 08 0f 85 c4 00 00 00 48 83 c4 10 5b <41> 5e 41 5f 5d c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00
RSP: 0018:ffffc90000dd0e00 EFLAGS: 00000082
RAX: 0000000000000001 RBX: ffff888027cc0002 RCX: 24858fbdf7adc800
RDX: ffff888027cce3c8 RSI: ffffffff8a2a1960 RDI: ffffffff8a7a6b80
RBP: ffffc90000dd0f30 R08: ffffffff8ff45048 R09: ffffffff8ff45058
R10: ffffffff8ff45050 R11: ffffffff8ff45043 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff888027ccd940 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd034a37000 CR3: 00000000206cc000 CR4: 00000000003506e0
Call Trace:
lockdep_softirq_start kernel/softirq.c:513 [inline]
handle_softirqs+0x118/0x830 kernel/softirq.c:553
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_trylock_spinning+0x301/0x370 kernel/printk/printk.c:1909
Code: 85 db 74 89 e8 60 fc 18 00 fb 31 c0 eb 48 e8 56 fc 18 00 e8 21 3c 6b 08 48 85 db 74 d1 e8 47 fc 18 00 fb 48 c7 c7 a0 3d 11 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 68 2a 5b 60
RSP: 0018:ffffc900039df2e0 EFLAGS: 00000283
RAX: ffffffff81605b29 RBX: 0000000000000200 RCX: 0000000000100000
RDX: ffffc900143d9000 RSI: 00000000000de5a3 RDI: ffffffff8d113da0
RBP: ffffc900039df3b0 R08: ffffffff910500cf R09: 1ffffffff220a019
R10: dffffc0000000000 R11: fffffbfff220a01a R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 1ffff9200073be5c
vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273
_printk+0xda/0x130 kernel/printk/printk.c:2299
__dynamic_pr_debug+0x196/0x240 lib/dynamic_debug.c:619
__kernfs_remove+0xc96/0xcb0 fs/kernfs/dir.c:1345
kernfs_remove_by_name_ns+0x91/0x100 fs/kernfs/dir.c:1566
sysfs_remove_file include/linux/sysfs.h:613 [inline]
device_remove_file drivers/base/core.c:2798 [inline]
device_remove_attrs+0x70/0x140 drivers/base/core.c:2697
device_del+0x637/0xa80 drivers/base/core.c:3616
usb_disconnect+0x567/0x8a0 drivers/usb/core/hub.c:2323
hub_port_connect drivers/usb/core/hub.c:5351 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5647 [inline]
port_event drivers/usb/core/hub.c:5809 [inline]
hub_event+0x1d64/0x5260 drivers/usb/core/hub.c:5891
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
process_scheduled_works kernel/workqueue.c:2373 [inline]
worker_thread+0xd93/0x12a0 kernel/workqueue.c:2459
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287