INFO: task hung in device_write

Status: auto-obsoleted due to no activity on 2026/12/02 21:31
Subsystems: gfs2
Labels: prio:low
[Documentation on labels]
First crash: 122d, last: 91d
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
09274632 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ INFO: task hung in device_write 2026/08/09 08:58 2026/08/09 08:58 2026/08/09 09:06 5d63f80b
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: task hung in device_write 1 2 121d 121d 0/2 auto-obsoleted due to no activity on 2026/11/12 22:36
linux-6.1 INFO: task hung in device_write 1 1 121d 121d 0/3 auto-obsoleted due to no activity on 2026/11/12 20:18

Sample crash report:
INFO: task syz.3.4:5815 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.4         state:D stack:25688 pid:5815  tgid:5814  ppid:5619   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5510 [inline]
 __schedule+0x125c/0x6730 kernel/sched/core.c:7234
 __schedule_loop kernel/sched/core.c:7311 [inline]
 schedule+0xdd/0x2c0 kernel/sched/core.c:7326
 schedule_timeout+0x1b2/0x280 kernel/time/sleep_timeout.c:75
 do_wait_for_common kernel/sched/completion.c:100 [inline]
 __wait_for_common+0x2e7/0x4c0 kernel/sched/completion.c:121
 new_lockspace fs/dlm/lockspace.c:588 [inline]
 __dlm_new_lockspace+0x16ba/0x1fa0 fs/dlm/lockspace.c:638
 dlm_new_user_lockspace+0x60/0x90 fs/dlm/lockspace.c:671
 device_create_lockspace fs/dlm/user.c:414 [inline]
 device_write+0x930/0x1c90 fs/dlm/user.c:606
 vfs_write+0x2aa/0x1050 fs/read_write.c:685
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6b60f9e019
RSP: 002b:00007f6b61da8028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6b61225fa0 RCX: 00007f6b60f9e019
RDX: 0000000000000078 RSI: 0000200000000400 RDI: 0000000000000007
RBP: 00007f6b6103500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6b61226038 R14: 00007f6b61225fa0 R15: 00007fffabb57b08
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/31:
 #0: ffffffff8ebe8200 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
 #0: ffffffff8ebe8200 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline]
 #0: ffffffff8ebe8200 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775
3 locks held by kworker/u8:8/1810:
 #0: ffff8880b843b520 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2c/0x140 kernel/sched/core.c:667
 #1: ffff8880b8424568 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:218 [inline]
 #1: ffff8880b8424568 (psi_seq){-.-.}-{0:0}, at: __schedule+0x2e8e/0x6730 kernel/sched/core.c:7228
 #2: ffffffff8ebe8200 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline]
 #2: ffffffff8ebe8200 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline]
 #2: ffffffff8ebe8200 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1183 [inline]
 #2: ffffffff8ebe8200 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xbd/0x2090 arch/x86/kernel/unwind_orc.c:495
2 locks held by getty/5368:
 #0: ffff888037d960a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000322b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x14e0 drivers/tty/n_tty.c:2211
1 lock held by syz.3.4/5815:
 #0: ffffffff9b7cf4c0 (&ls_lock){+.+.}-{4:4}, at: __dlm_new_lockspace+0xb8/0x1fa0 fs/dlm/lockspace.c:632
1 lock held by dlm_recoverd/5818:
 #0: ffff888027518a18 (&ls->ls_in_recovery){+.+.}-{4:4}, at: dlm_recoverd+0xbd/0x1f90 fs/dlm/recoverd.c:400

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/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+0x72b/0xd50 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 1810 Comm: kworker/u8:8 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__sanitizer_cov_trace_pc+0x3f/0x70 kernel/kcov.c:217
Code: 5a 12 a9 00 01 ff 00 74 1b f6 c4 01 74 07 a9 00 00 ff 00 74 05 e9 d1 0d b4 09 8b 82 24 17 00 00 85 c0 74 f1 8b 82 f8 16 00 00 <83> f8 02 75 e6 48 8b 8a 00 17 00 00 8b 92 fc 16 00 00 48 8b 01 48
RSP: 0018:ffffc90006a0f7c8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90006a0f9b0 RCX: ffffffff8bba4cb4
RDX: ffff88802947ca80 RSI: ffffffff8bba4cda RDI: ffff88802947ca80
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000000000000f R14: ffffffff8bc7d26a R15: 0000000000000ffa
FS:  0000000000000000(0000) GS:ffff888123dd8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d68a147660 CR3: 000000000e994000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 insn_get_opcode+0x7a/0x11b0 arch/x86/lib/insn.c:285
 insn_get_modrm+0x84/0x790 arch/x86/lib/insn.c:391
 insn_get_sib arch/x86/lib/insn.c:466 [inline]
 insn_get_displacement+0x2f9/0x960 arch/x86/lib/insn.c:507
 insn_get_immediate+0x84/0x1e00 arch/x86/lib/insn.c:673
 insn_get_length arch/x86/lib/insn.c:745 [inline]
 insn_decode+0x21d/0x320 arch/x86/lib/insn.c:784
 __smp_text_poke_batch_add+0x174/0x790 arch/x86/kernel/alternative.c:3103
 arch_jump_label_transform_queue+0xaf/0x120 arch/x86/kernel/jump_label.c:138
 __jump_label_update+0xd7/0x380 kernel/jump_label.c:513
 jump_label_update+0x37a/0x550 kernel/jump_label.c:910
 static_key_disable_cpuslocked+0x162/0x1c0 kernel/jump_label.c:240
 static_key_disable+0x1a/0x20 kernel/jump_label.c:248
 toggle_allocation_gate mm/kfence/core.c:918 [inline]
 toggle_allocation_gate+0x149/0x2d0 mm/kfence/core.c:903
 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+0x72b/0xd50 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/04 14:41 upstream 848acc8ffe1b d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in device_write
2026/08/04 16:07 linux-next cc2b5f627e8c d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in device_write
2026/08/04 15:47 linux-next cc2b5f627e8c d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in device_write
2026/09/03 15:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cee9395acd80 6a988719 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in device_write
2026/09/03 15:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cee9395acd80 6a988719 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in device_write
2026/09/03 21:27 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master 0f23d56f17fd a8a356ea .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 INFO: task hung in device_write
2026/08/04 19:09 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master 848acc8ffe1b 3c5eaa21 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 INFO: task hung in device_write
2026/08/04 19:03 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux master 848acc8ffe1b 3c5eaa21 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 INFO: task hung in device_write
* Struck through repros no longer work on HEAD.