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: 0 PID: 3694 Comm: syz-executor.1 Not tainted 4.19.107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:__nf_nat_l4proto_find net/netfilter/nf_nat_core.c:73 [inline] RIP: 0010:get_unique_tuple+0x27a/0x1d50 net/netfilter/nf_nat_core.c:336 Code: c1 e9 03 80 3c 11 00 0f 85 cd 17 00 00 4a 8b 14 e5 a0 15 8e 89 4c 8d 24 c2 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 99 17 00 00 49 8b 04 24 48 89 85 08 ff ff ff e8 RSP: 0018:ffff88803c5d6e18 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88803c5d6fc0 RCX: 1ffffffff131c2c4 RDX: 0000000000000000 RSI: ffffffff85d1e5a7 RDI: ffffffff898e1620 RBP: ffff88803c5d6f70 R08: ffff88803f364700 R09: ffffed1015ce4733 R10: ffffed1015ce4732 R11: ffff8880ae723993 R12: 0000000000000000 R13: 0000000000000001 R14: ffff88803c5d7010 R15: ffff88807d7dd000 FS: 00007fe7ca6bc700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020013ff4 CR3: 00000000a4b61000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_nat_setup_info+0x1c3/0x840 net/netfilter/nf_nat_core.c:431 __nf_nat_alloc_null_binding+0x164/0x1d0 net/netfilter/nf_nat_core.c:490 nfnetlink_parse_nat_setup+0x38f/0x410 net/netfilter/nf_nat_core.c:882 ctnetlink_parse_nat_setup+0xb6/0x640 net/netfilter/nf_conntrack_netlink.c:1521 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1591 [inline] ctnetlink_create_conntrack+0x4b7/0x1280 net/netfilter/nf_conntrack_netlink.c:1984 ctnetlink_new_conntrack+0x4f5/0xde0 net/netfilter/nf_conntrack_netlink.c:2114 nfnetlink_rcv_msg+0xc9e/0xf4b net/netfilter/nfnetlink.c:228 netlink_rcv_skb+0x160/0x410 net/netlink/af_netlink.c:2454 nfnetlink_rcv+0x1b2/0x420 net/netfilter/nfnetlink.c:560 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x4d7/0x6a0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x80b/0xcd0 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0xec/0x1b0 net/socket.c:2153 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c479 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:00007fe7ca6bbc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fe7ca6bc6d4 RCX: 000000000045c479 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000004 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000914 R14: 00000000004cb741 R15: 000000000076bf2c Modules linked in: ---[ end trace 0d323777a6e7b4d3 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:__nf_nat_l4proto_find net/netfilter/nf_nat_core.c:73 [inline] RIP: 0010:get_unique_tuple+0x27a/0x1d50 net/netfilter/nf_nat_core.c:336 Code: c1 e9 03 80 3c 11 00 0f 85 cd 17 00 00 4a 8b 14 e5 a0 15 8e 89 4c 8d 24 c2 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 99 17 00 00 49 8b 04 24 48 89 85 08 ff ff ff e8 RSP: 0018:ffff88803c5d6e18 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88803c5d6fc0 RCX: 1ffffffff131c2c4 RDX: 0000000000000000 RSI: ffffffff85d1e5a7 RDI: ffffffff898e1620 validate_nla: 77 callbacks suppressed netlink: 'syz-executor.4': attribute type 2 has an invalid length. RBP: ffff88803c5d6f70 R08: ffff88803f364700 R09: ffffed1015ce4733 netlink: 'syz-executor.4': attribute type 2 has an invalid length. R10: ffffed1015ce4732 R11: ffff8880ae723993 R12: 0000000000000000 netlink: 'syz-executor.4': attribute type 1 has an invalid length. R13: 0000000000000001 R14: ffff88803c5d7010 R15: ffff88807d7dd000 FS: 00007fe7ca6bc700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a24000 CR3: 00000000a4b61000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400