Kernel bug: kernel BUG in ocfs2_populate_inode
Subsystem: ocfs2
Status: open

Crash report:
loop0: detected capacity change from 0 to 32768
------------[ cut here ]------------
kernel BUG at fs/ocfs2/inode.c:350!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 5820 Comm: syz-executor309 Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
RIP: 0010:ocfs2_populate_inode+0x175e/0x1780 fs/ocfs2/inode.c:350
Code: c6 bf 02 00 00 00 e8 51 72 28 fe 45 84 f6 75 2a e8 47 6f 28 fe 48 8b 5c 24 10 4c 8b 64 24 18 e9 d6 f1 ff ff e8 33 6f 28 fe 90 <0f> 0b e8 2b 6f 28 fe 90 0f 0b 90 e9 f7 fe ff ff e8 1d 6f 28 fe e8
RSP: 0018:ffffc9000412ed60 EFLAGS: 00010293
RAX: ffffffff8397602d RBX: ffff888076c596b8 RCX: ffff8880345c1e00
RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000000
RBP: ffffc9000412ee90 R08: ffffffff8f7daf77 R09: 1ffffffff1efb5ee
R10: dffffc0000000000 R11: fffffbfff1efb5ef R12: ffff88807452642c
R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000
FS:  000055555d2e3380(0000) GS:ffff8881261fe000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000400c388 CR3: 000000002ce4a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_read_locked_inode fs/ocfs2/inode.c:556 [inline]
 ocfs2_iget+0xdc1/0x1a90 fs/ocfs2/inode.c:159
 ocfs2_init_global_system_inodes+0x16c/0x660 fs/ocfs2/super.c:449
 ocfs2_initialize_super fs/ocfs2/super.c:2193 [inline]
 ocfs2_fill_super+0x2aec/0x63d0 fs/ocfs2/super.c:993
 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1636
 vfs_get_tree+0x8f/0x2b0 fs/super.c:1759
 do_new_mount+0x24a/0xa40 fs/namespace.c:3884
 do_mount fs/namespace.c:4224 [inline]
 __do_sys_mount fs/namespace.c:4435 [inline]
 __se_sys_mount+0x317/0x410 fs/namespace.c:4412
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa274e9f97a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcb71f5be8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffcb71f5c00 RCX: 00007fa274e9f97a
RDX: 0000200000004440 RSI: 0000200000000140 RDI: 00007ffcb71f5c00
RBP: 0000200000000140 R08: 00007ffcb71f5c40 R09: 000000000000444d
R10: 0000000000000000 R11: 0000000000000282 R12: 0000200000004440
R13: 00007ffcb71f5c40 R14: 0000000000000003 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_populate_inode+0x175e/0x1780 fs/ocfs2/inode.c:350
Code: c6 bf 02 00 00 00 e8 51 72 28 fe 45 84 f6 75 2a e8 47 6f 28 fe 48 8b 5c 24 10 4c 8b 64 24 18 e9 d6 f1 ff ff e8 33 6f 28 fe 90 <0f> 0b e8 2b 6f 28 fe 90 0f 0b 90 e9 f7 fe ff ff e8 1d 6f 28 fe e8
RSP: 0018:ffffc9000412ed60 EFLAGS: 00010293
RAX: ffffffff8397602d RBX: ffff888076c596b8 RCX: ffff8880345c1e00
RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000000
RBP: ffffc9000412ee90 R08: ffffffff8f7daf77 R09: 1ffffffff1efb5ee
R10: dffffc0000000000 R11: fffffbfff1efb5ef R12: ffff88807452642c
R13: dffffc0000000000 R14: 0000000000000020 R15: 0000000000000000
FS:  000055555d2e3380(0000) GS:ffff8881261fe000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000400c388 CR3: 000000002ce4a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400