INFO: task hung in do_uevent

Status: upstream: reported on 2026/08/04 22:04
Reported-by: syzbot+f7adf4cd0ff444911ad2@syzkaller.appspotmail.com
First crash: 5d21h, last: 5d17h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in do_uevent 1 2 5d18h 5d18h 0/3 upstream: reported on 2026/08/05 00:48
upstream INFO: task hung in do_uevent prio:high gfs2 1 syz, C 39 1d15h 3d19h 0/29 upstream: reported C repro on 2026/08/07 00:00
linux-6.1 INFO: task hung in do_uevent 1 5 5d17h 5d21h 0/3 upstream: reported on 2026/08/04 21:23

Sample crash report:
INFO: task syz.1.68:6272 blocked for more than 163 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.68        state:D stack:25768 pid:6272  ppid:5775   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6701
 schedule+0xbd/0x170 kernel/sched/core.c:6775
 do_uevent+0x1ed/0x490 fs/dlm/lockspace.c:210
 new_lockspace fs/dlm/lockspace.c:633 [inline]
 __dlm_new_lockspace+0x1dca/0x2360 fs/dlm/lockspace.c:693
 device_create_lockspace+0xc8/0x350 fs/dlm/user.c:430
 device_write+0x875/0xed0 fs/dlm/user.c:622
 vfs_write+0x299/0x9a0 fs/read_write.c:582
 ksys_write+0x151/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f41de79e019
RSP: 002b:00007f41df66c028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f41dea25fa0 RCX: 00007f41de79e019
RDX: 0000000000000078 RSI: 0000200000000400 RDI: 0000000000000007
RBP: 00007f41de83500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f41dea26038 R14: 00007f41dea25fa0 R15: 00007ffe9312a9e8
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u4:1/12:
 #0: ffff88801a25d138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff88801a25d138 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc90000117d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc90000117d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffffffff8e3ca0d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x14c/0xbb0 net/core/net_namespace.c:606
 #3: ffff8880b8e3c298 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
1 lock held by khungtaskd/29:
 #0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
1 lock held by dhcpcd/5435:
 #0: ffff888019e45948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_dop_revalidate+0xc8/0x570 fs/kernfs/dir.c:1159
2 locks held by getty/5529:
 #0: ffff88802d82d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
2 locks held by kworker/0:3/5816:
 #0: ffff888017c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888017c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900047efd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900047efd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
3 locks held by kworker/0:4/5817:
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900047ffd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900047ffd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffff88803e24d240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x285/0x32c0 drivers/net/netdevsim/fib.c:1491
1 lock held by syz.1.68/6272:
 #0: ffffffff973c9a68 (&ls_lock){+.+.}-{3:3}, at: __dlm_new_lockspace+0xb1/0x2360 fs/dlm/lockspace.c:687
1 lock held by dlm_recoverd/6282:
 #0: ffff88807c4f0aa8 (&ls->ls_in_recovery){+.+.}-{3:3}, at: dlm_recoverd+0xa5/0x1e50 fs/dlm/recoverd.c:310
3 locks held by kworker/0:6/7099:
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc9001dbc7d00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc9001dbc7d00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffffffff8d137778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
 #2: ffffffff8d137778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x306/0x880 kernel/rcu/tree_exp.h:1004
1 lock held by syz-executor/8093:
 #0: ffffffff8d137778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
 #0: ffffffff8d137778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3da/0x880 kernel/rcu/tree_exp.h:1004
5 locks held by syz-executor/8094:
2 locks held by syz-executor/8099:
2 locks held by syz-executor/8101:

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xf59/0xfa0 kernel/hung_task.c:379
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 997 Comm: kworker/u4:6 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:mark_lock+0x1/0x320 kernel/locking/lockdep.c:4639
Code: c1 7c 90 48 c7 c7 b0 af 8c 8e e8 6a b0 76 00 4c 89 f7 41 89 d9 e9 79 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 <41> 57 41 56 41 55 41 54 53 50 89 d5 49 89 f6 48 89 fb 49 bd 00 00
RSP: 0018:ffffc9000439f7b0 EFLAGS: 00000006
RAX: 0000000000000000 RBX: ffff888022a01e00 RCX: ffffffff81694414
RDX: 0000000000000006 RSI: ffff888022a028e0 RDI: ffff888022a01e00
RBP: ffffc9000439f868 R08: ffffffff911eb5ef R09: 1ffffffff223d6bd
R10: dffffc0000000000 R11: fffffbfff223d6be R12: ffff888022a02900
R13: 0000000000000000 R14: 1ffff1100454051b R15: ffff888022a028e0
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056359c9c4f70 CR3: 000000000cf32000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 mark_held_locks kernel/locking/lockdep.c:4274 [inline]
 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4300 [inline]
 lockdep_hardirqs_on_prepare+0x384/0x7d0 kernel/locking/lockdep.c:4359
 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
 _raw_spin_unlock_irqrestore+0x86/0x120 kernel/locking/spinlock.c:194
 __debug_check_no_obj_freed lib/debugobjects.c:1054 [inline]
 debug_check_no_obj_freed+0x47b/0x520 lib/debugobjects.c:1075
 slab_free_hook mm/slub.c:1786 [inline]
 slab_free_freelist_hook+0xd2/0x1a0 mm/slub.c:1837
 slab_free mm/slub.c:3830 [inline]
 __kmem_cache_free+0xba/0x1f0 mm/slub.c:3843
 skb_kfree_head net/core/skbuff.c:946 [inline]
 skb_free_head net/core/skbuff.c:958 [inline]
 skb_release_data+0x609/0x7f0 net/core/skbuff.c:988
 skb_release_all net/core/skbuff.c:1054 [inline]
 __kfree_skb net/core/skbuff.c:1068 [inline]
 consume_skb+0xb2/0x110 net/core/skbuff.c:1284
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline]
 nsim_dev_trap_report_work+0x723/0xa90 drivers/net/netdevsim/dev.c:851
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/05 01:14 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in do_uevent
2026/08/04 23:21 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in do_uevent
2026/08/04 22:04 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in do_uevent
* Struck through repros no longer work on HEAD.