[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 75.732025][ T27] audit: type=1800 audit(1584257575.738:25): pid=9353 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 75.752951][ T27] audit: type=1800 audit(1584257575.738:26): pid=9353 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 75.801672][ T27] audit: type=1800 audit(1584257575.738:27): pid=9353 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.170' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 90.020890][ T9522] ================================================================== [ 90.029149][ T9522] BUG: KASAN: use-after-free in try_to_grab_pending+0x112/0x8e0 [ 90.036784][ T9522] Write of size 8 at addr ffff888098b69008 by task syz-executor362/9522 [ 90.045103][ T9522] [ 90.047445][ T9522] CPU: 1 PID: 9522 Comm: syz-executor362 Not tainted 5.6.0-rc3-next-20200228-syzkaller #0 [ 90.057332][ T9522] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 90.067389][ T9522] Call Trace: [ 90.070689][ T9522] dump_stack+0x188/0x20d [ 90.075030][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.080326][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.085616][ T9522] print_address_description.constprop.0.cold+0xd3/0x315 [ 90.092642][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.097934][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.103225][ T9522] __kasan_report.cold+0x1a/0x32 [ 90.108175][ T9522] ? firmware_map_remove+0x183/0x19a [ 90.113467][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.118776][ T9522] kasan_report+0xe/0x20 [ 90.123033][ T9522] check_memory_region+0x128/0x190 [ 90.128152][ T9522] try_to_grab_pending+0x112/0x8e0 [ 90.133276][ T9522] __cancel_work_timer+0xa6/0x500 [ 90.138313][ T9522] ? mod_delayed_work_on+0x1f0/0x1f0 [ 90.143728][ T9522] ? console_unlock+0x7ab/0xf00 [ 90.148591][ T9522] ? lockdep_hardirqs_on+0x417/0x5d0 [ 90.153893][ T9522] ? get_work_pool+0x1a0/0x1a0 [ 90.158687][ T9522] release_tty+0x253/0x450 [ 90.163113][ T9522] tty_release_struct+0x37/0x50 [ 90.167975][ T9522] tty_release+0xbc7/0xe90 [ 90.172414][ T9522] ? do_tty_hangup+0x30/0x30 [ 90.177017][ T9522] __fput+0x2da/0x850 [ 90.181025][ T9522] task_work_run+0x13f/0x1b0 [ 90.185634][ T9522] do_exit+0xb53/0x2e10 [ 90.189813][ T9522] ? mm_update_next_owner+0x7a0/0x7a0 [ 90.195198][ T9522] ? up_read+0x1a8/0x750 [ 90.199453][ T9522] ? down_read_nested+0x430/0x430 [ 90.204485][ T9522] ? handle_mm_fault+0x29e/0x660 [ 90.209428][ T9522] do_group_exit+0x125/0x340 [ 90.214027][ T9522] __x64_sys_exit_group+0x3a/0x50 [ 90.219055][ T9522] do_syscall_64+0xf6/0x790 [ 90.223567][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 90.229464][ T9522] RIP: 0033:0x43ff38 [ 90.233362][ T9522] Code: Bad RIP value. [ 90.237424][ T9522] RSP: 002b:00007ffc1322c528 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 90.245844][ T9522] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 90.253818][ T9522] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 90.261899][ T9522] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 executing program executing program executing program [ 90.269874][ T9522] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 90.277852][ T9522] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 90.285866][ T9522] [ 90.288191][ T9522] Allocated by task 9522: [ 90.292509][ T9522] save_stack+0x1b/0x40 [ 90.296766][ T9522] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 90.302384][ T9522] kmem_cache_alloc_trace+0x153/0x7d0 [ 90.307766][ T9522] vc_allocate+0x1e2/0x6e0 [ 90.312189][ T9522] con_install+0x4f/0x400 [ 90.316506][ T9522] tty_init_dev+0xf5/0x460 [ 90.320903][ T9522] tty_open+0x47f/0xb30 [ 90.325046][ T9522] chrdev_open+0x219/0x5c0 [ 90.329445][ T9522] do_dentry_open+0x49e/0x1250 [ 90.334193][ T9522] path_openat+0x122a/0x3230 [ 90.338773][ T9522] do_filp_open+0x192/0x260 [ 90.343385][ T9522] do_sys_openat2+0x54c/0x740 [ 90.349008][ T9522] do_sys_open+0xc3/0x140 [ 90.353472][ T9522] do_syscall_64+0xf6/0x790 [ 90.357962][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 90.364273][ T9522] [ 90.366585][ T9522] Freed by task 9517: [ 90.370760][ T9522] save_stack+0x1b/0x40 [ 90.374904][ T9522] __kasan_slab_free+0xf7/0x140 [ 90.379738][ T9522] kfree+0x109/0x2b0 [ 90.383623][ T9522] vt_disallocate_all+0x283/0x370 [ 90.388641][ T9522] vt_ioctl+0x79e/0x2450 [ 90.392873][ T9522] tty_ioctl+0xedd/0x1440 [ 90.397535][ T9522] ksys_ioctl+0x11a/0x180 [ 90.401851][ T9522] __x64_sys_ioctl+0x6f/0xb0 [ 90.406424][ T9522] do_syscall_64+0xf6/0x790 [ 90.410911][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 90.416780][ T9522] [ 90.419207][ T9522] The buggy address belongs to the object at ffff888098b69000 [ 90.419207][ T9522] which belongs to the cache kmalloc-2k of size 2048 [ 90.433250][ T9522] The buggy address is located 8 bytes inside of [ 90.433250][ T9522] 2048-byte region [ffff888098b69000, ffff888098b69800) [ 90.446440][ T9522] The buggy address belongs to the page: [ 90.452074][ T9522] page:ffffea000262da40 refcount:1 mapcount:0 mapping:00000000355ac533 index:0x0 [ 90.461303][ T9522] flags: 0xfffe0000000200(slab) [ 90.466145][ T9522] raw: 00fffe0000000200 ffffea00023e5f08 ffffea0002514d88 ffff8880aa000e00 [ 90.474808][ T9522] raw: 0000000000000000 ffff888098b69000 0000000100000001 0000000000000000 [ 90.483379][ T9522] page dumped because: kasan: bad access detected [ 90.489766][ T9522] [ 90.492180][ T9522] Memory state around the buggy address: [ 90.497809][ T9522] ffff888098b68f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc [ 90.505861][ T9522] ffff888098b68f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 90.513905][ T9522] >ffff888098b69000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 90.521943][ T9522] ^ [ 90.526253][ T9522] ffff888098b69080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 90.534293][ T9522] ffff888098b69100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 90.542348][ T9522] ================================================================== [ 90.550390][ T9522] Disabling lock debugging due to kernel taint [ 90.556528][ T9522] Kernel panic - not syncing: panic_on_warn set ... [ 90.563095][ T9522] CPU: 1 PID: 9522 Comm: syz-executor362 Tainted: G B 5.6.0-rc3-next-20200228-syzkaller #0 [ 90.574345][ T9522] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 90.584422][ T9522] Call Trace: [ 90.587871][ T9522] dump_stack+0x188/0x20d [ 90.592209][ T9522] panic+0x2e3/0x75c [ 90.596093][ T9522] ? add_taint.cold+0x16/0x16 [ 90.600757][ T9522] ? print_shadow_for_address+0xb8/0x114 [ 90.606398][ T9522] ? trace_hardirqs_off+0x50/0x220 [ 90.611499][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.616779][ T9522] end_report+0x43/0x49 [ 90.620936][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.626197][ T9522] __kasan_report.cold+0xd/0x32 [ 90.631041][ T9522] ? firmware_map_remove+0x183/0x19a [ 90.636306][ T9522] ? try_to_grab_pending+0x112/0x8e0 [ 90.641600][ T9522] kasan_report+0xe/0x20 [ 90.645829][ T9522] check_memory_region+0x128/0x190 [ 90.650929][ T9522] try_to_grab_pending+0x112/0x8e0 [ 90.656045][ T9522] __cancel_work_timer+0xa6/0x500 [ 90.661047][ T9522] ? mod_delayed_work_on+0x1f0/0x1f0 [ 90.666309][ T9522] ? console_unlock+0x7ab/0xf00 [ 90.671152][ T9522] ? lockdep_hardirqs_on+0x417/0x5d0 [ 90.676414][ T9522] ? get_work_pool+0x1a0/0x1a0 [ 90.681174][ T9522] release_tty+0x253/0x450 [ 90.685591][ T9522] tty_release_struct+0x37/0x50 [ 90.690432][ T9522] tty_release+0xbc7/0xe90 [ 90.694918][ T9522] ? do_tty_hangup+0x30/0x30 [ 90.699490][ T9522] __fput+0x2da/0x850 [ 90.703456][ T9522] task_work_run+0x13f/0x1b0 [ 90.708027][ T9522] do_exit+0xb53/0x2e10 [ 90.712459][ T9522] ? mm_update_next_owner+0x7a0/0x7a0 [ 90.717941][ T9522] ? up_read+0x1a8/0x750 [ 90.722164][ T9522] ? down_read_nested+0x430/0x430 [ 90.727168][ T9522] ? handle_mm_fault+0x29e/0x660 [ 90.732087][ T9522] do_group_exit+0x125/0x340 [ 90.736659][ T9522] __x64_sys_exit_group+0x3a/0x50 [ 90.741664][ T9522] do_syscall_64+0xf6/0x790 [ 90.746162][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 90.752036][ T9522] RIP: 0033:0x43ff38 [ 90.756022][ T9522] Code: Bad RIP value. [ 90.760072][ T9522] RSP: 002b:00007ffc1322c528 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 90.768463][ T9522] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 90.776417][ T9522] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 90.784366][ T9522] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 90.792314][ T9522] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 90.800271][ T9522] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 90.809750][ T9522] Kernel Offset: disabled [ 90.814071][ T9522] Rebooting in 86400 seconds..