SELinux: unrecognized netlink message: protocol=0 nlmsg_type=17660 sclass=netlink_route_socket pig=3608 comm=syz-executor5
==================================================================
BUG: KASAN: use-after-free in hlist_add_head include/linux/list.h:673 [inline]
BUG: KASAN: use-after-free in enqueue_timer kernel/time/timer.c:520 [inline]
BUG: KASAN: use-after-free in __internal_add_timer+0x275/0x2d0 kernel/time/timer.c:531
Write of size 8 at addr ffff8801ca603e88 by task syz-executor0/3606

CPU: 1 PID: 3606 Comm: syz-executor0 Not tainted 4.14.0-rc2+ #107
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:16 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:52
 print_address_description+0x73/0x250 mm/kasan/report.c:252
 kasan_report_error mm/kasan/report.c:351 [inline]
 kasan_report+0x25b/0x340 mm/kasan/report.c:409
 __asan_report_store8_noabort+0x17/0x20 mm/kasan/report.c:435
 hlist_add_head include/linux/list.h:673 [inline]
 enqueue_timer kernel/time/timer.c:520 [inline]
 __internal_add_timer+0x275/0x2d0 kernel/time/timer.c:531
 internal_add_timer kernel/time/timer.c:573 [inline]
 __mod_timer kernel/time/timer.c:1024 [inline]
 mod_timer+0x622/0x15b0 kernel/time/timer.c:1071
 sk_reset_timer+0x22/0x50 net/core/sock.c:2664
 inet_csk_reset_xmit_timer include/net/inet_connection_sock.h:243 [inline]
 tcp_connect+0x202b/0x3d80 net/ipv4/tcp_output.c:3456
 tcp_v4_connect+0x15f5/0x1e80 net/ipv4/tcp_ipv4.c:255
 __inet_stream_connect+0x2d4/0xf00 net/ipv4/af_inet.c:618
 tcp_sendmsg_fastopen net/ipv4/tcp.c:1153 [inline]
 tcp_sendmsg_locked+0x282c/0x3bc0 net/ipv4/tcp.c:1198
 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1445
 inet_sendmsg+0x11f/0x5e0 net/ipv4/af_inet.c:762
 sock_sendmsg_nosec net/socket.c:633 [inline]
 sock_sendmsg+0xca/0x110 net/socket.c:643
 SYSC_sendto+0x358/0x5a0 net/socket.c:1750
 SyS_sendto+0x40/0x50 net/socket.c:1718
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x4520a9
RSP: 002b:00007f72745b3c08 EFLAGS: 00000216 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000718000 RCX: 00000000004520a9
RDX: 0000000000000000 RSI: 00000000209a9000 RDI: 0000000000000016
RBP: 0000000000000086 R08: 0000000020db4ff0 R09: 0000000000000010
R10: 0000000020008045 R11: 0000000000000216 R12: 00000000004b9e76
R13: 00000000ffffffff R14: 0000000000000018 R15: 000000000000890b

Allocated by task 3307:
 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59
 save_stack+0x43/0xd0 mm/kasan/kasan.c:447
 set_track mm/kasan/kasan.c:459 [inline]
 kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:551
 __do_kmalloc_node mm/slab.c:3689 [inline]
 __kmalloc_node+0x47/0x70 mm/slab.c:3696
 kmalloc_node include/linux/slab.h:535 [inline]
 kvmalloc_node+0x64/0xd0 mm/util.c:397
 kvmalloc include/linux/mm.h:529 [inline]
 kvzalloc include/linux/mm.h:537 [inline]
 alloc_netdev_mqs+0x16e/0xed0 net/core/dev.c:8023
 tun_set_iff drivers/net/tun.c:2022 [inline]
 __tun_chr_ioctl+0x12be/0x3d20 drivers/net/tun.c:2276
 tun_chr_ioctl+0x2a/0x40 drivers/net/tun.c:2521
 vfs_ioctl fs/ioctl.c:45 [inline]
 do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:685
 SYSC_ioctl fs/ioctl.c:700 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691
 entry_SYSCALL_64_fastpath+0x1f/0xbe

Freed by task 3307:
 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59
 save_stack+0x43/0xd0 mm/kasan/kasan.c:447
 set_track mm/kasan/kasan.c:459 [inline]
 kasan_slab_free+0x71/0xc0 mm/kasan/kasan.c:524
 __cache_free mm/slab.c:3503 [inline]
 kfree+0xca/0x250 mm/slab.c:3820
 kvfree+0x36/0x60 mm/util.c:416
 netdev_freemem net/core/dev.c:7975 [inline]
 free_netdev+0x2cf/0x360 net/core/dev.c:8137
 tun_set_iff drivers/net/tun.c:2105 [inline]
 __tun_chr_ioctl+0x2cf6/0x3d20 drivers/net/tun.c:2276
 tun_chr_ioctl+0x2a/0x40 drivers/net/tun.c:2521
 vfs_ioctl fs/ioctl.c:45 [inline]
 do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:685
 SYSC_ioctl fs/ioctl.c:700 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691
 entry_SYSCALL_64_fastpath+0x1f/0xbe

The buggy address belongs to the object at ffff8801ca600a80
 which belongs to the cache kmalloc-16384 of size 16384
The buggy address is located 13320 bytes inside of
 16384-byte region [ffff8801ca600a80, ffff8801ca604a80)
The buggy address belongs to the page:
page:ffffea0007298000 count:1 mapcount:0 mapping:ffff8801ca600a80 index:0x0 compound_mapcount: 0
flags: 0x200000000008100(slab|head)
raw: 0200000000008100 ffff8801ca600a80 0000000000000000 0000000100000001
raw: ffffea0007284620 ffffea0007236220 ffff8801dac02200 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff8801ca603d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8801ca603e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff8801ca603e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                      ^
 ffff8801ca603f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8801ca603f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================