ip_tables: iptables: counters copy to user failed while replacing table
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
ip_tables: iptables: counters copy to user failed while replacing table
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 14831 Comm: syz-executor.3 Not tainted 4.14.191-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88808b73e380 task.stack: ffff88805ea40000
RIP: 0010:smc_diag_msg_common_fill net/smc/smc_diag.c:46 [inline]
RIP: 0010:__smc_diag_dump.constprop.0+0x320/0x14e0 net/smc/smc_diag.c:81
ip_tables: iptables: counters copy to user failed while replacing table
RSP: 0018:ffff88805ea47578 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff8880138c1980 RCX: ffffc9000a326000
RDX: 0000000000000001 RSI: ffffffff8626c718 RDI: 000000000000000e
RBP: ffff88805cf96c00 R08: 0000000000000001 R09: ffff8880138c1990
R10: ffff8880138c19cf R11: ffff88808b73e380 R12: 1ffff1100bd48eb3
R13: ffff88805e225190 R14: ffff888058851340 R15: 0000000000000000
FS:  00007ff57859b700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000768000 CR3: 0000000083534000 CR4: 00000000001406f0
ip_tables: iptables: counters copy to user failed while replacing table
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 smc_diag_dump+0x1be/0x260 net/smc/smc_diag.c:169
 netlink_dump+0x39c/0xad0 net/netlink/af_netlink.c:2203
 __netlink_dump_start+0x4e2/0x740 net/netlink/af_netlink.c:2300
 netlink_dump_start include/linux/netlink.h:217 [inline]
 smc_diag_handler_dump+0x19d/0x1e0 net/smc/smc_diag.c:190
 __sock_diag_cmd net/core/sock_diag.c:231 [inline]
 sock_diag_rcv_msg+0x28d/0x390 net/core/sock_diag.c:263
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 sock_diag_rcv+0x26/0x40 net/core/sock_diag.c:274
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45cc79
RSP: 002b:00007ff57859ac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002bf40 RCX: 000000000045cc79
RDX: 0000000000000000 RSI: 00000000200047c0 RDI: 0000000000000004
RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c
R13: 00007ffe174c02cf R14: 00007ff57859b9c0 R15: 000000000078bf0c
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 05 11 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7f 20 49 8d 7f 0e 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 
RIP: smc_diag_msg_common_fill net/smc/smc_diag.c:46 [inline] RSP: ffff88805ea47578
RIP: __smc_diag_dump.constprop.0+0x320/0x14e0 net/smc/smc_diag.c:81 RSP: ffff88805ea47578
---[ end trace a0632a09b25cc92d ]---