ip_tables: iptables: counters copy to user failed while replacing table BUG: unable to handle kernel NULL pointer dereference at (null) IP: do_syscall_64+0x1e3/0x640 arch/x86/entry/common.c:292 PGD 53fd8067 P4D 53fd8067 PUD 53fd9067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 6349 Comm: syz-executor.4 Not tainted 4.14.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888053ff64c0 task.stack: ffff888053ff8000 RIP: 0010:do_syscall_64+0x1e3/0x640 arch/x86/entry/common.c:292 RSP: 0018:ffff888053ffff00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff814e0900 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888053ffffa8 RBP: ffff888053ffff58 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff87d16698 R13: ffff888053ffffd0 R14: ffff888053ff64c0 R15: 0000000000000000 FS: 0000000002937940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000053fd7000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: entry_SYSCALL_64_after_hwframe+0x42/0xb7 invalid opcode: 0000 [#2] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 6349 Comm: syz-executor.4 Not tainted 4.14.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888053ff64c0 task.stack: ffff888053ff8000 RIP: 0010:warn_bad_vsyscall arch/x86/entry/vsyscall/vsyscall_64.c:79 [inline] RIP: 0010:warn_bad_vsyscall.cold+0x39/0x189 arch/x86/entry/vsyscall/vsyscall_64.c:73 RSP: 0018:ffff888053fff560 EFLAGS: 00010082 RAX: ffff888053ff64c0 RBX: 1ffff1100a7ffeb5 RCX: ffff888053fff5c8 RDX: 0000000000000000 RSI: ffff888053fff608 RDI: 000000000045ad30 RBP: 000000000045ad30 R08: ffff888053fff690 R09: fffffbfff14a8f5a R10: fffffbfff14a8f59 R11: ffffffff8a547acb R12: ffff888053fff690 R13: ffff888053fff5c8 R14: ffff888053fff608 R15: ffff888053fff5e8 FS: 0000000002937940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000053fd7000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2a 48 c1 03 80 3c 02 00 74 05 e8 00 f0 82 00 48 8d 7b 50 b8 ff ff 37 RIP: warn_bad_vsyscall arch/x86/entry/vsyscall/vsyscall_64.c:79 [inline] RSP: ffff888053fff560 RIP: warn_bad_vsyscall.cold+0x39/0x189 arch/x86/entry/vsyscall/vsyscall_64.c:73 RSP: ffff888053fff560 ---[ end trace 924d63cbaaa42151 ]---