1 FILE: net/ipv6/tcp_ipv6.c 2 3 ================================================================== 4 BUG: KASAN: use-after-free in ip6_dst_store include/net/ip6_fib.h:176 [inline] 5 BUG: KASAN: use-after-free in tcp_v6_connect+0x1dfd/0x20f0 net/ipv6/tcp_ipv6.c:271 6 Read of size 4 at addr ffff880066df126c by task syz-executor6/22754 7 8 CPU: 0 PID: 22754 Comm: syz-executor6 Not tainted 4.12.0-rc1+ #366 9 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 10 Call Trace: 11 __dump_stack lib/dump_stack.c:16 [inline] 12 dump_stack+0x292/0x395 lib/dump_stack.c:52 13 print_address_description+0x73/0x280 mm/kasan/report.c:252 14 kasan_report_error mm/kasan/report.c:351 [inline] 15 kasan_report+0x22b/0x340 mm/kasan/report.c:408 16 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:428 17 ip6_dst_store include/net/ip6_fib.h:176 [inline] 18 tcp_v6_connect+0x1dfd/0x20f0 net/ipv6/tcp_ipv6.c:271 19 __inet_stream_connect+0x2ee/0xf90 net/ipv4/af_inet.c:618 20 inet_stream_connect+0x58/0xa0 net/ipv4/af_inet.c:682 21 SYSC_connect+0x251/0x590 net/socket.c:1588 22 SyS_connect+0x24/0x30 net/socket.c:1569 23 entry_SYSCALL_64_fastpath+0x1f/0xbe 24 RIP: 0033:0x445e89 25 RSP: 002b:00007fc98a723b58 EFLAGS: 00000286 ORIG_RAX: 000000000000002a 26 RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 0000000000445e89 27 RDX: 000000000000001c RSI: 0000000020066000 RDI: 0000000000000016 28 RBP: 00000000006e04c0 R08: 0000000000000000 R09: 0000000000000000 29 R10: 0000000000000000 R11: 0000000000000286 R12: 00000000007081f8 30 R13: 0000000000000000 R14: 00007fc98a7249c0 R15: 00007fc98a724700 31