IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready 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 ffff8801d2ca8f18 by task syz-executor7/8742 CPU: 1 PID: 8742 Comm: syz-executor7 Not tainted 4.4.145-g2241aa9 #14 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 e5b65ae149c9eb3c ffff8800adb8f548 ffffffff81e123cd ffffea00074b2a00 ffff8801d2ca8f18 0000000000000000 ffff8801d2ca8f18 0000000000001200 ffff8800adb8f580 ffffffff81517d66 ffff8801d2ca8f18 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+0xbeb/0xeb0 net/l2tp/l2tp_core.c:1179 [] pppol2tp_sendmsg+0x4e0/0x7d0 net/l2tp/l2tp_ppp.c:355 [] sock_sendmsg_nosec net/socket.c:625 [inline] [] sock_sendmsg+0xcc/0x110 net/socket.c:635 [] ___sys_sendmsg+0x441/0x880 net/socket.c:1962 [] __sys_sendmmsg+0x1d4/0x2e0 net/socket.c:2040 [] C_SYSC_sendmmsg net/compat.c:728 [inline] [] compat_SyS_sendmmsg+0x32/0x40 net/compat.c:725 [] do_syscall_32_irqs_on arch/x86/entry/common.c:393 [inline] [] do_fast_syscall_32+0x324/0x8b0 arch/x86/entry/common.c:460 [] sysenter_flags_fixed+0xd/0x1a Allocated by task 6724: [] 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+0x5b5/0x1960 net/ipv6/datagram.c:59 [] 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:1557 [] SyS_connect+0x24/0x30 net/socket.c:1538 [] do_syscall_32_irqs_on arch/x86/entry/common.c:393 [inline] [] do_fast_syscall_32+0x324/0x8b0 arch/x86/entry/common.c:460 [] sysenter_flags_fixed+0xd/0x1a Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8801d2ca8dc0 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 [ffff8801d2ca8dc0, ffff8801d2ca8e90) The buggy address belongs to the page: kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.145-g2241aa9 #14 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffffffff84417840 task.stack: ffffffff84400000 RIP: 0010:[] [] write_cr3 arch/x86/include/asm/paravirt.h:86 [inline] RIP: 0010:[] [] load_new_mm_cr3+0x56/0xa0 arch/x86/mm/tlb.c:68 RSP: 0018:ffffffff84407d20 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 00006200074b2a00 RCX: 0000000000000049 RDX: 0000000000000000 RSI: ffffffff81e71efb RDI: 00006200074b2a00 RBP: ffffffff84407d28 R08: ffffffff83a456e0 R09: ffffffff84a16c38 R10: dffffc0000000000 R11: ffffffff84417840 R12: ffff8800b1e4f700 R13: 0000000000000000 R14: ffff8800ad56ad00 R15: 0000000000000c84 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f7726db0 CR3: 00000000bb085000 CR4: 00000000001606f0 Stack: ffff8800ad56ad00 ffffffff84407d70 ffffffff810ea3a8 ffff8801db21fe68 ffffffff83a456e0 ffff8801db21f540 ffff8800b1e4f700 ffff8800ad56ad00 ffffffff84417ce0 ffffffff83a456e0 ffffffff84407df8 ffffffff838b8c3a Call Trace: [] switch_mm_irqs_off+0x148/0xd20 arch/x86/mm/tlb.c:172 [] context_switch kernel/sched/core.c:2788 [inline] [] __schedule+0x6fa/0x1d70 kernel/sched/core.c:3326 [] schedule+0x7a/0x1b0 kernel/sched/core.c:3355 [] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3388 [] cpu_idle_loop kernel/sched/idle.c:279 [inline] [] cpu_startup_entry+0x2c2/0x780 kernel/sched/idle.c:301 [] rest_init+0x188/0x18e init/main.c:410 [] start_kernel+0x6b3/0x6e7 init/main.c:682 [] x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:196 [] x86_64_start_kernel+0x13f/0x162 arch/x86/kernel/head64.c:185 Code: a1 84 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 1e 8b 05 71 d5 92 03 85 c0 75 0d 48 89 df <0f> 22 df 0f 1f 40 00 5b 5d c3 e8 9b 4f 00 00 eb ec e8 84 24 41 RIP [] write_cr3 arch/x86/include/asm/paravirt.h:86 [inline] RIP [] load_new_mm_cr3+0x56/0xa0 arch/x86/mm/tlb.c:68 RSP ---[ end trace 5ec7f89f6897b67d ]---