------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6872 Comm: syz-executor.0 Not tainted 5.9.0-rc3-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: 65 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 8e 3f 00 48 85 db 75 0d e8 66 91 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 59 91 3f 00 <0f> 0b e8 52 91 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90005647720 EFLAGS: 00010093 RAX: 0000000000000000 RBX: 0770007707700077 RCX: ffffffff8134b948 RDX: ffff8880516ba540 RSI: ffffffff8134b9a7 RDI: 0000000000000006 RBP: 0770007787700077 R08: 0000000000000000 R09: 0000000000000001 R10: 0770007787700077 R11: 0000000000000000 R12: 077077f707700077 R13: 0000000000000007 R14: fffffbfff156472c R15: ffff888000101280 FS: 00000000026ca940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000748ad8 CR3: 000000009130f000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:848 [inline] virt_to_cache mm/slab.h:419 [inline] kfree+0x84/0x2b0 mm/slab.c:3748 kvfree+0x42/0x50 mm/util.c:603 xt_free_table_info+0xb6/0x180 net/netfilter/x_tables.c:1192 __do_replace+0x696/0x880 net/ipv4/netfilter/ip_tables.c:1086 do_replace net/ipv4/netfilter/ip_tables.c:1139 [inline] do_ipt_set_ctl+0x8f1/0xb61 net/ipv4/netfilter/ip_tables.c:1627 nf_setsockopt+0x83/0xe0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x3c3/0x39d0 net/ipv4/ip_sockglue.c:1436 tcp_setsockopt+0x136/0x24a0 net/ipv4/tcp.c:3333 __sys_setsockopt+0x2db/0x610 net/socket.c:2132 __do_sys_setsockopt net/socket.c:2143 [inline] __se_sys_setsockopt net/socket.c:2140 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2140 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4600ea Code: 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 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 fa 88 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:000000000169f6b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000169f6e0 RCX: 00000000004600ea RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000749e60 R08: 0000000000000408 R09: 0000000000004000 R10: 0000000000748a80 R11: 0000000000000206 R12: 000000000169f740 R13: 0000000000000003 R14: 0000000000748a20 R15: 0000000000000000 Modules linked in: ---[ end trace dce49b4a8a585b93 ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: 65 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 8e 3f 00 48 85 db 75 0d e8 66 91 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 59 91 3f 00 <0f> 0b e8 52 91 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90005647720 EFLAGS: 00010093 RAX: 0000000000000000 RBX: 0770007707700077 RCX: ffffffff8134b948 RDX: ffff8880516ba540 RSI: ffffffff8134b9a7 RDI: 0000000000000006 RBP: 0770007787700077 R08: 0000000000000000 R09: 0000000000000001 R10: 0770007787700077 R11: 0000000000000000 R12: 077077f707700077 R13: 0000000000000007 R14: fffffbfff156472c R15: ffff888000101280 FS: 00000000026ca940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000748ad8 CR3: 000000009130f000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400