INFO: task udevd:10096 blocked for more than 143 seconds.
Not tainted 6.12.0-rc7-syzkaller-00125-gcfaaa7d010d1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:21504 pid:10096 tgid:10096 ppid:5210 flags:0x00000002
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x184f/0x4c30 kernel/sched/core.c:6693
__schedule_loop kernel/sched/core.c:6770 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6785
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752
device_lock include/linux/device.h:1014 [inline]
uevent_show+0x17d/0x340 drivers/base/core.c:2736
dev_attr_show+0x57/0xc0 drivers/base/core.c:2430
sysfs_kf_seq_show+0x333/0x4c0 fs/sysfs/file.c:59
seq_read_iter+0x441/0xd70 fs/seq_file.c:230
new_sync_read fs/read_write.c:488 [inline]
vfs_read+0x993/0xb70 fs/read_write.c:569
ksys_read+0x183/0x2b0 fs/read_write.c:712
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7597f16b6a
RSP: 002b:00007ffed92bfc08 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 000055df46bd2470 RCX: 00007f7597f16b6a
RDX: 0000000000001000 RSI: 000055df46c05c10 RDI: 0000000000000008
RBP: 000055df46bd2470 R08: 0000000000000008 R09: 0000000000000008
R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000003fff R14: 00007ffed92c00e8 R15: 000000000000000a
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by getty/5596:
#0: ffff88814d1ab0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032532f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
4 locks held by udevd/10096:
#0: ffff8880325989e0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb4/0xd70 fs/seq_file.c:182
#1: ffff8880331f8c88 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154
#2: ffff88807e999008 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155
#3: ffff888033b00190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#3: ffff888033b00190 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2736
2 locks held by kworker/u8:18/12772:
1 lock held by syz-executor/13233:
#0: ffff88801bae6948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_find_and_get_ns+0x71/0x110 fs/kernfs/dir.c:918
6 locks held by kworker/1:0/14557:
#0: ffff888141294d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff888141294d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc900045a7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900045a7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffff888027e69190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#2: ffff888027e69190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849
#3: ffff888033b00190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#3: ffff888033b00190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1005
#4: ffff888033597160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#4: ffff888033597160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1005
#5: ffffffff8e7e0fb0 (umhelper_sem){++++}-{3:3}, at: usermodehelper_read_trylock+0x140/0x300 kernel/umh.c:215
2 locks held by syz-executor/14784:
#0: ffff88802526b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x17e/0x700 block/bdev.c:1087
#1: ffff88801bae6948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_find_and_get_ns+0x71/0x110 fs/kernfs/dir.c:918
1 lock held by syz.2.2155/16466:
2 locks held by syz.8.2157/16468:
#0: ffff888044ecc0e0 (&type->s_umount_key#64/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffff88801bae6948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_activate fs/kernfs/dir.c:1403 [inline]
#1: ffff88801bae6948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_add_one+0x4af/0x8b0 fs/kernfs/dir.c:819
1 lock held by udevadm/16481:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc7-syzkaller-00125-gcfaaa7d010d1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5902 Comm: kworker/1:5 Not tainted 6.12.0-rc7-syzkaller-00125-gcfaaa7d010d1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker
RIP: 0010:usage_skip kernel/locking/lockdep.c:2284 [inline]
RIP: 0010:__bfs kernel/locking/lockdep.c:1796 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1856 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2827 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3165 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3280 [inline]
RIP: 0010:validate_chain+0x1e85/0x5920 kernel/locking/lockdep.c:3904
Code: 08 4c 89 f7 e8 cc 98 8d 00 4d 8b 3e 49 8d 9f c6 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 6a 02 00 00 0f b6 03 <83> f8 01 0f 85 92 fd ff ff 48 8b 44 24 58 42 0f b6 04 20 84 c0 0f
RSP: 0018:ffffc90003e96ac0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff93c8dce6 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc90003e96be0
RBP: ffffc90003e96dc0 R08: ffffffff942d080f R09: 1ffffffff285a101
R10: dffffc0000000000 R11: fffffbfff285a102 R12: dffffc0000000000
R13: ffffffff96cd0d58 R14: ffffffff96cd0d68 R15: ffffffff93c8dc20
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555f1c2608 CR3: 000000004b162000 CR4: 0000000000350ef0
Call Trace:
__lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
debug_object_activate+0x16d/0x510 lib/debugobjects.c:708
debug_timer_activate kernel/time/timer.c:836 [inline]
__mod_timer+0x89d/0xeb0 kernel/time/timer.c:1171
queue_delayed_work_on+0x1ca/0x390 kernel/workqueue.c:2552
queue_delayed_work include/linux/workqueue.h:677 [inline]
schedule_delayed_work include/linux/workqueue.h:817 [inline]
__debug_check_no_obj_freed lib/debugobjects.c:1012 [inline]
debug_check_no_obj_freed+0x14a/0x580 lib/debugobjects.c:1019
slab_free_hook mm/slub.c:2273 [inline]
slab_free mm/slub.c:4579 [inline]
kfree+0x11f/0x440 mm/slub.c:4727
free_slab_obj_exts mm/slub.c:2023 [inline]
unaccount_slab mm/slub.c:2551 [inline]
__free_slab+0xc9/0x240 mm/slub.c:2647
__slab_free+0x31b/0x3d0 mm/slub.c:4490
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:247 [inline]
slab_post_alloc_hook mm/slub.c:4085 [inline]
slab_alloc_node mm/slub.c:4134 [inline]
__kmalloc_cache_noprof+0x132/0x2c0 mm/slub.c:4290
kmalloc_noprof include/linux/slab.h:878 [inline]
kzalloc_noprof include/linux/slab.h:1014 [inline]
keypair_create drivers/net/wireguard/noise.c:100 [inline]
wg_noise_handshake_begin_session+0xc4/0xb80 drivers/net/wireguard/noise.c:827
wg_packet_send_handshake_response+0x120/0x2e0 drivers/net/wireguard/send.c:96
wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline]
wg_packet_handshake_receive_worker+0x5e6/0xf50 drivers/net/wireguard/receive.c:213
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244