general protection fault, probably for non-canonical address 0xe000ea0000ee0ee5: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x0007700007707728-0x000770000770772f] CPU: 0 PID: 6847 Comm: syz-executor.1 Not tainted 5.9.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:xt_target_to_user+0x4f/0x200 net/netfilter/x_tables.c:323 Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 ae 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 4b 08 48 8d 79 2d 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 16 01 00 00 RSP: 0018:ffffc900016e7b98 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88800010d1e0 RCX: 0007700007707700 RDX: 0000ee0000ee0ee5 RSI: ffffffff869078cb RDI: 000770000770772d RBP: 00007ffe97a66958 R08: 0000000000000000 R09: ffffc90000f0502f R10: 0000000000000070 R11: 0000000000000000 R12: ffff88800010d170 R13: ffff88800010d1e8 R14: 00007ffe97a667b8 R15: 00000000000001e0 FS: 00000000024be940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000744138 CR3: 0000000062dc1000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_entries_to_user net/ipv4/netfilter/ip_tables.c:860 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1023 [inline] do_ipt_get_ctl+0x81f/0x9d0 net/ipv4/netfilter/ip_tables.c:1660 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1778 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1757 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:0x4600ca 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:00007ffe97a66708 EFLAGS: 00000202 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ffe97a66730 RCX: 00000000004600ca RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000749e60 R08: 00007ffe97a6672c R09: 0000000000004000 R10: 00007ffe97a66790 R11: 0000000000000202 R12: 00007ffe97a66790 R13: 0000000000000003 R14: 00000000007490e0 R15: 0000000000000000 Modules linked in: ---[ end trace 4a6a43471d271f2e ]--- RIP: 0010:xt_target_to_user+0x4f/0x200 net/netfilter/x_tables.c:323 Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 ae 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 4b 08 48 8d 79 2d 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 16 01 00 00 RSP: 0018:ffffc900016e7b98 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88800010d1e0 RCX: 0007700007707700 RDX: 0000ee0000ee0ee5 RSI: ffffffff869078cb RDI: 000770000770772d RBP: 00007ffe97a66958 R08: 0000000000000000 R09: ffffc90000f0502f R10: 0000000000000070 R11: 0000000000000000 R12: ffff88800010d170 R13: ffff88800010d1e8 R14: 00007ffe97a667b8 R15: 00000000000001e0 FS: 00000000024be940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000744138 CR3: 0000000062dc1000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400