entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:868! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 5856 Comm: syz-executor307 Not tainted 6.16.0-rc6-next-20250718-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867 Code: 41 c9 ff 4c 89 e7 48 c7 c6 20 3f b4 8b e8 9b c1 10 00 90 0f 0b e8 23 41 c9 ff 4c 89 e7 48 c7 c6 00 36 b4 8b e8 84 c1 10 00 90 <0f> 0b e8 0c 41 c9 ff 4c 89 e7 48 c7 c6 20 3f b4 8b e8 6d c1 10 00 RSP: 0018:ffffc900040373a0 EFLAGS: 00010246 RAX: 7706b19e9bfac300 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8dc6a0fe RDI: 00000000ffffffff RBP: ffffc90004037510 R08: ffffffff8fe3cf37 R09: 1ffffffff1fc79e6 R10: dffffc0000000000 R11: fffffbfff1fc79e7 R12: ffffea0001c4b680 R13: dffffc0000000000 R14: ffffea0001c4b688 R15: 0000000000000004 FS: 000055557f05b380(0000) GS:ffff8881258ab000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f561856e110 CR3: 0000000072a82000 CR4: 00000000003526f0 Call Trace: filemap_add_folio+0xd5/0x270 mm/filemap.c:969 ra_alloc_folio mm/readahead.c:448 [inline] page_cache_ra_order+0x643/0xd40 mm/readahead.c:506 do_sync_mmap_readahead+0x25e/0x7a0 mm/filemap.c:-1 filemap_fault+0x755/0x13d0 mm/filemap.c:3457 __do_fault+0x138/0x390 mm/memory.c:5158 do_read_fault mm/memory.c:5579 [inline] do_fault mm/memory.c:5713 [inline] do_pte_missing mm/memory.c:4240 [inline] handle_pte_fault mm/memory.c:6058 [inline] __handle_mm_fault+0x3611/0x5440 mm/memory.c:6201 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6370 do_user_addr_fault+0x764/0x1390 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__get_user_4+0x14/0x20 arch/x86/lib/getuser.S:88 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 ba 00 f0 ff ff ff 7f 00 00 48 39 d0 48 0f 47 c2 0f 01 cb <8b> 10 31 c0 0f 01 ca c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90004037d38 EFLAGS: 00050287 RAX: 0000200000000000 RBX: 1ffff92000806fac RCX: 7706b19e9bfac300 RDX: 00007ffffffff000 RSI: ffffffff8de5b067 RDI: ffffffff8c04d400 RBP: ffffc90004037df0 R08: 0000000000000000 R09: ffffffff820bcfa0 R10: dffffc0000000000 R11: ffffed1003751f21 R12: ffff888023100880 R13: dffffc0000000000 R14: ffff88807211ae00 R15: 0000200000000000 blkdev_bszset+0xfb/0x220 block/ioctl.c:545 blkdev_ioctl+0x430/0x6d0 block/ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f56184f4b69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc67551ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000200000000000 RCX: 00007f56184f4b69 RDX: 0000200000000000 RSI: 0000000040081271 RDI: 0000000000000003 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc67551f18 R14: 00007ffc67551d20 R15: 00007ffc67551d10 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867 Code: 41 c9 ff 4c 89 e7 48 c7 c6 20 3f b4 8b e8 9b c1 10 00 90 0f 0b e8 23 41 c9 ff 4c 89 e7 48 c7 c6 00 36 b4 8b e8 84 c1 10 00 90 <0f> 0b e8 0c 41 c9 ff 4c 89 e7 48 c7 c6 20 3f b4 8b e8 6d c1 10 00 RSP: 0018:ffffc900040373a0 EFLAGS: 00010246 RAX: 7706b19e9bfac300 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8dc6a0fe RDI: 00000000ffffffff RBP: ffffc90004037510 R08: ffffffff8fe3cf37 R09: 1ffffffff1fc79e6 R10: dffffc0000000000 R11: fffffbfff1fc79e7 R12: ffffea0001c4b680 R13: dffffc0000000000 R14: ffffea0001c4b688 R15: 0000000000000004 FS: 000055557f05b380(0000) GS:ffff8881258ab000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f561856e110 CR3: 0000000072a82000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 48 ba 00 f0 ff ff ff movabs $0x7ffffffff000,%rdx 1d: 7f 00 00 20: 48 39 d0 cmp %rdx,%rax 23: 48 0f 47 c2 cmova %rdx,%rax 27: 0f 01 cb stac * 2a: 8b 10 mov (%rax),%edx <-- trapping instruction 2c: 31 c0 xor %eax,%eax 2e: 0f 01 ca clac 31: c3 ret 32: cc int3 33: cc int3 34: cc int3 35: cc int3 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop