loop0: detected capacity change from 0 to 512 EXT4-fs: Ignoring removed bh option EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. ------------[ cut here ]------------ WARNING: fs/inode.c:1246 at lock_two_nondirectories+0x135/0x180 fs/inode.c:1246, CPU#1: syz.0.17/6393 Modules linked in: CPU: 1 UID: 0 PID: 6393 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:lock_two_nondirectories+0x135/0x180 fs/inode.c:1246 Code: b6 e2 08 cc e8 0c 9b 83 ff 49 81 c7 d8 00 00 00 4c 89 ff be 04 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 00 ec 60 ff e8 eb 9a 83 ff <0f> 0b eb 82 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c f1 fe ff ff 4c 89 RSP: 0018:ffffc900034d75f8 EFLAGS: 00010293 RAX: ffffffff8239f4b5 RBX: ffff88805c965938 RCX: ffff888021bf3c80 RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000000004000 RBP: 0000000000004000 R08: ffff88805c9659bb R09: 1ffff1100b92cb37 R10: dffffc0000000000 R11: ffffed100b92cb38 R12: ffff88805c964f98 R13: ffff88805c965938 R14: ffff88805c964f98 R15: dffffc0000000000 FS: 00007f1e4e8a66c0(0000) GS:ffff8881266d9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000777b2000 CR4: 00000000003526f0 Call Trace: swap_inode_boot_loader+0x70/0x1080 fs/ext4/ioctl.c:394 __ext4_ioctl fs/ext4/ioctl.c:1716 [inline] ext4_ioctl+0x2065/0x4770 fs/ext4/ioctl.c:1917 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x8a/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f1e4d98f749 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:00007f1e4e8a6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1e4dbe5fa0 RCX: 00007f1e4d98f749 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f1e4da13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1e4dbe6038 R14: 00007f1e4dbe5fa0 R15: 00007ffe6ce844a8