------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 7458 Comm: syz-executor.3 Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809ff26440 task.stack: ffff88802d9e0000 RIP: 0010:__phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: 0018:ffff88802d9e7a08 EFLAGS: 00010297 RAX: ffff88809ff26440 RBX: 7777777777777777 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88809ff26cc0 RDI: 7777777777777777 RBP: 77777777f7777777 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 7777eef777777777 R13: ffff88802d9e7a60 R14: 0000000000000000 R15: 0000000000000282 FS: 0000000002a41940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004ffff8 CR3: 000000009543c000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: virt_to_head_page include/linux/mm.h:600 [inline] qlink_to_cache mm/kasan/quarantine.c:127 [inline] qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:163 quarantine_reduce+0x140/0x170 mm/kasan/quarantine.c:259 kasan_kmalloc+0x95/0xe0 mm/kasan/kasan.c:536 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc_node mm/slab.c:3333 [inline] kmem_cache_alloc_node_trace+0x144/0x7b0 mm/slab.c:3659 __do_kmalloc_node mm/slab.c:3681 [inline] __kmalloc_node+0x38/0x70 mm/slab.c:3689 kmalloc_node include/linux/slab.h:530 [inline] __vmalloc_area_node mm/vmalloc.c:1691 [inline] __vmalloc_node_range+0x1ab/0x6c0 mm/vmalloc.c:1764 __vmalloc_node mm/vmalloc.c:1815 [inline] __vmalloc_node_flags mm/vmalloc.c:1829 [inline] vzalloc+0x42/0x50 mm/vmalloc.c:1868 xt_counters_alloc+0x30/0x50 net/netfilter/x_tables.c:1216 __do_replace+0x79/0x580 net/ipv6/netfilter/ip6_tables.c:1069 do_replace net/ipv6/netfilter/ip6_tables.c:1161 [inline] do_ip6t_set_ctl+0x255/0x3a3 net/ipv6/netfilter/ip6_tables.c:1685 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5f/0xb0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt net/ipv6/ipv6_sockglue.c:930 [inline] ipv6_setsockopt+0xfd/0x130 net/ipv6/ipv6_sockglue.c:914 tcp_setsockopt net/ipv4/tcp.c:2826 [inline] tcp_setsockopt+0x7b/0xc0 net/ipv4/tcp.c:2820 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x110/0x1e0 net/socket.c:1844 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45f37a RSP: 002b:00007fff637f4138 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fff637f4160 RCX: 000000000045f37a RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 000000000071dca0 R08: 00000000000003b8 R09: 0000000000004000 R10: 000000000071bb40 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000000 R14: 0000000000000029 R15: 000000000071bae0 Code: c2 7f 04 84 d2 75 26 0f b6 0d 56 51 68 07 4c 89 e0 48 d3 e8 48 85 c0 75 0d e8 7d 8a 30 00 4c 89 e0 5b 5d 41 5c c3 e8 70 8a 30 00 <0f> 0b 48 c7 c7 49 0c 92 88 e8 f2 db 59 00 eb cc e8 5b 8a 30 00 RIP: __phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: ffff88802d9e7a08 ---[ end trace 95748702225a972c ]---