general protection fault, probably for non-canonical address 0xfc9ffbfffff1024b: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0xe4ffffffff881258-0xe4ffffffff88125f] CPU: 1 PID: 27233 Comm: syz-executor.4 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:ffffc900039fe9a8 EFLAGS: 00010a06 RAX: dffffc0000000000 RBX: e4ffffffff881213 RCX: ffffc9000c244000 RDX: 1c9ffffffff1024b RSI: ffffffff81b14338 RDI: e4ffffffff88125b RBP: ffffea0004ffa600 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000102cca R14: 0000000000000000 R15: ffff888029a940d1 FS: 00007f1579023700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558fedf52a58 CR3: 000000007d9f0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shrink_folio_list+0x291e/0x3e60 mm/vmscan.c:2068 evict_folios+0x794/0x1940 mm/vmscan.c:5181 try_to_shrink_lruvec+0x82c/0xb90 mm/vmscan.c:5357 lru_gen_shrink_lruvec mm/vmscan.c:5494 [inline] shrink_lruvec+0x216/0x2810 mm/vmscan.c:6269 shrink_node_memcgs mm/vmscan.c:6489 [inline] shrink_node+0x7ad/0x3690 mm/vmscan.c:6524 shrink_zones mm/vmscan.c:6763 [inline] do_try_to_free_pages+0x3cc/0x18f0 mm/vmscan.c:6825 try_to_free_mem_cgroup_pages+0x368/0x840 mm/vmscan.c:7140 try_charge_memcg+0x508/0x13b0 mm/memcontrol.c:2695 obj_cgroup_charge_pages mm/memcontrol.c:3109 [inline] __memcg_kmem_charge_page+0x16e/0x3c0 mm/memcontrol.c:3135 __alloc_pages+0x1f3/0x4a0 mm/page_alloc.c:4529 alloc_pages+0x1aa/0x270 mm/mempolicy.c:2279 vm_area_alloc_pages mm/vmalloc.c:3059 [inline] __vmalloc_area_node mm/vmalloc.c:3135 [inline] __vmalloc_node_range+0xb1c/0x14c0 mm/vmalloc.c:3316 kvmalloc_node+0x156/0x1a0 mm/util.c:629 kvmalloc include/linux/slab.h:720 [inline] xt_alloc_table_info+0x40/0xa0 net/netfilter/x_tables.c:1192 do_replace net/ipv4/netfilter/ip_tables.c:1122 [inline] do_ipt_set_ctl+0x514/0xb10 net/ipv4/netfilter/ip_tables.c:1627 nf_setsockopt+0x87/0xe0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0xf2/0x110 net/ipv4/ip_sockglue.c:1467 raw_setsockopt+0x23e/0x2d0 net/ipv4/raw.c:835 __sys_setsockopt+0x2c6/0x5b0 net/socket.c:2263 __do_sys_setsockopt net/socket.c:2274 [inline] __se_sys_setsockopt net/socket.c:2271 [inline] __x64_sys_setsockopt+0xbe/0x160 net/socket.c:2271 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:0x7f157828c389 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:00007f1579023168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f15783abf80 RCX: 00007f157828c389 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f15782d7493 R08: 0000000000000258 R09: 0000000000000000 R10: 0000000020000500 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffce764ad1f R14: 00007f1579023300 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:ffffc900039fe9a8 EFLAGS: 00010a06 RAX: dffffc0000000000 RBX: e4ffffffff881213 RCX: ffffc9000c244000 RDX: 1c9ffffffff1024b RSI: ffffffff81b14338 RDI: e4ffffffff88125b RBP: ffffea0004ffa600 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000102cca R14: 0000000000000000 R15: ffff888029a940d1 FS: 00007f1579023700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558fedf96478 CR3: 000000007d9f0000 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