loop0: detected capacity change from 0 to 32768 ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:336! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5609 Comm: syz.0.15 Not tainted 6.12.0-rc2-syzkaller-g87d6aab2389e #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_populate_inode+0x17c1/0x17e0 fs/ocfs2/inode.c:336 Code: de e8 63 fd 07 fe 45 84 f6 75 2f e8 59 fa 07 fe 49 bc 00 00 00 00 00 fc ff df 4c 8b 6c 24 20 e9 a8 f1 ff ff e8 40 fa 07 fe 90 <0f> 0b e8 38 fa 07 fe 90 0f 0b 90 e9 bb fe ff ff e8 2a fa 07 fe e8 RSP: 0018:ffffc900018b6d40 EFLAGS: 00010293 RAX: ffffffff838cec30 RBX: 0000000000000020 RCX: ffff88801f19a440 RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000000 RBP: ffffc900018b6e70 R08: ffffffff838cdf3b R09: 1ffffffff2039da5 R10: dffffc0000000000 R11: fffffbfff2039da6 R12: dffffc0000000000 R13: ffff888040c84fb8 R14: 0000000000000001 R15: ffff888052ad2e2c FS: 00007f3041a086c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbaca395ed8 CR3: 0000000012776000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:542 [inline] ocfs2_iget+0x1162/0x2180 fs/ocfs2/inode.c:159 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x352/0x7b0 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x32c/0x730 fs/ocfs2/super.c:457 ocfs2_initialize_super fs/ocfs2/super.c:2248 [inline] ocfs2_fill_super+0x2f47/0x5750 fs/ocfs2/super.c:994 mount_bdev+0x20a/0x2d0 fs/super.c:1679 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2b0 fs/super.c:1800 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3040b7f69a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3041a07e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3041a07ef0 RCX: 00007f3040b7f69a RDX: 0000000020004480 RSI: 00000000200044c0 RDI: 00007f3041a07eb0 RBP: 0000000020004480 R08: 00007f3041a07ef0 R09: 0000000000800401 R10: 0000000000800401 R11: 0000000000000246 R12: 00000000200044c0 R13: 00007f3041a07eb0 R14: 000000000000447c R15: 0000000020000080 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_populate_inode+0x17c1/0x17e0 fs/ocfs2/inode.c:336 Code: de e8 63 fd 07 fe 45 84 f6 75 2f e8 59 fa 07 fe 49 bc 00 00 00 00 00 fc ff df 4c 8b 6c 24 20 e9 a8 f1 ff ff e8 40 fa 07 fe 90 <0f> 0b e8 38 fa 07 fe 90 0f 0b 90 e9 bb fe ff ff e8 2a fa 07 fe e8 RSP: 0018:ffffc900018b6d40 EFLAGS: 00010293 RAX: ffffffff838cec30 RBX: 0000000000000020 RCX: ffff88801f19a440 RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000000 RBP: ffffc900018b6e70 R08: ffffffff838cdf3b R09: 1ffffffff2039da5 R10: dffffc0000000000 R11: fffffbfff2039da6 R12: dffffc0000000000 R13: ffff888040c84fb8 R14: 0000000000000001 R15: ffff888052ad2e2c FS: 00007f3041a086c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbaca395ed8 CR3: 0000000012776000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400