INFO: task hung in lmLogClose

Status: upstream: reported C repro on 2025/07/25 07:32
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+0347eab37b822a8ac6e5@syzkaller.appspotmail.com
First crash: 366d, last: 14d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2025/09/17 upstream (ToT) 5aca7966d2a7 C [report] INFO: task hung in lmLogClose
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in lmLogClose jfs 1 1 1196d 1196d 0/29 auto-obsoleted due to no activity on 2023/07/16 16:14
upstream INFO: task hung in lmLogClose (3) prio:high jfs 1 C error 1240 3h40m 859d 0/29 upstream: reported C repro on 2024/03/19 10:13
linux-6.1 INFO: task hung in lmLogClose origin:upstream 1 C error 53 11h41m 805d 0/3 upstream: reported C repro on 2024/05/12 07:21
upstream INFO: task hung in lmLogClose (2) jfs 1 C inconclusive done 5 928d 1020d 25/29 fixed on 2024/02/24 00:02
linux-5.15 INFO: task hung in lmLogClose origin:upstream 1 C error 55 19d 842d 0/3 upstream: reported C repro on 2024/04/05 11:21
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2026/02/13 20:44 18m bisect fix linux-6.6.y error job log
2026/01/14 16:35 2h11m bisect fix linux-6.6.y OK (0) job log log
2025/12/08 00:20 2h20m bisect fix linux-6.6.y OK (0) job log log

Sample crash report:
INFO: task syz-executor:5929 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21800 pid:5929  ppid:1      flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x673/0xc80 kernel/locking/mutex.c:747
 lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
 jfs_umount+0x2ca/0x3a0 fs/jfs/jfs_umount.c:114
 jfs_put_super+0x8c/0x190 fs/jfs/super.c:194
 generic_shutdown_super+0x134/0x2b0 fs/super.c:693
 kill_block_super+0x44/0x90 fs/super.c:1660
 deactivate_locked_super+0x97/0x100 fs/super.c:481
 cleanup_mnt+0x3d7/0x460 fs/namespace.c:1259
 task_work_run+0x1d4/0x260 kernel/task_work.c:245
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f332979f097
RSP: 002b:00007ffca0746608 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f33298332ca RCX: 00007f332979f097
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffca07466c0
RBP: 00007ffca07466c0 R08: 00007ffca07476c0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffca0747750
R13: 00007f33298332ca R14: 0000000000037218 R15: 00007ffca0747790
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/28:
 #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
2 locks held by kworker/u4:8/2932:
 #0: ffff8880b8f3c298 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
 #1: ffff8880b8f28a00 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
 #1: ffff8880b8f28a00 (psi_seq){-.-.}-{0:0}, at: __schedule+0x21d3/0x4660 kernel/sched/core.c:6695
2 locks held by getty/5533:
 #0: ffff88802d7460a0 (&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 syz-executor/5922:
 #0: ffff8880760920e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff8880760920e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff8880760920e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/5929:
 #0: ffff88807d0e00e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88807d0e00e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff88807d0e00e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6010:
 #0: ffff8880301ce0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff8880301ce0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff8880301ce0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6031:
 #0: ffff88806210e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88806210e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff88806210e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6035:
 #0: ffff88805f6680e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88805f6680e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff88805f6680e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6037:
 #0: ffff88805d8ce0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88805d8ce0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff88805d8ce0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6098:
 #0: ffff88807c20e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88807c20e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff88807c20e0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6120:
 #0: ffff888060eb80e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff888060eb80e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff888060eb80e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
2 locks held by syz-executor/6140:
 #0: ffff8880792fe0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff8880792fe0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff8880792fe0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
 #1: ffffffff8d54a388 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xad/0x530 fs/jfs/jfs_logmgr.c:1444
1 lock held by syz-executor/6141:
 #0: ffff88805bff20e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff88805bff20e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff88805bff20e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa4/0xe0 fs/super.c:513
2 locks held by syz-executor/6191:
2 locks held by udevd/6198:
2 locks held by syz.7.232/6439:
1 lock held by syz.4.233/6440:
2 locks held by syz.1.234/6441:

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

NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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: 6099 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:preempt_count_add+0x140/0x1a0 kernel/sched/core.c:5849
Code: 48 c7 c1 80 e4 2e 97 80 e1 07 80 c1 03 38 c1 0f 8c 00 ff ff ff 89 fb 48 c7 c7 80 e4 2e 97 e8 27 f4 82 00 89 df e9 eb fe ff ff <48> c7 c1 80 e4 2e 97 80 e1 07 80 c1 03 38 c1 0f 8c 05 ff ff ff 89
RSP: 0018:ffffc900035979c8 EFLAGS: 00000202
RAX: 0000000000000004 RBX: ffff88807cea1ee8 RCX: ffffffff972ee403
RDX: 0000000000000000 RSI: ffffffff8acadce0 RDI: 0000000000000001
RBP: ffffc90003597b30 R08: dffffc0000000000 R09: 1ffffffff223cea8
R10: dffffc0000000000 R11: fffffbfff223cea9 R12: ffff88802ecac200
R13: dffffc0000000000 R14: 1ffff1100fa01e22 R15: dffffc0000000000
FS:  00007f4711d4a880(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4711d46000 CR3: 000000002e795000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 __down_read_common kernel/locking/rwsem.c:1248 [inline]
 __down_read kernel/locking/rwsem.c:1263 [inline]
 down_read+0x54/0x2e0 kernel/locking/rwsem.c:1522
 anon_vma_lock_read include/linux/rmap.h:131 [inline]
 validate_mm+0x1bd/0x450 mm/mmap.c:316
 do_vmi_align_munmap+0x14dd/0x16a0 mm/mmap.c:2597
 do_vmi_munmap+0x252/0x2d0 mm/mmap.c:2660
 __vm_munmap+0x19e/0x3c0 mm/mmap.c:2961
 __do_sys_munmap mm/mmap.c:2978 [inline]
 __se_sys_munmap mm/mmap.c:2975 [inline]
 __x64_sys_munmap+0x60/0x70 mm/mmap.c:2975
 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:0x7f4711e4d097
Code: 73 01 c3 48 8b 0d 61 2d 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 31 2d 0d 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe30d8d628 EFLAGS: 00000246 ORIG_RAX: 000000000000000b
RAX: ffffffffffffffda RBX: 0000561a83316a30 RCX: 00007f4711e4d097
RDX: 0000561a83321e28 RSI: 0000000000000200 RDI: 00007f4711d41000
RBP: 0000000000000007 R08: 0000561a833256e0 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000246 R12: 0000561a8331d0b0
R13: 00007f4711fef39c R14: 0000000000000e00 R15: 0000000000000009
 </TASK>

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/12 00:46 linux-6.6.y da47cbc25466 d78ea535 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/12/12 15:16 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/09/16 15:49 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/07/07 21:29 linux-6.6.y da47cbc25466 76cdc0c0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/06/16 21:15 linux-6.6.y 924b4a879cbb a3998659 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/04/13 07:16 linux-6.6.y 8cee53b8eaeb 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/04/13 06:34 linux-6.6.y 8cee53b8eaeb 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/04/13 06:32 linux-6.6.y 8cee53b8eaeb 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/04/13 05:35 linux-6.6.y 8cee53b8eaeb 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/03/25 10:46 linux-6.6.y 4fc00fe35d46 8ee77f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/03/05 18:01 linux-6.6.y 4fc00fe35d46 d20b04c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2026/03/04 03:39 linux-6.6.y 7a137e9bfa0e 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/11/06 12:18 linux-6.6.y 0a805b6ea8cd a6c9c731 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/11/02 12:04 linux-6.6.y e5bbb12db2c7 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/11/02 12:04 linux-6.6.y e5bbb12db2c7 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/10/22 20:00 linux-6.6.y f231f248323d c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/09/16 10:11 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/09/04 23:23 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/08/18 02:25 linux-6.6.y bb9c90ab9c5a 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
2025/07/25 07:31 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in lmLogClose
* Struck through repros no longer work on HEAD.