------------[ cut here ]------------
kernel BUG at mm/truncate.c:637!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 7059 Comm: syz.0.223 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:invalidate_inode_pages2_range+0xdc7/0xe10 mm/truncate.c:637
Code: c6 20 ed 13 8c e8 e9 01 0c 00 90 0f 0b e8 21 29 c2 ff 4c 89 ef 48 c7 c6 60 ec 13 8c e8 d2 01 0c 00 90 0f 0b e8 0a 29 c2 ff 90 <0f> 0b e8 02 29 c2 ff 4c 89 ef 48 c7 c6 20 ed 13 8c e8 b3 01 0c 00
RSP: 0018:ffffc90004def3e0 EFLAGS: 00010283
RAX: ffffffff81fcfb16 RBX: ffffea0001501148 RCX: 0000000000080000
RDX: ffffc9000d89f000 RSI: 0000000000022890 RDI: 0000000000022891
RBP: ffffc90004def7a0 R08: ffffffff81fcfc52 R09: 1ffffd40002a022e
R10: dffffc0000000000 R11: fffff940002a022f R12: 0000000000000014
R13: ffffea0001501140 R14: ffffea0001501158 R15: 1ffffd40002a022b
FS: 00007fe35fda36c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe35fda2f98 CR3: 0000000022348000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
blkdev_fallocate+0x262/0x490 block/fops.c:856
vfs_fallocate+0x623/0x7a0 fs/open.c:338
madvise_remove mm/madvise.c:1025 [inline]
madvise_vma_behavior mm/madvise.c:1260 [inline]
madvise_walk_vmas mm/madvise.c:1502 [inline]
do_madvise+0x23c9/0x4d90 mm/madvise.c:1689
__do_sys_madvise mm/madvise.c:1705 [inline]
__se_sys_madvise mm/madvise.c:1703 [inline]
__x64_sys_madvise+0xa6/0xc0 mm/madvise.c:1703
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:0x7fe35ef85d29
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:00007fe35fda3038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007fe35f176160 RCX: 00007fe35ef85d29
RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000000020000000
RBP: 00007fe35f001aa8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fe35f176160 R15: 00007ffe789c5788
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:invalidate_inode_pages2_range+0xdc7/0xe10 mm/truncate.c:637
Code: c6 20 ed 13 8c e8 e9 01 0c 00 90 0f 0b e8 21 29 c2 ff 4c 89 ef 48 c7 c6 60 ec 13 8c e8 d2 01 0c 00 90 0f 0b e8 0a 29 c2 ff 90 <0f> 0b e8 02 29 c2 ff 4c 89 ef 48 c7 c6 20 ed 13 8c e8 b3 01 0c 00
RSP: 0018:ffffc90004def3e0 EFLAGS: 00010283
RAX: ffffffff81fcfb16 RBX: ffffea0001501148 RCX: 0000000000080000
RDX: ffffc9000d89f000 RSI: 0000000000022890 RDI: 0000000000022891
RBP: ffffc90004def7a0 R08: ffffffff81fcfc52 R09: 1ffffd40002a022e
R10: dffffc0000000000 R11: fffff940002a022f R12: 0000000000000014
R13: ffffea0001501140 R14: ffffea0001501158 R15: 1ffffd40002a022b
FS: 00007fe35fda36c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020004280 CR3: 0000000022348000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400