------------[ cut here ]------------ WARNING: CPU: 1 PID: 8506 at fs/inode.c:1148 lock_two_nondirectories+0xca/0x100 fs/inode.c:1148 Modules linked in: CPU: 1 PID: 8506 Comm: syz-executor.0 Not tainted 6.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:lock_two_nondirectories+0xca/0x100 fs/inode.c:1148 Code: ff 66 41 81 fc 00 40 74 1b e8 c2 3d 92 ff 48 89 ee 48 89 df 5b 5d b9 04 00 00 00 31 d2 41 5c e9 5c fd ff ff e8 a7 3d 92 ff 90 <0f> 0b 90 eb da e8 9c 3d 92 ff 90 0f 0b 90 eb 83 48 89 df e8 5e e4 RSP: 0018:ffffc90015acfc38 EFLAGS: 00010283 RAX: 0000000000014a7f RBX: ffff888075f6dcb0 RCX: ffffc90004dc1000 RDX: 0000000000040000 RSI: ffffffff81f55059 RDI: 0000000000000003 RBP: ffff888075f682b0 R08: 0000000000000003 R09: 0000000000004000 R10: 0000000000004000 R11: ffffffff915fc8a0 R12: 0000000000004000 R13: ffff8880173f4c80 R14: ffff888075f682b0 R15: ffffffff8d195740 FS: 00007f566b7fe6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002725b000 CR4: 0000000000350ef0 Call Trace: swap_inode_boot_loader fs/ext4/ioctl.c:391 [inline] __ext4_ioctl+0x118d/0x4570 fs/ext4/ioctl.c:1437 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f566cc7cba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f566b7fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f566cd9bf80 RCX: 00007f566cc7cba9 RDX: 0000000000000000 RSI: 0000000000006611 RDI: 0000000000000004 RBP: 00007f566ccc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f566cd9bf80 R15: 00007fff181cd7c8