Warning: Permanently added '10.128.10.2' (ECDSA) to the list of known hosts. [ 55.238242] audit: type=1400 audit(1584002510.010:36): avc: denied { map } for pid=8043 comm="syz-executor321" path="/root/syz-executor321294888" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 55.283474] IPVS: ftp: loaded support on port[0] = 21 [ 55.293118] IPVS: ftp: loaded support on port[0] = 21 [ 55.295856] IPVS: ftp: loaded support on port[0] = 21 [ 55.315279] IPVS: ftp: loaded support on port[0] = 21 [ 55.321844] IPVS: ftp: loaded support on port[0] = 21 [ 55.326849] IPVS: ftp: loaded support on port[0] = 21 [ 55.431792] audit: type=1400 audit(1584002510.200:37): avc: denied { associate } for pid=8054 comm="syz-executor321" name="syz2" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 57.468616] ================================================================== [ 57.476133] BUG: KASAN: use-after-free in free_netdev+0x3b0/0x420 [ 57.482367] Read of size 8 at addr ffff88808887b120 by task syz-executor321/8233 [ 57.489882] [ 57.491501] CPU: 0 PID: 8233 Comm: syz-executor321 Not tainted 4.19.109-syzkaller #0 [ 57.499371] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.508717] Call Trace: [ 57.511304] dump_stack+0x188/0x20d [ 57.514935] ? free_netdev+0x3b0/0x420 [ 57.518831] print_address_description.cold+0x7c/0x212 [ 57.524111] ? free_netdev+0x3b0/0x420 [ 57.527993] kasan_report.cold+0x88/0x2b9 [ 57.532136] free_netdev+0x3b0/0x420 [ 57.535846] netdev_run_todo+0x5ea/0x740 [ 57.539910] ? register_netdev+0x50/0x50 [ 57.543958] ? __lock_is_held+0xad/0x140 [ 57.548014] ? rtnl_link_get_net_capable.constprop.0+0x230/0x230 [ 57.554150] rtnetlink_rcv_msg+0x460/0xaf0 [ 57.558394] ? rtnetlink_put_metrics+0x520/0x520 [ 57.563163] ? find_held_lock+0x2d/0x110 [ 57.567221] netlink_rcv_skb+0x160/0x410 [ 57.571291] ? rtnetlink_put_metrics+0x520/0x520 [ 57.576042] ? netlink_ack+0xa60/0xa60 [ 57.579944] netlink_unicast+0x4d7/0x6a0 [ 57.583999] ? netlink_attachskb+0x710/0x710 [ 57.588408] netlink_sendmsg+0x80b/0xcd0 [ 57.592465] ? netlink_unicast+0x6a0/0x6a0 [ 57.596687] ? move_addr_to_kernel.part.0+0x110/0x110 [ 57.601868] ? netlink_unicast+0x6a0/0x6a0 [ 57.606091] sock_sendmsg+0xcf/0x120 [ 57.609795] ___sys_sendmsg+0x803/0x920 [ 57.613756] ? copy_msghdr_from_user+0x410/0x410 [ 57.618500] ? __fget+0x319/0x510 [ 57.621944] ? lock_downgrade+0x740/0x740 [ 57.626082] ? check_preemption_disabled+0x41/0x280 [ 57.631088] ? __fget+0x340/0x510 [ 57.634528] ? iterate_fd+0x350/0x350 [ 57.638318] ? __might_fault+0x192/0x1d0 [ 57.642364] ? __fget_light+0x1d1/0x230 [ 57.646330] __sys_sendmsg+0xec/0x1b0 [ 57.650120] ? __ia32_sys_shutdown+0x70/0x70 [ 57.654514] ? __x64_sys_futex+0x386/0x4f0 [ 57.658740] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 57.663481] ? trace_hardirqs_off_caller+0x55/0x210 [ 57.668485] ? do_syscall_64+0x21/0x620 [ 57.672451] do_syscall_64+0xf9/0x620 [ 57.676240] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.681415] RIP: 0033:0x448689 [ 57.684592] Code: e8 3c e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 ab 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 57.703488] RSP: 002b:00007f52f9a53ce8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 57.711188] RAX: ffffffffffffffda RBX: 00000000006e4a08 RCX: 0000000000448689 [ 57.718445] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005 [ 57.725703] RBP: 00000000006e4a00 R08: 0000000000000000 R09: 0000000000000000 [ 57.732961] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006e4a0c [ 57.740226] R13: 00007ffc3e53261f R14: 00007f52f9a549c0 R15: 20c49ba5e353f7cf [ 57.747499] [ 57.749114] Allocated by task 8233: [ 57.752732] kasan_kmalloc+0xbf/0xe0 [ 57.756445] __kmalloc+0x15b/0x770 [ 57.759972] sk_prot_alloc+0x18c/0x2d0 [ 57.763849] sk_alloc+0x36/0xf50 [ 57.767203] tun_chr_open+0x7b/0x560 [ 57.770901] misc_open+0x372/0x4a0 [ 57.774422] chrdev_open+0x219/0x5c0 [ 57.778122] do_dentry_open+0x4a8/0x1160 [ 57.782169] path_openat+0x1031/0x4200 [ 57.786043] do_filp_open+0x1a1/0x280 [ 57.789827] do_sys_open+0x3c0/0x500 [ 57.793531] do_syscall_64+0xf9/0x620 [ 57.797318] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.802499] [ 57.804107] Freed by task 8232: [ 57.807374] __kasan_slab_free+0xf7/0x140 [ 57.811504] kfree+0xce/0x220 [ 57.814597] __sk_destruct+0x579/0x780 [ 57.818469] sk_destruct+0xb9/0xf0 [ 57.821995] __sk_free+0xc2/0x2e0 [ 57.825433] sk_free+0x3b/0x50 [ 57.828611] __tun_detach+0xa04/0x1020 [ 57.832482] tun_chr_close+0x10e/0x180 [ 57.836356] __fput+0x2cd/0x890 [ 57.839631] task_work_run+0x13f/0x1b0 [ 57.843501] exit_to_usermode_loop+0x25a/0x2b0 [ 57.848068] do_syscall_64+0x538/0x620 [ 57.851944] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 57.857111] [ 57.858725] The buggy address belongs to the object at ffff88808887aa80 [ 57.858725] which belongs to the cache kmalloc-4096 of size 4096 [ 57.871555] The buggy address is located 1696 bytes inside of [ 57.871555] 4096-byte region [ffff88808887aa80, ffff88808887ba80) [ 57.883589] The buggy address belongs to the page: [ 57.888509] page:ffffea0002221e80 count:1 mapcount:0 mapping:ffff88812c3dcdc0 index:0x0 compound_mapcount: 0 [ 57.898462] flags: 0xfffe0000008100(slab|head) [ 57.903034] raw: 00fffe0000008100 ffffea0002957608 ffffea000295e408 ffff88812c3dcdc0 [ 57.910950] raw: 0000000000000000 ffff88808887aa80 0000000100000001 0000000000000000 [ 57.918828] page dumped because: kasan: bad access detected [ 57.924532] [ 57.926144] Memory state around the buggy address: [ 57.931057] ffff88808887b000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.938404] ffff88808887b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.945748] >ffff88808887b100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.953092] ^ [ 57.957485] ffff88808887b180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.964830] ffff88808887b200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 57.972172] ================================================================== [ 57.979514] Disabling lock debugging due to kernel taint [ 57.986848] Kernel panic - not syncing: panic_on_warn set ... [ 57.986848] [ 57.994235] CPU: 0 PID: 8233 Comm: syz-executor321 Tainted: G B 4.19.109-syzkaller #0 [ 58.003493] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.012829] Call Trace: [ 58.015402] dump_stack+0x188/0x20d [ 58.019021] panic+0x26a/0x50e [ 58.022197] ? __warn_printk+0xf3/0xf3 [ 58.026066] ? preempt_schedule_common+0x4a/0xc0 [ 58.030858] ? free_netdev+0x3b0/0x420 [ 58.034738] ? ___preempt_schedule+0x16/0x18 [ 58.039130] ? trace_hardirqs_on+0x55/0x210 [ 58.043431] ? free_netdev+0x3b0/0x420 [ 58.047339] kasan_end_report+0x43/0x49 [ 58.051294] kasan_report.cold+0xa4/0x2b9 [ 58.055460] free_netdev+0x3b0/0x420 [ 58.059166] netdev_run_todo+0x5ea/0x740 [ 58.063223] ? register_netdev+0x50/0x50 [ 58.067263] ? __lock_is_held+0xad/0x140 [ 58.071313] ? rtnl_link_get_net_capable.constprop.0+0x230/0x230 [ 58.077439] rtnetlink_rcv_msg+0x460/0xaf0 [ 58.081658] ? rtnetlink_put_metrics+0x520/0x520 [ 58.086398] ? find_held_lock+0x2d/0x110 [ 58.090449] netlink_rcv_skb+0x160/0x410 [ 58.094490] ? rtnetlink_put_metrics+0x520/0x520 [ 58.099229] ? netlink_ack+0xa60/0xa60 [ 58.103102] netlink_unicast+0x4d7/0x6a0 [ 58.107149] ? netlink_attachskb+0x710/0x710 [ 58.111545] netlink_sendmsg+0x80b/0xcd0 [ 58.115633] ? netlink_unicast+0x6a0/0x6a0 [ 58.119860] ? move_addr_to_kernel.part.0+0x110/0x110 [ 58.125035] ? netlink_unicast+0x6a0/0x6a0 [ 58.129249] sock_sendmsg+0xcf/0x120 [ 58.132942] ___sys_sendmsg+0x803/0x920 [ 58.136897] ? copy_msghdr_from_user+0x410/0x410 [ 58.141668] ? __fget+0x319/0x510 [ 58.145108] ? lock_downgrade+0x740/0x740 [ 58.149247] ? check_preemption_disabled+0x41/0x280 [ 58.154244] ? __fget+0x340/0x510 [ 58.157679] ? iterate_fd+0x350/0x350 [ 58.161472] ? __might_fault+0x192/0x1d0 [ 58.165522] ? __fget_light+0x1d1/0x230 [ 58.169494] __sys_sendmsg+0xec/0x1b0 [ 58.173278] ? __ia32_sys_shutdown+0x70/0x70 [ 58.177671] ? __x64_sys_futex+0x386/0x4f0 [ 58.181888] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 58.186624] ? trace_hardirqs_off_caller+0x55/0x210 [ 58.191621] ? do_syscall_64+0x21/0x620 [ 58.195577] do_syscall_64+0xf9/0x620 [ 58.199359] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.204536] RIP: 0033:0x448689 [ 58.207711] Code: e8 3c e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 ab 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 58.226603] RSP: 002b:00007f52f9a53ce8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 58.234293] RAX: ffffffffffffffda RBX: 00000000006e4a08 RCX: 0000000000448689 [ 58.241554] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005 [ 58.248807] RBP: 00000000006e4a00 R08: 0000000000000000 R09: 0000000000000000 [ 58.256060] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006e4a0c [ 58.263318] R13: 00007ffc3e53261f R14: 00007f52f9a549c0 R15: 20c49ba5e353f7cf [ 58.271834] Kernel Offset: disabled [ 58.275453] Rebooting in 86400 seconds..