syzbot


WARNING: locking bug in ocfs2_inode_lock_full_nested (3)

Status: upstream: reported on 2026/06/29 03:23
Subsystems: ocfs2
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+700d389b60e8ead6de94@syzkaller.appspotmail.com
First crash: 4d21h, last: 4d21h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
e66969ce-27fa-447e-8e6c-cb4044a9b7c7 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ WARNING: locking bug in ocfs2_inode_lock_full_nested (3) 2026/06/27 00:54 2026/06/27 00:54 2026/06/27 01:42 7ff32d8bb9773a5f02d3db4c8207fc9251ebedc5

			
		
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] WARNING: locking bug in ocfs2_inode_lock_full_nested (3) 0 (1) 2026/06/29 03:23
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: locking bug in ocfs2_inode_lock_full_nested ocfs2 4 1 280d 276d 0/29 auto-obsoleted due to no activity on 2025/12/31 01:31
upstream WARNING: locking bug in ocfs2_inode_lock_full_nested (2) ocfs2 4 1 161d 157d 0/29 auto-obsoleted due to no activity on 2026/04/29 07:45
linux-5.15 WARNING: locking bug in ocfs2_inode_lock_full_nested 4 3 484d 524d 0/3 auto-obsoleted due to no activity on 2025/06/10 19:15

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: kernel/locking/lockdep.c:238 at hlock_class kernel/locking/lockdep.c:238 [inline], CPU#1: syz.4.18034/10925
WARNING: kernel/locking/lockdep.c:238 at check_wait_context kernel/locking/lockdep.c:4854 [inline], CPU#1: syz.4.18034/10925
WARNING: kernel/locking/lockdep.c:238 at __lock_acquire+0x382/0x2cf0 kernel/locking/lockdep.c:5187, CPU#1: syz.4.18034/10925
Modules linked in:
CPU: 1 UID: 0 PID: 10925 Comm: syz.4.18034 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:hlock_class kernel/locking/lockdep.c:238 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4854 [inline]
RIP: 0010:__lock_acquire+0x389/0x2cf0 kernel/locking/lockdep.c:5187
Code: 83 3d 7a fc a8 18 00 75 27 90 e8 e2 b3 12 03 85 c0 74 1c 83 3d eb 1c 91 0e 00 75 13 48 8d 3d ce 77 94 0e 48 c7 c6 d5 21 10 8e <67> 48 0f b9 3a 90 31 c0 0f b6 98 c4 00 00 00 41 8b 45 20 25 ff 1f
RSP: 0018:ffffc90010467448 EFLAGS: 00010046
RAX: 0000000000000001 RBX: 0000000000040000 RCX: 0000000000080000
RDX: ffffc9000eebe000 RSI: ffffffff8e1021d5 RDI: ffffffff903660f0
RBP: 0000000000000001 R08: ffffffff90330603 R09: 1ffffffff20660c0
R10: dffffc0000000000 R11: fffffbfff20660c1 R12: 000000000000140e
R13: ffff88802ce50ba0 R14: ffff88802ce50000 R15: ffff88802ce50ba0
FS:  00007fc45f82b6c0(0000) GS:ffff888125327000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f917adac000 CR3: 00000000686b3000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868
 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158
 spin_lock include/linux/spinlock.h:342 [inline]
 ocfs2_is_hard_readonly fs/ocfs2/ocfs2.h:663 [inline]
 ocfs2_inode_lock_full_nested+0x12f/0x1b30 fs/ocfs2/dlmglue.c:2446
 ocfs2_inode_lock_tracker+0x1cf/0x710 fs/ocfs2/dlmglue.c:2691
 ocfs2_permission+0xc6/0x1e0 fs/ocfs2/file.c:1361
 do_inode_permission fs/namei.c:583 [inline]
 inode_permission+0x3de/0x5f0 fs/namei.c:653
 lookup_inode_permission_may_exec fs/namei.c:693 [inline]
 may_lookup fs/namei.c:1961 [inline]
 link_path_walk+0xaa6/0x1910 fs/namei.c:2604
 path_parentat fs/namei.c:2860 [inline]
 __filename_parentat+0x287/0x6f0 fs/namei.c:2884
 filename_parentat fs/namei.c:2902 [inline]
 filename_unlinkat+0x104/0x610 fs/namei.c:5550
 __do_sys_unlinkat fs/namei.c:5610 [inline]
 __se_sys_unlinkat+0x83/0x1a0 fs/namei.c:5602
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc45e99ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc45f82b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007fc45ec15fa0 RCX: 00007fc45e99ce59
RDX: 0000000000000000 RSI: 00002000000001c0 RDI: ffffffffffffff9c
RBP: 00007fc45ea32e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc45ec16038 R14: 00007fc45ec15fa0 R15: 00007ffd971d9818
 </TASK>
----------------
Code disassembly (best guess):
   0:	83 3d 7a fc a8 18 00 	cmpl   $0x0,0x18a8fc7a(%rip)        # 0x18a8fc81
   7:	75 27                	jne    0x30
   9:	90                   	nop
   a:	e8 e2 b3 12 03       	call   0x312b3f1
   f:	85 c0                	test   %eax,%eax
  11:	74 1c                	je     0x2f
  13:	83 3d eb 1c 91 0e 00 	cmpl   $0x0,0xe911ceb(%rip)        # 0xe911d05
  1a:	75 13                	jne    0x2f
  1c:	48 8d 3d ce 77 94 0e 	lea    0xe9477ce(%rip),%rdi        # 0xe9477f1
  23:	48 c7 c6 d5 21 10 8e 	mov    $0xffffffff8e1021d5,%rsi
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	90                   	nop
  30:	31 c0                	xor    %eax,%eax
  32:	0f b6 98 c4 00 00 00 	movzbl 0xc4(%rax),%ebx
  39:	41 8b 45 20          	mov    0x20(%r13),%eax
  3d:	25                   	.byte 0x25
  3e:	ff 1f                	lcall  *(%rdi)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/25 03:19 upstream ab9de95c9cf9 cfa969bf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: locking bug in ocfs2_inode_lock_full_nested
* Struck through repros no longer work on HEAD.