syzbot


INFO: task hung in lock_two_nondirectories (3)

Status: auto-obsoleted due to no activity on 2026/04/18 02:45
Subsystems: jfs
[Documentation on labels]
First crash: 66d, last: 66d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
ec96a6fa-20f7-426b-9481-d12fd11e6c72 repro 💥 INFO: task hung in lock_two_nondirectories (3) 2026/03/10 12:16 2026/03/10 12:16 2026/03/10 12:16 5c03941b7fba0fd3b0326afc981322c89fe9ba52+ unexpected git log output: "warning: unable to access '/root/.config/git/attributes': Permission denied\nwarning: unable to access '/root/.config/git/attributes': Permission denied\n350adaf7fde9fdbd9aeed6d442a9ae90c6a3ab97\nAdd linux-next specific files for 20260216\nbroonie@kernel.org\nMark Brown\nMon Feb 16 15:36:12 2026 +0000\n089d64faad2f9d166b3905607c72e171f7bf6de7\nMon Feb 16 15:36:12 2026 +0000\nSigned-off-by: Mark Brown <broonie@kernel.org>\n"
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in lock_two_nondirectories 1 2 2840d 2858d 0/3 auto-closed as invalid on 2019/02/22 12:36
upstream INFO: task hung in lock_two_nondirectories (2) fs 1 18 292d 680d 0/29 auto-obsoleted due to no activity on 2025/10/04 07:10
upstream INFO: task hung in lock_two_nondirectories ext4 1 1 1049d 1049d 0/29 auto-obsoleted due to no activity on 2023/09/08 04:44

Sample crash report:
INFO: task syz.4.3797:25570 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.3797      state:D stack:25656 pid:25570 tgid:25564 ppid:20668  task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5295 [inline]
 __schedule+0x1585/0x5340 kernel/sched/core.c:6907
 __schedule_loop kernel/sched/core.c:6989 [inline]
 schedule+0x164/0x360 kernel/sched/core.c:7004
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7061
 rwsem_down_write_slowpath+0x899/0x1040 kernel/locking/rwsem.c:1185
 __down_write_common kernel/locking/rwsem.c:1317 [inline]
 __down_write kernel/locking/rwsem.c:1326 [inline]
 down_write+0x1bc/0x200 kernel/locking/rwsem.c:1591
 inode_lock include/linux/fs.h:1028 [inline]
 lock_two_nondirectories+0xe7/0x180 fs/inode.c:1260
 vfs_rename+0x68a/0xeb0 fs/namei.c:5989
 filename_renameat2+0x539/0x9c0 fs/namei.c:6144
 __do_sys_rename fs/namei.c:6188 [inline]
 __se_sys_rename+0x55/0x2c0 fs/namei.c:6184
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa44e39bf79
RSP: 002b:00007fa44f182028 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fa44e616180 RCX: 00007fa44e39bf79
RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000200000000000
RBP: 00007fa44e4327e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa44e616218 R14: 00007fa44e616180 R15: 00007ffefb1694f8
 </TASK>
INFO: task syz.4.3797:25572 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.3797      state:D stack:28224 pid:25572 tgid:25564 ppid:20668  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5295 [inline]
 __schedule+0x1585/0x5340 kernel/sched/core.c:6907
 __schedule_loop kernel/sched/core.c:6989 [inline]
 schedule+0x164/0x360 kernel/sched/core.c:7004
 io_schedule+0x7f/0xd0 kernel/sched/core.c:7831
 __lock_metapage fs/jfs/jfs_metapage.c:52 [inline]
 lock_metapage+0x1ff/0x400 fs/jfs/jfs_metapage.c:66
 __get_metapage+0x49a/0xde0 fs/jfs/jfs_metapage.c:748
 ea_write+0x5f0/0xde0 fs/jfs/xattr.c:256
 ea_put fs/jfs/xattr.c:626 [inline]
 __jfs_setxattr+0x944/0x1160 fs/jfs/xattr.c:792
 __jfs_set_acl fs/jfs/acl.c:83 [inline]
 jfs_set_acl+0x2c3/0x460 fs/jfs/acl.c:110
 set_posix_acl fs/posix_acl.c:955 [inline]
 vfs_set_acl+0x8ff/0xc00 fs/posix_acl.c:1134
 do_set_acl+0xf5/0x190 fs/posix_acl.c:1279
 do_setxattr fs/xattr.c:633 [inline]
 filename_setxattr+0x305/0x630 fs/xattr.c:664
 path_setxattrat+0x3eb/0x440 fs/xattr.c:708
 __do_sys_lsetxattr fs/xattr.c:749 [inline]
 __se_sys_lsetxattr fs/xattr.c:745 [inline]
 __x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:745
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa44e39bf79
RSP: 002b:00007fa44c1f4028 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd
RAX: ffffffffffffffda RBX: 00007fa44e616270 RCX: 00007fa44e39bf79
RDX: 0000200000000100 RSI: 0000200000000080 RDI: 0000200000000000
RBP: 00007fa44e4327e0 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000034 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa44e616308 R14: 00007fa44e616270 R15: 00007ffefb1694f8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/30:
 #0: ffffffff8e7602e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 #0: ffffffff8e7602e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
 #0: ffffffff8e7602e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by getty/5586:
 #0: ffff8880331bb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0 drivers/tty/n_tty.c:2211
4 locks held by kworker/u8:11/6200:
 #0: ffff88801fafe948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x855/0x1650 kernel/workqueue.c:3254
 #1: ffffc90004f77c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x87c/0x1650 kernel/workqueue.c:3255
 #2: ffff8880516e40e0 (&type->s_umount_key#59){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:565
 #3: ffff88805a9f01c8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:108
3 locks held by syz.4.3797/25570:
 #0: ffff8880516e4420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:493
 #1: ffff88805a9f4590 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1073 [inline]
 #1: ffff88805a9f4590 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3756 [inline]
 #1: ffff88805a9f4590 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: __start_renaming+0x148/0x410 fs/namei.c:3852
 #2: ffff88805a9f0578 (&sb->s_type->i_mutex_key#29){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1028 [inline]
 #2: ffff88805a9f0578 (&sb->s_type->i_mutex_key#29){+.+.}-{4:4}, at: lock_two_nondirectories+0xe7/0x180 fs/inode.c:1260
4 locks held by syz.4.3797/25572:
 #0: ffff8880516e4420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:493
 #1: ffff88805a9f0578 (&sb->s_type->i_mutex_key#29){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1028 [inline]
 #1: ffff88805a9f0578 (&sb->s_type->i_mutex_key#29){+.+.}-{4:4}, at: vfs_set_acl+0x3af/0xc00 fs/posix_acl.c:1115
 #2: ffff88805a9f01c8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_set_acl+0x11e/0x460 fs/jfs/acl.c:102
 #3: ffff88805a9f0260 (&jfs_ip->xattr_sem){++++}-{4:4}, at: __jfs_setxattr+0xfa/0x1160 fs/jfs/xattr.c:678

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:161 [inline]
 __sys_info lib/sys_info.c:157 [inline]
 sys_info+0x135/0x170 lib/sys_info.c:165
 check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline]
 watchdog+0xfd9/0x1030 kernel/hung_task.c:515
 kthread+0x388/0x470 kernel/kthread.c:467
 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63
Code: 5e 6b 02 c3 cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 23 8d 19 00 fb f4 <e9> 7c ea 02 00 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90
RSP: 0018:ffffc90000197e20 EFLAGS: 00000246
RAX: 0000000005c25e09 RBX: ffffffff819aa24d RCX: 0000000080000001
RDX: 0000000000000001 RSI: ffffffff8defa6e1 RDI: ffffffff8c27f780
RBP: ffffc90000197f10 R08: ffff8880b873395b R09: 1ffff110170e672b
R10: dffffc0000000000 R11: ffffed10170e672c R12: ffffffff9011c0b0
R13: 1ffff11003c57000 R14: 0000000000000001 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff888125555000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556a7f85a168 CR3: 000000000e54c000 CR4: 00000000003526f0
DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000080083
DR3: ffffffffefffff16 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 arch_safe_halt arch/x86/kernel/process.c:766 [inline]
 default_idle+0x9/0x20 arch/x86/kernel/process.c:767
 default_idle_call+0x72/0xb0 kernel/sched/idle.c:122
 cpuidle_idle_call kernel/sched/idle.c:191 [inline]
 do_idle+0x1bd/0x500 kernel/sched/idle.c:332
 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:430
 start_secondary+0x101/0x110 arch/x86/kernel/smpboot.c:312
 common_startup_64+0x13e/0x147
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/17 02:37 linux-next 350adaf7fde9 5d52cba5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in lock_two_nondirectories
* Struck through repros no longer work on HEAD.