IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready ================================================================== BUG: KASAN: slab-out-of-bounds in ip6_dst_idev include/net/ip6_fib.h:141 [inline] BUG: KASAN: slab-out-of-bounds in ip6_xmit+0x177c/0x1a00 net/ipv6/ip6_output.c:237 Read of size 8 at addr ffff8801d0b05f18 by task syz-executor7/5658 CPU: 0 PID: 5658 Comm: syz-executor7 Not tainted 4.4.152-ge5c5f1f #89 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 56f6fbf20bd5c2e0 ffff8800a46f75c8 ffffffff81e15fed ffffea000742c140 ffff8801d0b05f18 0000000000000000 ffff8801d0b05f18 0000000000001000 ffff8800a46f7600 ffffffff8151b489 ffff8801d0b05f18 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] print_address_description+0x6c/0x216 mm/kasan/report.c:252 [] kasan_report_error mm/kasan/report.c:351 [inline] [] kasan_report.cold.7+0x175/0x2f7 mm/kasan/report.c:408 [] __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:429 [] ip6_dst_idev include/net/ip6_fib.h:141 [inline] [] ip6_xmit+0x177c/0x1a00 net/ipv6/ip6_output.c:237 [] inet6_csk_xmit+0x245/0x490 net/ipv6/inet6_connection_sock.c:176 [] l2tp_xmit_core net/l2tp/l2tp_core.c:1084 [inline] [] l2tp_xmit_skb+0xb9c/0xe80 net/l2tp/l2tp_core.c:1179 [] pppol2tp_sendmsg+0x4e0/0x7d0 net/l2tp/l2tp_ppp.c:355 [] sock_sendmsg_nosec net/socket.c:638 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:648 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1975 [] __sys_sendmmsg+0x12e/0x2e0 net/socket.c:2060 [] SYSC_sendmmsg net/socket.c:2090 [inline] [] SyS_sendmmsg+0x35/0x60 net/socket.c:2085 [] entry_SYSCALL_64_fastpath+0x22/0x9e Allocated by task 5658: [] save_stack_trace+0x26/0x50 arch/x86/kernel/stacktrace.c:63 [] save_stack+0x43/0xd0 mm/kasan/kasan.c:512 [] set_track mm/kasan/kasan.c:524 [inline] [] kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:616 [] kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:554 [] slab_post_alloc_hook mm/slub.c:1349 [inline] [] slab_alloc_node mm/slub.c:2615 [inline] [] slab_alloc mm/slub.c:2623 [inline] [] kmem_cache_alloc+0xbe/0x2a0 mm/slub.c:2628 [] dst_alloc+0xb5/0x1a0 net/core/dst.c:210 [] rt_dst_alloc+0x78/0x430 net/ipv4/route.c:1478 [] __mkroute_output net/ipv4/route.c:2132 [inline] [] __ip_route_output_key_hash+0x9ac/0x2380 net/ipv4/route.c:2344 [] __ip_route_output_key include/net/route.h:124 [inline] [] ip_route_output_flow+0x29/0xa0 net/ipv4/route.c:2431 [] ip_route_connect include/net/route.h:304 [inline] [] __ip4_datagram_connect+0x663/0xfe0 net/ipv4/datagram.c:51 [] __ip6_datagram_connect+0x1280/0x1960 net/ipv6/datagram.c:105 [] ip6_datagram_connect+0x2f/0x50 net/ipv6/datagram.c:223 [] inet_dgram_connect+0x117/0x200 net/ipv4/af_inet.c:550 [] SYSC_connect+0x1b8/0x300 net/socket.c:1570 [] SyS_connect+0x24/0x30 net/socket.c:1551 [] entry_SYSCALL_64_fastpath+0x22/0x9e Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8801d0b05dc0 which belongs to the cache ip_dst_cache of size 208 The buggy address is located 136 bytes to the right of 208-byte region [ffff8801d0b05dc0, ffff8801d0b05e90) The buggy address belongs to the page: page:ffffea000742c140 count:0 mapcount:1 mapping: (null) index:0x0 BUG: unable to handle kernel paging request at fffff94000e85828 IP: [] memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:61 PGD 4c13067 PUD 4c12063 PMD 4c11063 PTE 8000000004c14161 Oops: 0003 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 5714 Comm: ip Not tainted 4.4.152-ge5c5f1f #89 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801bdf10000 task.stack: ffff8801bdcf0000 RIP: 0010:[] [] memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:61 RSP: 0018:ffff8801bdcf7c50 EFLAGS: 00010206 RAX: 1ffffd4000e85900 RBX: fffff94000e85928 RCX: 0000000000000100 RDX: 0000000000000100 RSI: 0000000000000000 RDI: fffff94000e85828 RBP: ffff8801bdcf7c68 R08: 0000000000000000 R09: fffff94000e85828 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000800 R13: ffffea000742c140 R14: ffffea000742c93f R15: ffffea000742c93f FS: 00007f5a9b7c3700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff94000e85828 CR3: 00000001cd43d000 CR4: 00000000001606f0 Stack: ffffffff814fd925 ffffea000742c940 ffff8801da002000 ffff8801bdcf7cb0 ffffffff814fda3a 0000000000000800 024080c0bdcf7cc0 8000000000000080 ffff8801da002000 ffffea000742c140 00000000024080c0 0000000000000638 Call Trace: [] kasan_kmalloc+0x4a/0xe0 mm/kasan/kasan.c:611 [] kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:554 [] slab_post_alloc_hook mm/slub.c:1349 [inline] [] slab_alloc_node mm/slub.c:2615 [inline] [] slab_alloc mm/slub.c:2623 [inline] [] __kmalloc+0xe2/0x310 mm/slub.c:3609 [] kmalloc include/linux/slab.h:481 [inline] [] sk_prot_alloc+0x204/0x300 net/core/sock.c:1354 [] sk_alloc+0x3a/0x3a0 net/core/sock.c:1419 [] __netlink_create+0x6a/0x270 net/netlink/af_netlink.c:618 [] netlink_create+0x2f9/0x520 net/netlink/af_netlink.c:681 [] __sock_create+0x2f2/0x5f0 net/socket.c:1190 [] sock_create net/socket.c:1230 [inline] [] SYSC_socket net/socket.c:1260 [inline] [] SyS_socket+0xf0/0x1b0 net/socket.c:1240 [] entry_SYSCALL_64_fastpath+0x22/0x9e Code: 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 RIP [] memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:61 RSP CR2: fffff94000e85828 ---[ end trace 0559222915941e30 ]---