================================================================== 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 ffff8801d94c7f18 by task syz-executor2/10012 CPU: 1 PID: 10012 Comm: syz-executor2 Not tainted 4.4.153-g5e24b4e #90 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 7caf741ac9284b6e ffff8800a25975c8 ffffffff81e162ed ffffea00076531c0 ffff8801d94c7f18 0000000000000000 ffff8801d94c7f18 0000000000001000 ffff8800a2597600 ffffffff8151b4d9 ffff8801d94c7f18 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 10012: [] 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 8518: [] save_stack_trace+0x26/0x50 arch/x86/kernel/stacktrace.c:63 [] save_stack+0x43/0xd0 mm/kasan/kasan.c:512 [ 143.492168] input: syz1 as /devices/virtual/input/input15 [] set_track mm/kasan/kasan.c:524 [inline] [] kasan_slab_free+0x72/0xc0 mm/kasan/kasan.c:589 [] slab_free_hook mm/slub.c:1383 [inline] [] slab_free_freelist_hook mm/slub.c:1405 [inline] [] slab_free mm/slub.c:2859 [inline] [] kmem_cache_free+0xbe/0x340 mm/slub.c:2881 [] dst_destroy.part.6+0x1f5/0x330 net/core/dst.c:270 [] dst_destroy net/core/dst.c:252 [inline] [] dst_destroy_rcu+0x15/0x40 net/core/dst.c:295 [] __rcu_reclaim kernel/rcu/rcu.h:118 [inline] [] rcu_do_batch kernel/rcu/tree.c:2705 [inline] [] invoke_rcu_callbacks kernel/rcu/tree.c:2973 [inline] [] __rcu_process_callbacks kernel/rcu/tree.c:2940 [inline] [] rcu_process_callbacks+0x927/0x1440 kernel/rcu/tree.c:2957 input: syz1 as /devices/virtual/input/input16 [] __do_softirq+0x22c/0xa1a kernel/softirq.c:273 The buggy address belongs to the object at ffff8801d94c7dc0 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 [ffff8801d94c7dc0, ffff8801d94c7e90) The buggy address belongs to the page: BUG: unable to handle kernel paging request at fffffffba1f6da40 IP: [] cpuacct_charge+0x155/0x380 kernel/sched/cpuacct.c:247 PGD 440f067 PUD 0 Oops: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3901 Comm: syz-executor2 Not tainted 4.4.153-g5e24b4e #90 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c78ae000 task.stack: ffff8801bcc48000 RIP: 0010:[] [] cpuacct_charge+0x155/0x380 kernel/sched/cpuacct.c:247 RSP: 0018:ffff8801bcc4f620 EFLAGS: 00010046 RAX: 1ffffffff089521f RBX: 00000000000185a8 RCX: ffffffff84a16740 RDX: fffffbff743edb48 RSI: fffffffba1f6da40 RDI: ffffffff844a90f8 RBP: ffff8801bcc4f660 R08: ffff8801c78ae9c8 R09: 0000000000000001 R10: 0000000000000001 R11: ffff8801c78ae000 R12: ffffffff844a9020 R13: dffffc0000000000 R14: 00000000066270e8 R15: ffffffff83aaae60 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffba1f6da40 CR3: 00000001c174f000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff81227ce0 0000000000000046 0000000000000003 ffff8801bac5c860 ffff8801bac5c800 00000000066270e8 ffff8801bac5c8b0 0000000000000000 ffff8801bcc4f6a8 ffffffff811dc359 0000000000000005 ffff8801db31f558 Call Trace: [] update_curr+0x2c9/0x6d0 kernel/sched/fair.c:882 [] enqueue_entity kernel/sched/fair.c:3512 [inline] [] enqueue_task_fair+0x2fa/0x2790 kernel/sched/fair.c:4695 [] enqueue_task kernel/sched/core.c:858 [inline] [] activate_task+0x14d/0x280 kernel/sched/core.c:874 [] ttwu_activate kernel/sched/core.c:1736 [inline] [] ttwu_do_activate.constprop.109+0xbf/0x1e0 kernel/sched/core.c:1789 [] ttwu_queue kernel/sched/core.c:1934 [inline] [] try_to_wake_up+0x660/0xf00 kernel/sched/core.c:2068 [] wake_up_state+0x10/0x20 kernel/sched/core.c:2148 [] signal_wake_up_state+0x44/0x70 kernel/signal.c:659 [] signal_wake_up include/linux/sched.h:3332 [inline] [] complete_signal+0x62b/0x790 kernel/signal.c:942 [] __send_signal+0x4d5/0x11b0 kernel/signal.c:1080 [] send_signal+0x4a/0xc0 kernel/signal.c:1096 [] do_send_sig_info+0xa4/0x130 kernel/signal.c:1151 [] send_sig_info+0x33/0x50 kernel/signal.c:1436 [] zap_pid_ns_processes+0x28d/0x690 kernel/pid_namespace.c:223 [] find_child_reaper kernel/exit.c:477 [inline] [] forget_original_parent kernel/exit.c:563 [inline] [] exit_notify kernel/exit.c:599 [inline] [] do_exit+0x1c21/0x26b0 kernel/exit.c:776 [] do_group_exit+0x111/0x330 kernel/exit.c:885 [] get_signal+0x4ec/0x14b0 kernel/signal.c:2321 [] do_signal+0x8b/0x1d30 arch/x86/kernel/signal.c:712 [] exit_to_usermode_loop+0x11a/0x160 arch/x86/entry/common.c:249 [] prepare_exit_to_usermode+0xe3/0x100 arch/x86/entry/common.c:284 [] retint_user+0x8/0x3c Code: 49 8d bc 24 d8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 c4 01 00 00 49 8b 9c 24 d8 00 00 00 80 3a 00 0f 85 8f 01 00 00 <4a> 03 1c f9 48 89 d8 48 c1 e8 03 42 80 3c 28 00 0f 85 be 01 00 RIP [] cpuacct_charge+0x155/0x380 kernel/sched/cpuacct.c:247 RSP CR2: fffffffba1f6da40 ---[ end trace 8204ea25ce46d6d2 ]---