and is ignored by this kernel. Remove the mand
option from the mount to silence this warning.
=======================================================
JBD2: Ignoring recovery information on journal
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
============================================
WARNING: possible recursive locking detected
syzkaller #0 Not tainted
--------------------------------------------
syz.0.17/6075 is trying to acquire lock:
ffff888059b2df40 (&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline]
ffff888059b2df40 (&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]){+.+.}-{4:4}, at: ocfs2_reserve_suballoc_bits+0x164/0x4600 fs/ocfs2/suballoc.c:789
but task is already holding lock:
ffff888059b2df40 (&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline]
ffff888059b2df40 (&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]){+.+.}-{4:4}, at: ocfs2_reserve_suballoc_bits+0x164/0x4600 fs/ocfs2/suballoc.c:789
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]);
lock(&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]);
*** DEADLOCK ***
May be due to missing lock nesting notation
4 locks held by syz.0.17/6075:
#0: ffff888037fb6480 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:499
#1: ffff888059b28b80 (&type->i_mutex_dir_key#8){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline]
#1: ffff888059b28b80 (&type->i_mutex_dir_key#8){+.+.}-{4:4}, at: open_last_lookups fs/namei.c:4537 [inline]
#1: ffff888059b28b80 (&type->i_mutex_dir_key#8){+.+.}-{4:4}, at: path_openat+0xb53/0x3df0 fs/namei.c:4784
#2: ffff888059b2df40 (&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline]
#2: ffff888059b2df40 (&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]){+.+.}-{4:4}, at: ocfs2_reserve_suballoc_bits+0x164/0x4600 fs/ocfs2/suballoc.c:789
#3: ffff888059b30b80 (&ocfs2_sysfile_lock_key[EXTENT_ALLOC_SYSTEM_INODE]){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline]
#3: ffff888059b30b80 (&ocfs2_sysfile_lock_key[EXTENT_ALLOC_SYSTEM_INODE]){+.+.}-{4:4}, at: ocfs2_reserve_suballoc_bits+0x164/0x4600 fs/ocfs2/suballoc.c:789
stack backtrace:
CPU: 1 UID: 0 PID: 6075 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
print_deadlock_bug+0x279/0x290 kernel/locking/lockdep.c:3041
check_deadlock kernel/locking/lockdep.c:3093 [inline]
validate_chain kernel/locking/lockdep.c:3895 [inline]
__lock_acquire+0x2540/0x2cf0 kernel/locking/lockdep.c:5237
lock_acquire+0x107/0x340 kernel/locking/lockdep.c:5868
down_write+0x3a/0x50 kernel/locking/rwsem.c:1590
inode_lock include/linux/fs.h:1027 [inline]
ocfs2_reserve_suballoc_bits+0x164/0x4600 fs/ocfs2/suballoc.c:789
ocfs2_reserve_cluster_bitmap_bits fs/ocfs2/suballoc.c:1135 [inline]
ocfs2_reserve_clusters_with_limit+0x2fb/0xba0 fs/ocfs2/suballoc.c:1180
ocfs2_block_group_alloc fs/ocfs2/suballoc.c:675 [inline]
ocfs2_reserve_suballoc_bits+0x6fd/0x4600 fs/ocfs2/suballoc.c:835
ocfs2_reserve_new_metadata_blocks+0x403/0x940 fs/ocfs2/suballoc.c:985
ocfs2_mknod+0xde6/0x2030 fs/ocfs2/namei.c:351
ocfs2_create+0x195/0x420 fs/ocfs2/namei.c:677
lookup_open fs/namei.c:4440 [inline]
open_last_lookups fs/namei.c:4540 [inline]
path_openat+0x18d1/0x3df0 fs/namei.c:4784
do_filp_open+0x1fa/0x410 fs/namei.c:4814
do_sys_openat2+0x121/0x200 fs/open.c:1430
do_sys_open fs/open.c:1436 [inline]
__do_sys_openat fs/open.c:1452 [inline]
__se_sys_openat fs/open.c:1447 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1447
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5ff4b4f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe4d5d1d28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5ff4da5fa0 RCX: 00007f5ff4b4f749
RDX: 000000000000275a RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007f5ff4bd3f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5ff4da5fa0 R14: 00007f5ff4da5fa0 R15: 0000000000000004
------------[ cut here ]------------
rtmutex deadlock detected
WARNING: kernel/locking/rtmutex.c:1674 at rt_mutex_handle_deadlock kernel/locking/rtmutex.c:1674 [inline], CPU#1: syz.0.17/6075
WARNING: kernel/locking/rtmutex.c:1674 at __rt_mutex_slowlock kernel/locking/rtmutex.c:1734 [inline], CPU#1: syz.0.17/6075
WARNING: kernel/locking/rtmutex.c:1674 at __rt_mutex_slowlock_locked+0xecb/0x25e0 kernel/locking/rtmutex.c:1760, CPU#1: syz.0.17/6075
Modules linked in:
CPU: 1 UID: 0 PID: 6075 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:rt_mutex_handle_deadlock kernel/locking/rtmutex.c:1674 [inline]
RIP: 0010:__rt_mutex_slowlock kernel/locking/rtmutex.c:1734 [inline]
RIP: 0010:__rt_mutex_slowlock_locked+0xecb/0x25e0 kernel/locking/rtmutex.c:1760
Code: 48 e8 09 de 38 09 83 7c 24 20 dd 4c 8b b4 24 98 00 00 00 0f 85 f7 0a 00 00 48 8b 7c 24 10 e8 dc de 38 09 48 8d 3d 95 09 42 0d <67> 48 0f b9 3a 48 8b 9c 24 80 00 00 00 43 80 3c 3e 00 74 08 4c 89
RSP: 0018:ffffc90003b46360 EFLAGS: 00010286
RAX: 0000000080000000 RBX: ffff888036414790 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8b3f57c0 RDI: ffffffff8ede3f10
RBP: ffffc90003b46550 R08: ffffffff8edb3477 R09: 1ffffffff1db668e
R10: dffffc0000000000 R11: fffffbfff1db668f R12: ffff888036415408
R13: ffff888036413c98 R14: 1ffff11006c82a81 R15: dffffc0000000000
FS: 000055557875e500(0000) GS:ffff888126def000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fafa1ef4286 CR3: 00000000347c0000 CR4: 00000000003526f0
Call Trace:
rt_mutex_slowlock+0xb5/0x160 kernel/locking/rtmutex.c:1800
__rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline]
rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244
inode_lock include/linux/fs.h:1027 [inline]
ocfs2_reserve_suballoc_bits+0x164/0x4600 fs/ocfs2/suballoc.c:789
ocfs2_reserve_cluster_bitmap_bits fs/ocfs2/suballoc.c:1135 [inline]
ocfs2_reserve_clusters_with_limit+0x2fb/0xba0 fs/ocfs2/suballoc.c:1180
ocfs2_block_group_alloc fs/ocfs2/suballoc.c:675 [inline]
ocfs2_reserve_suballoc_bits+0x6fd/0x4600 fs/ocfs2/suballoc.c:835
ocfs2_reserve_new_metadata_blocks+0x403/0x940 fs/ocfs2/suballoc.c:985
ocfs2_mknod+0xde6/0x2030 fs/ocfs2/namei.c:351
ocfs2_create+0x195/0x420 fs/ocfs2/namei.c:677
lookup_open fs/namei.c:4440 [inline]
open_last_lookups fs/namei.c:4540 [inline]
path_openat+0x18d1/0x3df0 fs/namei.c:4784
do_filp_open+0x1fa/0x410 fs/namei.c:4814
do_sys_openat2+0x121/0x200 fs/open.c:1430
do_sys_open fs/open.c:1436 [inline]
__do_sys_openat fs/open.c:1452 [inline]
__se_sys_openat fs/open.c:1447 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1447
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5ff4b4f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe4d5d1d28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5ff4da5fa0 RCX: 00007f5ff4b4f749
RDX: 000000000000275a RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007f5ff4bd3f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5ff4da5fa0 R14: 00007f5ff4da5fa0 R15: 0000000000000004
----------------
Code disassembly (best guess):
0: 48 e8 09 de 38 09 rex.W call 0x938de0f
6: 83 7c 24 20 dd cmpl $0xffffffdd,0x20(%rsp)
b: 4c 8b b4 24 98 00 00 mov 0x98(%rsp),%r14
12: 00
13: 0f 85 f7 0a 00 00 jne 0xb10
19: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi
1e: e8 dc de 38 09 call 0x938deff
23: 48 8d 3d 95 09 42 0d lea 0xd420995(%rip),%rdi # 0xd4209bf
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: 48 8b 9c 24 80 00 00 mov 0x80(%rsp),%rbx
36: 00
37: 43 80 3c 3e 00 cmpb $0x0,(%r14,%r15,1)
3c: 74 08 je 0x46
3e: 4c rex.WR
3f: 89 .byte 0x89