__do_sys_munmap mm/mmap.c:1077 [inline] __se_sys_munmap mm/mmap.c:1074 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:1074 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1531! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 16159 Comm: syz.1.2844 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:folio_end_read+0x22e/0x230 mm/filemap.c:1531 Code: 54 c7 ff 48 89 df 48 c7 c6 80 84 74 8b e8 8a 89 2d ff 90 0f 0b e8 92 54 c7 ff 48 89 df 48 c7 c6 e0 7c 74 8b e8 73 89 2d ff 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa RSP: 0018:ffffc900052c6388 EFLAGS: 00010246 RAX: e548e62f3a24b200 RBX: ffffea00014695c0 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d78e538 RDI: 00000000ffffffff RBP: 0000000000000001 R08: ffffffff8f7de477 R09: 1ffffffff1efbc8e R10: dffffc0000000000 R11: fffffbfff1efbc8f R12: 1ffffd400028d2b9 R13: 1ffffd400028d2b8 R14: ffffea00014695c8 R15: 0000000000000008 FS: 00007f435c1bc6c0(0000) GS:ffff888125ebc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9818ff0bf0 CR3: 000000005de5c000 CR4: 00000000003526f0 Call Trace: iomap_read_folio+0x373/0x580 fs/iomap/buffered-io.c:578 iomap_bio_read_folio include/linux/iomap.h:598 [inline] xfs_vm_read_folio+0x9e/0xe0 fs/xfs/xfs_aops.c:745 filemap_read_folio+0x117/0x380 mm/filemap.c:2496 filemap_update_page mm/filemap.c:2583 [inline] filemap_get_pages+0x1692/0x1df0 mm/filemap.c:2713 filemap_read+0x3f6/0x11a0 mm/filemap.c:2800 xfs_file_buffered_read+0x182/0x340 fs/xfs/xfs_file.c:287 xfs_file_read_iter+0x280/0x510 fs/xfs/xfs_file.c:312 __kernel_read+0x4cf/0x960 fs/read_write.c:530 integrity_kernel_read+0x89/0xd0 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x85e/0x16f0 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x428/0x8f0 security/integrity/ima/ima_api.c:293 process_measurement+0x1121/0x1a40 security/integrity/ima/ima_main.c:405 ima_file_check+0xd7/0x120 security/integrity/ima/ima_main.c:656 security_file_post_open+0xbb/0x290 security/security.c:2652 do_open fs/namei.c:4599 [inline] path_openat+0x341d/0x3d90 fs/namei.c:4756 do_filp_open+0x1fa/0x410 fs/namei.c:4783 do_sys_openat2+0x121/0x1c0 fs/open.c:1432 do_sys_open fs/open.c:1447 [inline] __do_sys_openat fs/open.c:1463 [inline] __se_sys_openat fs/open.c:1458 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1458 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f435b38f6c9 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:00007f435c1bc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f435b5e5fa0 RCX: 00007f435b38f6c9 RDX: 000000000014b442 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f435b411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f435b5e6038 R14: 00007f435b5e5fa0 R15: 00007ffdedfecb58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_end_read+0x22e/0x230 mm/filemap.c:1531 Code: 54 c7 ff 48 89 df 48 c7 c6 80 84 74 8b e8 8a 89 2d ff 90 0f 0b e8 92 54 c7 ff 48 89 df 48 c7 c6 e0 7c 74 8b e8 73 89 2d ff 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa RSP: 0018:ffffc900052c6388 EFLAGS: 00010246 RAX: e548e62f3a24b200 RBX: ffffea00014695c0 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d78e538 RDI: 00000000ffffffff RBP: 0000000000000001 R08: ffffffff8f7de477 R09: 1ffffffff1efbc8e R10: dffffc0000000000 R11: fffffbfff1efbc8f R12: 1ffffd400028d2b9 R13: 1ffffd400028d2b8 R14: ffffea00014695c8 R15: 0000000000000008 FS: 00007f435c1bc6c0(0000) GS:ffff888125ebc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd27f1b4198 CR3: 000000005de5c000 CR4: 00000000003526f0