netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. ================================================================== BUG: KASAN: slab-out-of-bounds in sock_net_uid include/net/sock.h:1733 [inline] BUG: KASAN: slab-out-of-bounds in ip6_route_me_harder+0x9d8/0xc00 net/ipv6/netfilter.c:26 Read of size 4 at addr ffff8801cc06b3e8 by task syz-executor0/8221 CPU: 0 PID: 8221 Comm: syz-executor0 Not tainted 4.16.0-rc2+ #242 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x24d lib/dump_stack.c:53 print_address_description+0x73/0x250 mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report+0x23b/0x360 mm/kasan/report.c:412 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:432 sock_net_uid include/net/sock.h:1733 [inline] ip6_route_me_harder+0x9d8/0xc00 net/ipv6/netfilter.c:26 xt_physdev: --physdev-out and --physdev-is-out only supported in the FORWARD and POSTROUTING chains with bridged traffic nf_nat_ipv6_local_fn+0x2a4/0x5d0 net/ipv6/netfilter/nf_nat_l3proto_ipv6.c:414 ip6table_nat_local_fn+0x2c/0x40 net/ipv6/netfilter/ip6table_nat.c:69 nf_hook_entry_hookfn include/linux/netfilter.h:120 [inline] nf_hook_slow+0xba/0x1a0 net/netfilter/core.c:483 nf_hook include/linux/netfilter.h:243 [inline] NF_HOOK include/linux/netfilter.h:286 [inline] ip6_xmit+0x10ec/0x2260 net/ipv6/ip6_output.c:277 ipt_rpfilter: unknown options tcp_v6_send_synack+0x57b/0xaa0 net/ipv6/tcp_ipv6.c:490 tcp_conn_request+0x26fd/0x3660 net/ipv4/tcp_input.c:6335 ipt_CLUSTERIP: Please specify destination IP ipt_CLUSTERIP: Please specify destination IP xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables tcp_v6_conn_request+0x212/0x270 net/ipv6/tcp_ipv6.c:1021 tcp_rcv_state_process+0x92a/0x4760 net/ipv4/tcp_input.c:5842 tcp_v6_do_rcv+0x739/0x1250 net/ipv6/tcp_ipv6.c:1331 tcp_v6_rcv+0x25a0/0x2d40 net/ipv6/tcp_ipv6.c:1521 ip6_input_finish+0x37e/0x17a0 net/ipv6/ip6_input.c:284 NF_HOOK include/linux/netfilter.h:288 [inline] ip6_input+0xdb/0x560 net/ipv6/ip6_input.c:327 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish+0x297/0x8c0 net/ipv6/ip6_input.c:71 NF_HOOK include/linux/netfilter.h:288 [inline] ipv6_rcv+0xf37/0x1fa0 net/ipv6/ip6_input.c:208 __netif_receive_skb_core+0x1a41/0x3460 net/core/dev.c:4554 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4619 process_backlog+0x203/0x740 net/core/dev.c:5299 napi_poll net/core/dev.c:5697 [inline] net_rx_action+0x792/0x1910 net/core/dev.c:5763 __do_softirq+0x2d7/0xb85 kernel/softirq.c:285 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1011 do_softirq.part.19+0x14d/0x190 kernel/softirq.c:329 do_softirq kernel/softirq.c:177 [inline] __local_bh_enable_ip+0x1ee/0x230 kernel/softirq.c:182 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:726 [inline] ip6_finish_output2+0xba0/0x23a0 net/ipv6/ip6_output.c:121 ip6_finish_output+0x69b/0xaf0 net/ipv6/ip6_output.c:154 NF_HOOK_COND include/linux/netfilter.h:277 [inline] ip6_output+0x1eb/0x840 net/ipv6/ip6_output.c:171 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:288 [inline] ip6_xmit+0xe1f/0x2260 net/ipv6/ip6_output.c:277 inet6_csk_xmit+0x2fc/0x580 net/ipv6/inet6_connection_sock.c:139 tcp_transmit_skb+0x1b12/0x3960 net/ipv4/tcp_output.c:1176 tcp_send_syn_data net/ipv4/tcp_output.c:3459 [inline] tcp_connect+0x1f45/0x40f0 net/ipv4/tcp_output.c:3498 tcp_v6_connect+0x2083/0x26c0 net/ipv6/tcp_ipv6.c:306 __inet_stream_connect+0x2d4/0xf00 net/ipv4/af_inet.c:620 tcp_sendmsg_fastopen net/ipv4/tcp.c:1152 [inline] tcp_sendmsg_locked+0x25ca/0x3960 net/ipv4/tcp.c:1198 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1436 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:763 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg+0xca/0x110 net/socket.c:639 SYSC_sendto+0x361/0x5c0 net/socket.c:1748 SyS_sendto+0x40/0x50 net/socket.c:1716 do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x453de9 RSP: 002b:00007f6e21f22c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f6e21f236d4 RCX: 0000000000453de9 RDX: 00000000fffffd65 RSI: 0000000020eb9fff RDI: 0000000000000013 RBP: 000000000072bea0 R08: 000000002031e000 R09: 000000000000001c R10: 0000000020000004 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000004ba R14: 00000000006f7210 R15: 0000000000000000 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8801cc06b350 which belongs to the cache request_sock_TCPv6 of size 328 The buggy address is located 152 bytes inside of 328-byte region [ffff8801cc06b350, ffff8801cc06b498) The buggy address belongs to the page: page:ffffea0007301ac0 count:1 mapcount:0 mapping:ffff8801cc06b040 index:0xffff8801cc06bff6 flags: 0x2fffc0000000100(slab) raw: 02fffc0000000100 ffff8801cc06b040 ffff8801cc06bff6 000000010000000a raw: ffff8801d186ec48 ffff8801d186ec48 ffff8801d25a3080 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8801cc06b280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801cc06b300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8801cc06b380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8801cc06b400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8801cc06b480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================