netlink: 'syz-executor1': attribute type 3 has an invalid length. 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: 9759 Comm: syz-executor1 Not tainted 4.19.0-rc4-next-20180918+ #74 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_get_be32 include/net/netlink.h:1082 [inline] RIP: 0010:ctnetlink_alloc_filter+0xb9/0x200 net/netfilter/nf_conntrack_netlink.c:843 Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 57 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 40 49 8d 7d 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 06 RSP: 0018:ffff880183dd7290 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff8801d7a7a080 RCX: ffffc90006c85000 RDX: 0000000000000000 RSI: ffffffff864dfefd RDI: 0000000000000004 RBP: ffff880183dd72a8 R08: ffff88017fc9a380 R09: ffffed003b5a5b57 R10: ffffed003b5a5b57 R11: ffff8801dad2dabb R12: ffff880183dd7500 R13: 0000000000000000 R14: 0000000000000304 R15: 0000000000000020 FS: 00007fea04acb700(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c444a99000 CR3: 000000016b054000 CR4: 00000000001406e0 Call Trace: ctnetlink_flush_conntrack net/netfilter/nf_conntrack_netlink.c:1227 [inline] ctnetlink_del_conntrack+0x65d/0x840 net/netfilter/nf_conntrack_netlink.c:1264 nfnetlink_rcv_msg+0xdd3/0x10c0 net/netfilter/nfnetlink.c:228 netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2447 nfnetlink_rcv+0x1c0/0x4d0 net/netfilter/nfnetlink.c:560 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x5a5/0x760 net/netlink/af_netlink.c:1336 netlink_sendmsg+0xa18/0xfc0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xd5/0x120 net/socket.c:632 ___sys_sendmsg+0x7fd/0x930 net/socket.c:2117 __sys_sendmsg+0x11d/0x280 net/socket.c:2155 __do_sys_sendmsg net/socket.c:2164 [inline] __se_sys_sendmsg net/socket.c:2162 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2162 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4572d9 Code: fd b4 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 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fea04acac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fea04acb6d4 RCX: 00000000004572d9 RDX: 0000000000000000 RSI: 0000000020011fc8 RDI: 0000000000000005 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d4b60 R14: 00000000004c90ab R15: 0000000000000000 Modules linked in: kobject: 'loop5' (0000000090f20d56): kobject_uevent_env kobject: 'loop5' (0000000090f20d56): fill_kobj_path: path = '/devices/virtual/block/loop5' sctp: [Deprecated]: syz-executor5 (pid 9768) Use of int in maxseg socket option. Use struct sctp_assoc_value instead ---[ end trace 3144920dc13188f8 ]--- RIP: 0010:nla_get_be32 include/net/netlink.h:1082 [inline] RIP: 0010:ctnetlink_alloc_filter+0xb9/0x200 net/netfilter/nf_conntrack_netlink.c:843 Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 57 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 40 49 8d 7d 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 06 RSP: 0018:ffff880183dd7290 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff8801d7a7a080 RCX: ffffc90006c85000 RDX: 0000000000000000 RSI: ffffffff864dfefd RDI: 0000000000000004 RBP: ffff880183dd72a8 R08: ffff88017fc9a380 R09: ffffed003b5a5b57 R10: ffffed003b5a5b57 R11: ffff8801dad2dabb R12: ffff880183dd7500 R13: 0000000000000000 R14: 0000000000000304 R15: 0000000000000020 FS: 00007fea04acb700(0000) GS:ffff8801dac00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fea04aa9db8 CR3: 000000016b054000 CR4: 00000000001406f0