binder: 13288:13292 ERROR: BC_REGISTER_LOOPER called without request ================================================================== BUG: KASAN: use-after-free in ip6_dst_idev include/net/ip6_fib.h:141 [inline] BUG: KASAN: use-after-free in ip6_xmit+0x1776/0x1a00 net/ipv6/ip6_output.c:237 Read of size 8 at addr ffff8801d212cc98 by task syz-executor0/13296 CPU: 0 PID: 13296 Comm: syz-executor0 Not tainted 4.4.141-g1b37d68 #7 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 b6e6c4b1762254c9 ffff8800a12cf548 ffffffff81e0e18d ffffea0007484b00 ffff8801d212cc98 0000000000000000 ffff8801d212cc98 0000000000001200 ffff8800a12cf580 ffffffff81515a86 ffff8801d212cc98 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+0x1776/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+0x326/0x8b0 arch/x86/entry/common.c:460 [] sysenter_flags_fixed+0xd/0x17 Allocated by task 11716: [] 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 [] udp_sendmsg+0x1480/0x1c70 net/ipv4/udp.c:1040 [] udpv6_sendmsg+0x12cd/0x24c0 net/ipv6/udp.c:1173 [] inet_sendmsg+0x203/0x4d0 net/ipv4/af_inet.c:755 [] 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+0x326/0x8b0 arch/x86/entry/common.c:460 [] sysenter_flags_fixed+0xd/0x17 Freed by task 5955: [] 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_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 [] __do_softirq+0x22c/0xa1a kernel/softirq.c:273 The buggy address belongs to the object at ffff8801d212cc80 which belongs to the cache ip_dst_cache of size 208 The buggy address is located 24 bytes inside of 208-byte region [ffff8801d212cc80, ffff8801d212cd50) 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: 1 PID: 3900 Comm: syz-executor0 Not tainted 4.4.141-g1b37d68 #7 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800abf9e000 task.stack: ffff8801d9048000 RIP: 0010:[] [] task_curr kernel/sched/core.c:1025 [inline] RIP: 0010:[] [] kick_process+0xdd/0x1c0 kernel/sched/core.c:1567 RSP: 0018:ffff8801d904fa18 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 000000000001f4c0 RCX: 0000000000000000 RDX: 00000000743ecc48 RSI: ffffffff81e6dcdb RDI: 00000003a1f66240 RBP: ffff8801d904fa38 R08: ffffffff8531ca50 R09: 0000000000000001 R10: 0000000000000000 R11: ffff8800abf9e000 R12: ffff8800b2730000 R13: 0000000083aaa220 R14: 0000000083aaa220 R15: ffff8800b57f9140 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000009fc04ae8 CR3: 000000000440c000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8800b2730000 0000000000000080 ffff8801d7151800 0000000000000100 ffff8801d904fa58 ffffffff81155b3f ffff8800b2730000 dffffc0000000000 ffff8801d904fab0 ffffffff811561bb ffff880100000000 0000000000000000 Call Trace: [] signal_wake_up_state+0x5f/0x70 kernel/signal.c:660 [] signal_wake_up include/linux/sched.h:3323 [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 [] SYSC_exit_group kernel/exit.c:896 [inline] [] SyS_exit_group+0x1d/0x20 kernel/exit.c:894 [] do_syscall_32_irqs_on arch/x86/entry/common.c:393 [inline] [] do_fast_syscall_32+0x326/0x8b0 arch/x86/entry/common.c:460 [] sysenter_flags_fixed+0xd/0x17 Code: 04 02 84 c0 74 08 3c 03 0f 8e b4 00 00 00 48 b8 00 00 00 00 00 fc ff df 45 8b 6d 10 4a 8d 3c ed 40 51 a1 84 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ae 00 00 00 4a 03 1c ed 40 51 a1 84 48 b8 00 RIP [] task_curr kernel/sched/core.c:1025 [inline] RIP [] kick_process+0xdd/0x1c0 kernel/sched/core.c:1567 RSP ---[ end trace 5c4bbd1e9510e03a ]---