==================================================================
BUG: KASAN: use-after-free in inet_shutdown+0x2dc/0x360 net/ipv4/af_inet.c:824
binder_alloc: 9347: binder_alloc_buf size 3586984383535943328 failed, no address space
binder_alloc: allocated: 0 (num: 0 largest: 0), free: 4096 (num: 1 largest: 4096)
binder: 9347:9355 transaction failed 29201/-28, size 3586751574239215616-232809296727705 line 3141
binder_alloc: binder_alloc_mmap_handler: 9347 20001000-20002000 already mapped failed -16
binder: BINDER_SET_CONTEXT_MGR already set
binder: 9347:9359 ioctl 40046207 0 returned -16
binder_alloc: 9347: binder_alloc_buf, no vma
binder: 9347:9355 transaction failed 29189/-3, size 3586751574239215616-232809296727705 line 3141
binder: undelivered TRANSACTION_ERROR: 29189
binder: undelivered TRANSACTION_ERROR: 29201
binder: 9365:9368 unknown command 0
binder: 9365:9368 ioctl c0306201 20000540 returned -22
binder: BINDER_SET_CONTEXT_MGR already set
binder: 9365:9368 ioctl 40046207 0 returned -16
Read of size 4 at addr ffff8801bc644000 by task syz-executor3/9344

CPU: 1 PID: 9344 Comm: syz-executor3 Not tainted 4.9.101-gaef17a5 #32
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801997e7b90 ffffffff81eb1009 ffffea0006f19100 ffff8801bc644000
 0000000000000000 ffff8801bc644000 ffff8801c817aa58 ffff8801997e7bc8
 ffffffff8156541b ffff8801bc644000 0000000000000004 0000000000000000
Call Trace:
 [<ffffffff81eb1009>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81eb1009>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8156541b>] print_address_description+0x6c/0x234 mm/kasan/report.c:256
 [<ffffffff81565825>] kasan_report_error mm/kasan/report.c:355 [inline]
 [<ffffffff81565825>] kasan_report.cold.6+0x242/0x2fe mm/kasan/report.c:412
 [<ffffffff81539484>] __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:432
 [<ffffffff8341c7ec>] inet_shutdown+0x2dc/0x360 net/ipv4/af_inet.c:824
 [<ffffffff836be890>] pppol2tp_session_close+0xa0/0xe0 net/l2tp/l2tp_ppp.c:441
 [<ffffffff836b80c1>] l2tp_tunnel_closeall+0x231/0x350 net/l2tp/l2tp_core.c:1368
 [<ffffffff836b8c67>] l2tp_udp_encap_destroy+0x87/0xe0 net/l2tp/l2tp_core.c:1394
 [<ffffffff835bf801>] udpv6_destroy_sock+0xb1/0xd0 net/ipv6/udp.c:1336
 [<ffffffff830268ed>] sk_common_release+0x6d/0x300 net/core/sock.c:2727
 [<ffffffff835be4b5>] udp_lib_close+0x15/0x20 include/net/udp.h:203
 [<ffffffff8341c96f>] inet_release+0xff/0x1d0 net/ipv4/af_inet.c:434
 [<ffffffff835447b0>] inet6_release+0x50/0x70 net/ipv6/af_inet6.c:440
 [<ffffffff8300fab6>] sock_release+0x96/0x1c0 net/socket.c:599
 [<ffffffff8300fbf6>] sock_close+0x16/0x20 net/socket.c:1046
 [<ffffffff81575b23>] __fput+0x263/0x700 fs/file_table.c:208
 [<ffffffff81576045>] ____fput+0x15/0x20 fs/file_table.c:244
 [<ffffffff8119607c>] task_work_run+0x10c/0x180 kernel/task_work.c:116
 [<ffffffff8100559c>] tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 [<ffffffff8100559c>] exit_to_usermode_loop+0xfc/0x120 arch/x86/entry/common.c:161
 [<ffffffff810064d4>] prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline]
 [<ffffffff810064d4>] syscall_return_slowpath arch/x86/entry/common.c:260 [inline]
 [<ffffffff810064d4>] do_syscall_64+0x364/0x490 arch/x86/entry/common.c:287
 [<ffffffff839f4893>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb

Allocated by task 9344:
 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57
 save_stack+0x43/0xd0 mm/kasan/kasan.c:505
 set_track mm/kasan/kasan.c:517 [inline]
 kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:609
 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:547
 slab_post_alloc_hook mm/slab.h:417 [inline]
 slab_alloc_node mm/slub.c:2715 [inline]
 slab_alloc mm/slub.c:2723 [inline]
 kmem_cache_alloc+0xbe/0x290 mm/slub.c:2728
 sock_alloc_inode+0x1d/0x260 net/socket.c:250
 alloc_inode+0x63/0x180 fs/inode.c:207
 new_inode_pseudo+0x17/0xe0 fs/inode.c:890
 sock_alloc+0x41/0x280 net/socket.c:567
 __sock_create+0x8d/0x5f0 net/socket.c:1146
 sock_create net/socket.c:1222 [inline]
 SYSC_socket net/socket.c:1252 [inline]
 SyS_socket+0xf0/0x1b0 net/socket.c:1232
 do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 entry_SYSCALL_64_after_swapgs+0x5d/0xdb

Freed by task 9352:
 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57
 save_stack+0x43/0xd0 mm/kasan/kasan.c:505
 set_track mm/kasan/kasan.c:517 [inline]
 kasan_slab_free+0x72/0xc0 mm/kasan/kasan.c:582
 slab_free_hook mm/slub.c:1355 [inline]
 slab_free_freelist_hook mm/slub.c:1377 [inline]
 slab_free mm/slub.c:2958 [inline]
 kmem_cache_free+0xbe/0x310 mm/slub.c:2980
 sock_destroy_inode+0x56/0x70 net/socket.c:280
 destroy_inode+0xc5/0x120 fs/inode.c:264
 evict+0x32b/0x4f0 fs/inode.c:570
 iput_final fs/inode.c:1516 [inline]
 iput+0x371/0x900 fs/inode.c:1543
 dentry_unlink_inode+0x2aa/0x4f0 fs/dcache.c:370
 __dentry_kill+0x280/0x4c0 fs/dcache.c:572
 dentry_kill fs/dcache.c:613 [inline]
 dput.part.29+0x5cf/0x7b0 fs/dcache.c:830
 dput+0x1f/0x30 fs/dcache.c:792
 __fput+0x42f/0x700 fs/file_table.c:226
 ____fput+0x15/0x20 fs/file_table.c:244
 task_work_run+0x10c/0x180 kernel/task_work.c:116
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0xfc/0x120 arch/x86/entry/common.c:161
 prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:260 [inline]
 do_syscall_64+0x364/0x490 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_swapgs+0x5d/0xdb

The buggy address belongs to the object at ffff8801bc644000
 which belongs to the cache sock_inode_cache of size 960
The buggy address is located 0 bytes inside of
 960-byte region [ffff8801bc644000, ffff8801bc6443c0)
The buggy address belongs to the page:
page:ffffea0006f19100 count:1 mapcount:0 mapping:          (null) index:0x0 compound_mapcount: 0
flags: 0x8000000000004080(slab|head)
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff8801bc643f00: fb fb fb fb fb fb fc fc fb fb fb fb fb fb fc fc
 ffff8801bc643f80: fb fb fb fb fb fb fc fc fb fb fb fb fb fb fc fc
>ffff8801bc644000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                   ^
 ffff8801bc644080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8801bc644100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================