INFO: task hung in do_uevent

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

Sample crash report:
INFO: task syz.0.17:4332 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.17        state:D stack:25872 pid: 4332 ppid:  4189 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11c3/0x4350 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 do_uevent+0x1df/0x480 fs/dlm/lockspace.c:210
 new_lockspace fs/dlm/lockspace.c:640 [inline]
 dlm_new_lockspace+0x1ca0/0x21a0 fs/dlm/lockspace.c:698
 device_create_lockspace+0xc4/0x350 fs/dlm/user.c:405
 device_write+0x893/0xea0 fs/dlm/user.c:597
 vfs_write+0x304/0xd70 fs/read_write.c:592
 ksys_write+0x153/0x260 fs/read_write.c:647
 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:0x7f667f266019
RSP: 002b:00007f667d4be028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f667f4edfa0 RCX: 00007f667f266019
RDX: 0000000000000078 RSI: 0000200000000400 RDI: 0000000000000007
RBP: 00007f667f2fd00c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f667f4ee038 R14: 00007f667f4edfa0 R15: 00007ffebb71a5c8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c31ef60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:2/154:
 #0: ffff8880b913a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x130 kernel/sched/core.c:475
 #1: ffff8880b9127888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c3/0x810 kernel/sched/psi.c:882
 #2: ffff8880b91280d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:946
2 locks held by getty/3943:
 #0: ffff88802bf36098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158
1 lock held by syz.0.17/4332:
 #0: ffffffff963c8aa8 (&ls_lock){+.+.}-{3:3}, at: dlm_new_lockspace+0xab/0x21a0 fs/dlm/lockspace.c:692
1 lock held by dlm_recoverd/4337:
 #0: ffff88807d8e4cb8 (&ls->ls_in_recovery){+.+.}-{3:3}, at: dlm_recoverd+0xa9/0x19e0 fs/dlm/recoverd.c:286

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

NMI backtrace for cpu 1
CPU: 1 PID: 27 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+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
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3548 Comm: klogd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65
Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01
RSP: 0018:ffffc90002e0f598 EFLAGS: 00000246
RAX: 0000000000000100 RBX: ffff88807e3d9800 RCX: 0000000000000000
RDX: 0000000000000040 RSI: 0000000000000000 RDI: ffffed100fc7b340
RBP: ffffc90002e0f7e8 R08: ffffc90002e0f878 R09: ffffed100fc7b300
R10: dffffc0000000000 R11: fffffbfff1b161be R12: 0000000000000001
R13: ffff888016c42dc0 R14: 0000000000000200 R15: dffffc0000000000
FS:  00007f7e2767bc80(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d73aafa118 CR3: 000000007e76c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kasan_poison mm/kasan/shadow.c:98 [inline]
 kasan_unpoison+0x42/0x60 mm/kasan/shadow.c:138
 __kasan_slab_alloc+0x44/0xc0 mm/kasan/common.c:463
 kasan_slab_alloc include/linux/kasan.h:254 [inline]
 slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
 slab_alloc_node mm/slub.c:3225 [inline]
 __kmalloc_node_track_caller+0x1a9/0x3a0 mm/slub.c:4963
 kmalloc_reserve net/core/skbuff.c:356 [inline]
 __alloc_skb+0x22c/0x750 net/core/skbuff.c:427
 alloc_skb include/linux/skbuff.h:1162 [inline]
 alloc_skb_with_frags+0xa7/0x720 net/core/skbuff.c:6196
 sock_alloc_send_pskb+0x87f/0x9a0 net/core/sock.c:2536
 unix_dgram_sendmsg+0x6f8/0x19c0 net/unix/af_unix.c:1809
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 __sys_sendto+0x46d/0x620 net/socket.c:2073
 __do_sys_sendto net/socket.c:2085 [inline]
 __se_sys_sendto net/socket.c:2081 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2081
 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:0x7f7e277cb407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffc366893e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f7e2767bc80 RCX: 00007f7e277cb407
RDX: 000000000000004b RSI: 00007ffc36689520 RDI: 0000000000000003
RBP: 00007ffc36689950 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffc36689968
R13: 00007ffc36689520 R14: 0000000000000030 R15: 00007ffc36689520
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/05 00:50 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in do_uevent
2026/08/05 00:47 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in do_uevent
* Struck through repros no longer work on HEAD.