[ 8.785257][ T22] exe="/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' [ OK ] Stopped Network Time Synchronization. Starting Network Time Synchronization... [ OK ] Started Network Time Synchronization. [ OK ] Started Raise network interfaces. [ OK ] Reached target Network. Starting Permit User Sessions... Starting OpenBSD Secure Shell server... [ OK ] Started Permit User Sessions. [ OK ] Started OpenBSD Secure Shell server. Warning: Permanently added '10.128.0.23' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program [* ] A start job is running for dev-ttyS0.device (8s / 1min 30s) [** ] A start job is running for dev-ttyS0.device (8s / 1min 30s) [*** ] A start job is running for dev-ttyS0.device (9s / 1min 30s) [ *** ] A start job is running for dev-ttyS0.device (10s / 1min 30s) [ *** ] A start job is running for dev-ttyS0.device (10s / 1min 30s) [ ***] A start job is running for dev-ttyS0.device (11s / 1min 30s) [ **] A start job is running for dev-ttyS0.device (12s / 1min 30s)[ 18.237523][ T22] audit: type=1400 audit(1591779540.768:8): avc: denied { execmem } for pid=415 comm="syz-executor641" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process 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 [ *] A start job is running for dev-ttyS0.device (12s / 1min 30s)[ 19.193772][ T511] ================================================================== [ 19.201868][ T511] BUG: KASAN: use-after-free in free_netdev+0x176/0x300 [ 19.208776][ T511] Read of size 8 at addr ffff8881cce81538 by task syz-executor641/511 [ 19.217063][ T511] [ 19.219367][ T511] CPU: 1 PID: 511 Comm: syz-executor641 Not tainted 5.4.45-syzkaller-00055-ge33d025bf6a3 #0 [ 19.229390][ T511] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.239414][ T511] Call Trace: [ 19.242677][ T511] dump_stack+0x14a/0x1ce [ 19.246976][ T511] ? show_regs_print_info+0x12/0x12 [ 19.252152][ T511] ? printk+0xd2/0x114 [ 19.256190][ T511] print_address_description+0x93/0x620 [ 19.261715][ T511] ? slab_free_freelist_hook+0xd0/0x150 [ 19.267664][ T511] ? call_rcu+0x10/0x10 [ 19.272324][ T511] __kasan_report+0x16d/0x1e0 [ 19.277066][ T511] ? free_netdev+0x176/0x300 [ 19.281631][ T511] kasan_report+0x34/0x60 [ 19.285946][ T511] free_netdev+0x176/0x300 [ 19.290340][ T511] netdev_run_todo+0xc38/0xe90 [ 19.295082][ T511] ? netdev_refcnt_read+0x1a0/0x1a0 [ 19.300251][ T511] ? mutex_trylock+0xb0/0xb0 [ 19.304819][ T511] rtnetlink_rcv_msg+0x9a0/0xc60 [ 19.309728][ T511] ? is_bpf_text_address+0x290/0x2b0 [ 19.314992][ T511] ? rtnetlink_bind+0x80/0x80 [ 19.319651][ T511] ? unwind_get_return_address+0x48/0x90 [ 19.325343][ T511] ? arch_stack_walk+0xd8/0x120 [ 19.330284][ T511] ? stack_trace_save+0x123/0x1f0 [ 19.335292][ T511] ? stack_trace_snprint+0x150/0x150 [ 19.340589][ T511] ? rhashtable_jhash2+0x1cf/0x2f0 [ 19.345685][ T511] ? jhash+0x740/0x740 [ 19.349915][ T511] ? rht_key_hashfn+0x157/0x240 [ 19.354740][ T511] ? deferred_put_nlk_sk+0x210/0x210 [ 19.360104][ T511] ? jhash+0x740/0x740 [ 19.364148][ T511] ? netlink_hash+0xd0/0xd0 [ 19.368634][ T511] ? __sys_sendmsg+0x2d5/0x3c0 [ 19.373366][ T511] ? do_syscall_64+0xcb/0x150 [ 19.378012][ T511] ? entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 19.384070][ T511] ? __rcu_read_lock+0x50/0x50 [ 19.388803][ T511] netlink_rcv_skb+0x200/0x480 [ 19.393549][ T511] ? rtnetlink_bind+0x80/0x80 [ 19.398399][ T511] ? netlink_ack+0xa90/0xa90 [ 19.402967][ T511] ? __rcu_read_lock+0x50/0x50 [ 19.407736][ T511] ? selinux_vm_enough_memory+0x170/0x170 [ 19.413522][ T511] ? netlink_trim+0x10a/0x230 [ 19.418182][ T511] netlink_unicast+0x8ad/0xa50 [ 19.422932][ T511] ? netlink_detachskb+0x60/0x60 [ 19.427853][ T511] ? __virt_addr_valid+0x1fd/0x290 [ 19.432943][ T511] netlink_sendmsg+0x9de/0xd80 [ 19.437683][ T511] ? netlink_getsockopt+0x8e0/0x8e0 [ 19.442851][ T511] ? import_iovec+0x1c2/0x380 [ 19.447500][ T511] ? security_socket_sendmsg+0xad/0xc0 [ 19.452927][ T511] ? netlink_getsockopt+0x8e0/0x8e0 [ 19.458095][ T511] ____sys_sendmsg+0x58a/0x8d0 [ 19.462916][ T511] ? __sys_sendmsg_sock+0x2b0/0x2b0 [ 19.468226][ T511] ? percpu_counter_add_batch+0x12d/0x150 [ 19.474116][ T511] __sys_sendmsg+0x2d5/0x3c0 [ 19.478698][ T511] ? ____sys_sendmsg+0x8d0/0x8d0 [ 19.483736][ T511] ? find_next_zero_bit+0xfb/0x120 [ 19.489109][ T511] ? sock_alloc_file+0x14a/0x230 [ 19.494030][ T511] ? fput_many+0x42/0x1a0 [ 19.498333][ T511] do_syscall_64+0xcb/0x150 [ 19.502809][ T511] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 19.508689][ T511] RIP: 0033:0x446c29 [ 19.512565][ T511] Code: e8 8c e7 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 fb 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 19.532138][ T511] RSP: 002b:00007f21655f7d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 19.540516][ T511] RAX: ffffffffffffffda RBX: 00000000006dbc68 RCX: 0000000000446c29 [ 19.548471][ T511] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005 [ 19.556410][ T511] RBP: 00000000006dbc60 R08: 0000000000000000 R09: 0000000000000000 [ 19.564438][ T511] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc6c [ 19.572385][ T511] R13: 0000000000006f6c R14: 0000000000000000 R15: 0000000000000000 [ 19.580338][ T511] [ 19.582637][ T511] Allocated by task 511: [ 19.587467][ T511] __kasan_kmalloc+0x12c/0x1c0 [ 19.592204][ T511] __kmalloc+0xf7/0x2d0 [ 19.596375][ T511] sk_prot_alloc+0xd6/0x290 [ 19.600844][ T511] sk_alloc+0x2e/0x2e0 [ 19.604902][ T511] tun_chr_open+0x77/0x4a0 [ 19.609354][ T511] misc_open+0x356/0x3d0 [ 19.614376][ T511] chrdev_open+0x585/0x640 [ 19.618767][ T511] do_dentry_open+0x8f7/0x1070 [ 19.623509][ T511] path_openat+0x12db/0x3d10 [ 19.628154][ T511] do_filp_open+0x20d/0x440 [ 19.632643][ T511] do_sys_open+0x387/0x7d0 [ 19.637060][ T511] do_syscall_64+0xcb/0x150 [ 19.641547][ T511] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 19.647417][ T511] [ 19.649717][ T511] Freed by task 510: [ 19.653596][ T511] __kasan_slab_free+0x181/0x230 [ 19.658515][ T511] slab_free_freelist_hook+0xd0/0x150 [ 19.663856][ T511] kfree+0x12b/0x600 [ 19.667925][ T511] __sk_destruct+0x3f9/0x480 [ 19.672495][ T511] tun_chr_close+0xb4/0xd0 [ 19.676903][ T511] __fput+0x27d/0x6c0 [ 19.680856][ T511] task_work_run+0x176/0x1a0 [ 19.685437][ T511] prepare_exit_to_usermode+0x286/0x2e0 [ 19.691227][ T511] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 19.697091][ T511] [ 19.699401][ T511] The buggy address belongs to the object at ffff8881cce81000 [ 19.699401][ T511] which belongs to the cache kmalloc-2k of size 2048 [ 19.713964][ T511] The buggy address is located 1336 bytes inside of [ 19.713964][ T511] 2048-byte region [ffff8881cce81000, ffff8881cce81800) [ 19.727377][ T511] The buggy address belongs to the page: [ 19.733335][ T511] page:ffffea000733a000 refcount:1 mapcount:0 mapping:ffff8881da80c000 index:0x0 compound_mapcount: 0 [ 19.744241][ T511] flags: 0x8000000000010200(slab|head) [ 19.749685][ T511] raw: 8000000000010200 dead000000000100 dead000000000122 ffff8881da80c000 [ 19.758248][ T511] raw: 0000000000000000 0000000000080008 00000001ffffffff 0000000000000000 [ 19.766824][ T511] page dumped because: kasan: bad access detected [ 19.773219][ T511] [ 19.775529][ T511] Memory state around the buggy address: [ 19.781145][ T511] ffff8881cce81400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program [ 19.789177][ T511] ffff8881cce81480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.797218][ T511] >ffff8881cce81500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.805277][ T511] ^ [ 19.811172][ T511] ffff8881cce81580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.819214][ T511] ffff8881cce81600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 19.827244][ T511] ================================================================== [ 19.835275][ T511] Disabling lock debugging due to kernel taint 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 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 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 [ **] A start job is running for dev-ttyS0.device (13s / 1min 30s) [ ***] A start job is running for dev-ttyS0.device (14s / 1min 30s) [ *** ] A start job is running for dev-ttyS0.device (14s / 1min 30s) [ *** ] A start job is running for dev-ttyS0.device (15s / 1min 30s) [*** ] A start job is running for dev-ttyS0.device (15s / 1min 30s) [** ] A start job is running for dev-ttyS0.device (16s / 1min 30s) [* ] A start job is running for dev-ttyS0.device (16s / 1min 30s) [** ] A start job is running for dev-ttyS0.device (17s / 1min 30s) [*** ] A start job is running for dev-ttyS0.device (17s / 1min 30s) [ *** ] A start job is running for dev-ttyS0.device (18s / 1min 30s) [ *** ] A start job is running for dev-ttyS0.device (18s / 1min 30s) [ ***] A start job is running for dev-ttyS0.device (19s / 1min 30s) [ **] A start job is running for dev-ttyS0.device (19s / 1min 30s) [ *] A start job is running for dev-ttyS0.device (20s / 1min 30s) [ **] A start job is running for dev-ttyS0.device (20s / 1min 30s)[ 27.155337][ C0] random: crng init done [ 27.159618][ C0] random: 7 urandom warning(s) missed due to ratelimiting 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