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: 1 PID: 3495 Comm: syzkaller875949 Not tainted 4.15.0-rc5+ #154 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:ffff8801bf80f108 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff845f488d RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff8801c13c1a30 RBP: ffff8801bf80f110 R08: 0000000000000000 R09: 1ffff10037f01dda R10: ffff8801bf80ee98 R11: 0000000000000002 R12: 1ffff10037f01e2a R13: ffffffff845f4880 R14: ffff8801c13c1a01 R15: ffff8801c13c1a80 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:0000000008817840 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020a35000 CR3: 00000001c05cf003 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 do_syscall_32_irqs_on arch/x86/entry/common.c:327 [inline] do_fast_syscall_32+0x3ee/0xf9d arch/x86/entry/common.c:389 entry_SYSENTER_compat+0x54/0x63 arch/x86/entry/entry_64_compat.S:129 RIP: 0023:0xf7f20c79 RSP: 002b:00000000ffb5e63c EFLAGS: 00000203 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020a35000 RDX: 000000000000009c RSI: 0000000000000167 RDI: 0000000000000010 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 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 45 89 47 fd 48 89 df e8 3d 89 47 RIP: nf_tables_dump_obj_done+0x3d/0x70 net/netfilter/nf_tables_api.c:4668 RSP: ffff8801bf80f108 ---[ end trace ac14776cbeb0c756 ]---