general protection fault, probably for non-canonical address 0xfe7ffbfffff038a6: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xf3ffffffff81c530-0xf3ffffffff81c537] CPU: 0 PID: 20536 Comm: syz-executor.1 Not tainted 6.4.0-next-20230705-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:filemap_release_folio+0x1e6/0x2a0 mm/filemap.c:4082 Code: 48 c1 ea 03 80 3c 02 00 0f 85 ac 00 00 00 48 8b 9b e8 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 48 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 90 00 00 00 48 8b 5b 48 48 85 db 74 23 e8 e2 d0 RSP: 0018:ffffc9000651f1b8 EFLAGS: 00010a06 RAX: dffffc0000000000 RBX: f3ffffffff81c4eb RCX: ffffc900048a6000 RDX: 1e7ffffffff038a6 RSI: ffffffff81b14338 RDI: f3ffffffff81c533 RBP: ffffea0000eb8bc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000cc0 R14: 0000000000000000 R15: ffff88807e9c30d1 FS: 00007fcb006fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201bf030 CR3: 00000000167f3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shrink_folio_list+0x291e/0x3e60 mm/vmscan.c:2068 reclaim_folio_list+0xd0/0x390 mm/vmscan.c:2801 reclaim_pages+0x442/0x670 mm/vmscan.c:2837 madvise_cold_or_pageout_pte_range+0x1017/0x1ef0 mm/madvise.c:533 walk_pmd_range mm/pagewalk.c:140 [inline] walk_pud_range mm/pagewalk.c:218 [inline] walk_p4d_range mm/pagewalk.c:253 [inline] walk_pgd_range+0x9e7/0x1470 mm/pagewalk.c:290 __walk_page_range+0x660/0x790 mm/pagewalk.c:392 walk_page_range+0x311/0x4a0 mm/pagewalk.c:490 madvise_pageout_page_range mm/madvise.c:591 [inline] madvise_pageout+0x304/0x570 mm/madvise.c:618 madvise_vma_behavior+0x626/0x21d0 mm/madvise.c:1039 madvise_walk_vmas+0x1c7/0x2b0 mm/madvise.c:1268 do_madvise.part.0+0x274/0x5c0 mm/madvise.c:1448 do_madvise mm/madvise.c:1461 [inline] __do_sys_madvise mm/madvise.c:1461 [inline] __se_sys_madvise mm/madvise.c:1459 [inline] __x64_sys_madvise+0x117/0x150 mm/madvise.c:1459 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcaffa8c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007fcb006fe168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007fcaffbabf80 RCX: 00007fcaffa8c389 RDX: 0000000000000015 RSI: 0000000000800000 RDI: 000000002042f000 RBP: 00007fcaffad7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1806ec7f R14: 00007fcb006fe300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_release_folio+0x1e6/0x2a0 mm/filemap.c:4082 Code: 48 c1 ea 03 80 3c 02 00 0f 85 ac 00 00 00 48 8b 9b e8 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 48 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 90 00 00 00 48 8b 5b 48 48 85 db 74 23 e8 e2 d0 RSP: 0018:ffffc9000651f1b8 EFLAGS: 00010a06 RAX: dffffc0000000000 RBX: f3ffffffff81c4eb RCX: ffffc900048a6000 RDX: 1e7ffffffff038a6 RSI: ffffffff81b14338 RDI: f3ffffffff81c533 RBP: ffffea0000eb8bc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000cc0 R14: 0000000000000000 R15: ffff88807e9c30d1 FS: 00007fcb006fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0081af000 CR3: 00000000167f3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 ac 00 00 00 jne 0xba e: 48 8b 9b e8 01 00 00 mov 0x1e8(%rbx),%rbx 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 8d 7b 48 lea 0x48(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 90 00 00 00 jne 0xc4 34: 48 8b 5b 48 mov 0x48(%rbx),%rbx 38: 48 85 db test %rbx,%rbx 3b: 74 23 je 0x60 3d: e8 .byte 0xe8 3e: e2 d0 loop 0x10