kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9008 Comm: syz-executor.1 Not tainted 5.4.10-syzkaller-00217-gf5f770e495ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline] RIP: 0010:net_generic include/net/netns/generic.h:45 [inline] RIP: 0010:nf_ct_netns_do_get+0x53/0x560 net/netfilter/nf_conntrack_proto.c:449 Code: 00 00 fc ff df 42 8a 04 28 84 c0 0f 85 67 04 00 00 8b 1d 04 9e 7f 01 e8 fb 59 3b fe 4d 8d be 30 0c 00 00 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 3e e2 7a fe 4c 89 75 d0 48 c1 e3 RSP: 0018:ffff8881cb70f630 EFLAGS: 00010202 RAX: 0000000000000186 RBX: 000000000000000a RCX: dffffc0000000000 RDX: ffffc9000239d000 RSI: 0000000000003ed6 RDI: 0000000000003ed7 RBP: ffff8881cb70f660 R08: 0000000000000001 R09: ffffffff82f59d65 R10: ffff8881cfa5bb00 R11: 0000000000000002 R12: 0000000000000003 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000c30 FS: 00007fb1a07df700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000176faa8 CR3: 00000001d7a3d001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_ct_netns_get+0xf3/0x420 net/netfilter/nf_conntrack_proto.c:601 connmark_tg_check+0x57/0x100 net/netfilter/xt_connmark.c:106 xt_check_target+0x70f/0xbc0 net/netfilter/x_tables.c:1019 check_target net/ipv4/netfilter/arp_tables.c:399 [inline] find_check_entry net/ipv4/netfilter/arp_tables.c:422 [inline] translate_table+0x1b44/0x2270 net/ipv4/netfilter/arp_tables.c:572 do_replace net/ipv4/netfilter/arp_tables.c:977 [inline] do_arpt_set_ctl+0x385/0x7f0 net/ipv4/netfilter/arp_tables.c:1456 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x28e/0x2b0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0xc7/0xe0 net/ipv4/ip_sockglue.c:1260 udp_setsockopt+0x79/0x90 net/ipv4/udp.c:2637 sock_common_setsockopt+0x99/0xb0 net/core/sock.c:3151 __sys_setsockopt+0x4ee/0x8b0 net/socket.c:2085 __do_sys_setsockopt net/socket.c:2101 [inline] __se_sys_setsockopt net/socket.c:2098 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2098 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45af49 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb1a07dec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045af49 RDX: 0000000000000060 RSI: 0a02000000000000 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020000880 R11: 0000000000000246 R12: 00007fb1a07df6d4 R13: 00000000004d3440 R14: 00000000004e4298 R15: 00000000ffffffff Modules linked in: ---[ end trace d537eb2feb0654d7 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline] RIP: 0010:net_generic include/net/netns/generic.h:45 [inline] RIP: 0010:nf_ct_netns_do_get+0x53/0x560 net/netfilter/nf_conntrack_proto.c:449 Code: 00 00 fc ff df 42 8a 04 28 84 c0 0f 85 67 04 00 00 8b 1d 04 9e 7f 01 e8 fb 59 3b fe 4d 8d be 30 0c 00 00 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 ff e8 3e e2 7a fe 4c 89 75 d0 48 c1 e3 RSP: 0018:ffff8881cb70f630 EFLAGS: 00010202 RAX: 0000000000000186 RBX: 000000000000000a RCX: dffffc0000000000 RDX: ffffc9000239d000 RSI: 0000000000003ed6 RDI: 0000000000003ed7 RBP: ffff8881cb70f660 R08: 0000000000000001 R09: ffffffff82f59d65 R10: ffff8881cfa5bb00 R11: 0000000000000002 R12: 0000000000000003 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000c30 FS: 00007fb1a07df700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6d686e5000 CR3: 00000001d7a3d003 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400