device veth1_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready netlink: 8 bytes leftover after parsing attributes in process `syz-executor.3'. ================================================================== BUG: KASAN: global-out-of-bounds in nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] BUG: KASAN: global-out-of-bounds in nfnetlink_parse_nat_setup+0x373/0x380 net/netfilter/nf_nat_core.c:784 Read of size 8 at addr ffffffff871c7458 by task syz-executor.3/7707 CPU: 1 PID: 7707 Comm: syz-executor.3 Not tainted 4.14.182-syzkaller #0 IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 device veth0_macvtap entered promiscuous mode print_address_description.cold+0x5/0x1dc mm/kasan/report.c:252 IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready device veth1_macvtap entered promiscuous mode kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2b9 mm/kasan/report.c:393 IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] nfnetlink_parse_nat_setup+0x373/0x380 net/netfilter/nf_nat_core.c:784 IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! ctnetlink_parse_nat_setup+0x70/0x490 net/netfilter/nf_conntrack_netlink.c:1421 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1496 [inline] ctnetlink_create_conntrack+0x477/0x1040 net/netfilter/nf_conntrack_netlink.c:1840 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! ctnetlink_new_conntrack+0x45f/0xbf4 net/netfilter/nf_conntrack_netlink.c:1964 IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready nfnetlink_rcv_msg+0x9e1/0xc00 net/netfilter/nfnetlink.c:214 netlink_rcv_skb+0x127/0x370 net/netlink/af_netlink.c:2433 batman_adv: batadv0: Interface activated: batadv_slave_0 nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! netlink_sendmsg+0x64a/0xbb0 net/netlink/af_netlink.c:1878 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062 batman_adv: batadv0: Interface activated: batadv_slave_1 __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:0x45ca29 RSP: 002b:00007f607b2b9c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004fe740 RCX: 000000000045ca29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000964 R14: 00000000004cc38b R15: 00007f607b2ba6d4 The buggy address belongs to the variable: nft_quota_ops+0xb8/0xc0 Memory state around the buggy address: ffffffff871c7300: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 fa fa ffffffff871c7380: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa >ffffffff871c7400: fa fa fa fa 06 fa fa fa fa fa fa fa 00 00 00 00 ^ ffffffff871c7480: 00 00 fa fa fa fa fa fa 00 00 00 00 00 00 00 00 ffffffff871c7500: 00 00 fa fa fa fa fa fa 00 00 00 03 fa fa fa fa ================================================================== IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready