------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7198 Comm: syz-executor.4 Not tainted 5.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: bf fe 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 6b 40 00 48 85 db 75 0d e8 86 6e 40 00 4c 89 e0 5b 5d 41 5c c3 e8 79 6e 40 00 <0f> 0b e8 72 6e 40 00 48 c7 c0 10 50 c9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc900063f7a08 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000777700777770 RCX: ffffffff8135d0e8 RDX: ffff8880a65562c0 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0000777780777770 R08: 0000000000000001 R09: ffffffff8ce2da57 R10: 0000777780777770 R11: 0000000000000000 R12: 0000eef700777770 R13: ffffc900063f7a70 R14: 0000000000000200 R15: dffffc0000000000 FS: 00000000022b0940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000745b98 CR3: 000000009175d000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:850 [inline] qlink_to_cache mm/kasan/quarantine.c:128 [inline] qlist_free_all+0xd9/0x170 mm/kasan/quarantine.c:165 quarantine_reduce+0x17e/0x200 mm/kasan/quarantine.c:261 __kasan_kmalloc.constprop.0+0x9e/0xd0 mm/kasan/common.c:442 slab_post_alloc_hook mm/slab.h:518 [inline] slab_alloc_node mm/slab.c:3254 [inline] kmem_cache_alloc_node_trace+0x144/0x430 mm/slab.c:3592 kmalloc_node include/linux/slab.h:572 [inline] kzalloc_node include/linux/slab.h:677 [inline] __get_vm_area_node+0x126/0x3b0 mm/vmalloc.c:2075 __vmalloc_node_range mm/vmalloc.c:2506 [inline] __vmalloc_node mm/vmalloc.c:2554 [inline] vzalloc+0xf2/0x1a0 mm/vmalloc.c:2607 do_ip6t_get_ctl+0x615/0xa10 net/ipv6/netfilter/ip6_tables.c:816 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x1bc/0x270 net/ipv6/ipv6_sockglue.c:1486 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:3876 __sys_getsockopt+0x219/0x4c0 net/socket.c:2173 __do_sys_getsockopt net/socket.c:2188 [inline] __se_sys_getsockopt net/socket.c:2185 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2185 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x46010a Code: b8 34 01 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 3d 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 37 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 1a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:000000000169f6b8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 000000000169f6e0 RCX: 000000000046010a RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000747ca0 R08: 000000000169f6dc R09: 0000000000004000 R10: 000000000169f740 R11: 0000000000000216 R12: 000000000169f740 R13: 0000000000000003 R14: 00000000007461a0 R15: 0000000000000029 Modules linked in: ---[ end trace c6ae40be0f1e26f4 ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: bf fe 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 6b 40 00 48 85 db 75 0d e8 86 6e 40 00 4c 89 e0 5b 5d 41 5c c3 e8 79 6e 40 00 <0f> 0b e8 72 6e 40 00 48 c7 c0 10 50 c9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc900063f7a08 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000777700777770 RCX: ffffffff8135d0e8 RDX: ffff8880a65562c0 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0000777780777770 R08: 0000000000000001 R09: ffffffff8ce2da57 R10: 0000777780777770 R11: 0000000000000000 R12: 0000eef700777770 R13: ffffc900063f7a70 R14: 0000000000000200 R15: dffffc0000000000 FS: 00000000022b0940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3102e000 CR3: 000000009175d000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400