From: syzbot <syzbot+f1b7d3d179cd1db8518a@syzkaller.appspotmail.com>
To: jlbec@evilplan.org, joseph.qi@linux.alibaba.com,
linux-kernel@vger.kernel.org, mark@fasheh.com,
ocfs2-devel@lists.linux.dev, syzkaller-bugs@googlegroups.com
Subject: [syzbot] [ocfs2?] WARNING: locking bug in ocfs2_inode_lock_full_nested
Date: Thu, 25 Sep 2025 18:34:29 -0700 [thread overview]
Message-ID: <68d5eda5.a00a0220.303701.0021.GAE@google.com> (raw)
Hello,
syzbot found the following issue on:
HEAD commit: 2d5bd41a4505 Merge tag 'clk-fixes-for-linus' of git://git...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1029c8e2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=f5b21423ca3f0a96
dashboard link: https://syzkaller.appspot.com/bug?extid=f1b7d3d179cd1db8518a
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/b7202ac3386f/disk-2d5bd41a.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/826ea91f3056/vmlinux-2d5bd41a.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a56cfda9c03f/bzImage-2d5bd41a.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f1b7d3d179cd1db8518a@syzkaller.appspotmail.com
loop3: detected capacity change from 0 to 1024
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use))
WARNING: CPU: 0 PID: 10994 at kernel/locking/lockdep.c:5207 __lock_acquire+0xc0c/0xd20 kernel/locking/lockdep.c:5207
Modules linked in:
CPU: 0 UID: 0 PID: 10994 Comm: syz.3.280 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:__lock_acquire+0xc0c/0xd20 kernel/locking/lockdep.c:5207
Code: ff ff 90 e8 26 94 18 03 85 c0 74 22 83 3d bf 60 81 0d 00 75 19 90 48 c7 c7 2c 9f 21 8d 48 c7 c6 ca ed 09 8d e8 75 2c e7 ff 90 <0f> 0b 90 90 90 e9 8f 00 00 00 90 0f 0b 90 e9 8d fe ff ff 90 e8 eb
RSP: 0018:ffffc90004b97410 EFLAGS: 00010046
RAX: a5a653e04eba8400 RBX: ffff88802d45d940 RCX: 0000000000080000
RDX: ffffc9000db71000 RSI: 0000000000000af6 RDI: 0000000000000af7
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed1017104863 R12: 0000000000000004
R13: 0000000000000004 R14: ffff88802d45e4b0 R15: 0000000000000000
FS: 00007f39acc7e6c0(0000) GS:ffff8881268bc000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000003cd8e000 CR4: 00000000003526f0
Call Trace:
<TASK>
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
rt_spin_lock+0x88/0x2c0 kernel/locking/spinlock_rt.c:56
spin_lock include/linux/spinlock_rt.h:44 [inline]
ocfs2_is_hard_readonly fs/ocfs2/ocfs2.h:665 [inline]
ocfs2_inode_lock_full_nested+0x120/0x1b20 fs/ocfs2/dlmglue.c:2446
ocfs2_inode_lock_tracker+0x1be/0x660 fs/ocfs2/dlmglue.c:2691
ocfs2_setattr+0x731/0x1b40 fs/ocfs2/file.c:1173
notify_change+0xb34/0xe60 fs/attr.c:552
chown_common+0x40c/0x5c0 fs/open.c:791
do_fchownat+0x161/0x270 fs/open.c:822
__do_sys_lchown fs/open.c:847 [inline]
__se_sys_lchown fs/open.c:845 [inline]
__x64_sys_lchown+0x85/0xa0 fs/open.c:845
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f39aea1ec29
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:00007f39acc7e038 EFLAGS: 00000246 ORIG_RAX: 000000000000005e
RAX: ffffffffffffffda RBX: 00007f39aec65fa0 RCX: 00007f39aea1ec29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000a80
RBP: 00007f39aeaa1e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f39aec66038 R14: 00007f39aec65fa0 R15: 00007ffeedc44808
</TASK>
---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
reply other threads:[~2025-09-26 1:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68d5eda5.a00a0220.303701.0021.GAE@google.com \
--to=syzbot+f1b7d3d179cd1db8518a@syzkaller.appspotmail.com \
--cc=jlbec@evilplan.org \
--cc=joseph.qi@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark@fasheh.com \
--cc=ocfs2-devel@lists.linux.dev \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.