kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 10777 Comm: syz-executor7 Not tainted 4.15.0-rc7+ #253 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nf_tables_dump_obj_done+0x3d/0x70 net/netfilter/nf_tables_api.c:4668 RSP: 0018:ffff8801bc9bf2a0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff845f988d RDX: 0000000000000000 RSI: ffffc90001b47000 RDI: ffff8801cb3f1a30 RBP: ffff8801bc9bf2a8 R08: ffffffff86940cc0 R09: 1ffff10037937e0d R10: ffff8801bc9bf030 R11: 0000000000000002 R12: 1ffff10037937e5d R13: ffffffff845f9880 R14: ffff8801cb3f1a01 R15: ffff8801cb3f1a80 FS: 00007feefebb3700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201d0fe0 CR3: 00000001d87bb004 CR4: 00000000001606f0 Call Trace: netlink_dump+0x97a/0xcf0 net/netlink/af_netlink.c:2218 __netlink_dump_start+0x4f0/0x6d0 net/netlink/af_netlink.c:2286 netlink_dump_start include/linux/netlink.h:214 [inline] nf_tables_getobj+0x401/0xa00 net/netfilter/nf_tables_api.c:4728 nfnetlink_rcv_msg+0xbf0/0xd70 net/netfilter/nfnetlink.c:214 netlink_rcv_skb+0x224/0x470 net/netlink/af_netlink.c:2408 nfnetlink_rcv+0x200/0x1920 net/netfilter/nfnetlink.c:515 netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline] netlink_unicast+0x4ee/0x700 net/netlink/af_netlink.c:1301 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1864 sock_sendmsg_nosec net/socket.c:636 [inline] sock_sendmsg+0xca/0x110 net/socket.c:646 sock_write_iter+0x31a/0x5d0 net/socket.c:915 call_write_iter include/linux/fs.h:1772 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x684/0x970 fs/read_write.c:482 vfs_write+0x189/0x510 fs/read_write.c:544 SYSC_write fs/read_write.c:589 [inline] SyS_write+0xef/0x220 fs/read_write.c:581 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x452ac9 RSP: 002b:00007feefebb2c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 000000000000001f RSI: 00000000201d0fe0 RDI: 0000000000000014 RBP: 0000000000000567 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6248 R13: 00000000ffffffff R14: 00007feefebb36d4 R15: 0000000000000000 Code: b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 30 48 8b 5b 28 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 75 1c 48 8b 3b e8 85 3e 47 fd 48 89 df e8 7d 3e 47 RIP: nf_tables_dump_obj_done+0x3d/0x70 net/netfilter/nf_tables_api.c:4668 RSP: ffff8801bc9bf2a0 ---[ end trace 76e51d2c1b4a9687 ]---