[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 66.187943][ T27] audit: type=1800 audit(1577063886.216:25): pid=9118 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 66.209216][ T27] audit: type=1800 audit(1577063886.216:26): pid=9118 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 66.265038][ T27] audit: type=1800 audit(1577063886.226:27): pid=9118 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.1.7' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 87.935634][ T9297] ================================================================== [ 87.943950][ T9297] BUG: KASAN: use-after-free in try_to_grab_pending+0x115/0x910 [ 87.951594][ T9297] Write of size 8 at addr ffff88809931b008 by task syz-executor891/9297 [ 87.959931][ T9297] [ 87.962285][ T9297] CPU: 0 PID: 9297 Comm: syz-executor891 Not tainted 5.5.0-rc2-next-20191220-syzkaller #0 [ 87.972177][ T9297] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 87.982249][ T9297] Call Trace: [ 87.985556][ T9297] dump_stack+0x197/0x210 [ 87.989932][ T9297] ? try_to_grab_pending+0x115/0x910 [ 87.995243][ T9297] print_address_description.constprop.0.cold+0xd4/0x30b [ 88.002286][ T9297] ? try_to_grab_pending+0x115/0x910 [ 88.007697][ T9297] ? try_to_grab_pending+0x115/0x910 [ 88.013001][ T9297] __kasan_report.cold+0x1b/0x41 [ 88.017960][ T9297] ? try_to_grab_pending+0x115/0x910 [ 88.023260][ T9297] kasan_report+0x12/0x20 [ 88.027606][ T9297] check_memory_region+0x134/0x1a0 [ 88.032734][ T9297] __kasan_check_write+0x14/0x20 [ 88.037689][ T9297] try_to_grab_pending+0x115/0x910 [ 88.042825][ T9297] __cancel_work_timer+0xc4/0x540 [ 88.047866][ T9297] ? console_unlock+0x7b3/0xf00 [ 88.052742][ T9297] ? mod_delayed_work_on+0x200/0x200 [ 88.058169][ T9297] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 88.063926][ T9297] ? console_unlock+0x81e/0xf00 [ 88.068810][ T9297] cancel_work_sync+0x18/0x20 [ 88.073514][ T9297] tty_buffer_cancel_work+0x16/0x20 [ 88.078736][ T9297] release_tty+0x261/0x470 [ 88.083181][ T9297] tty_release_struct+0x3c/0x50 [ 88.088048][ T9297] tty_release+0xbcb/0xe90 [ 88.092500][ T9297] __fput+0x2ff/0x890 [ 88.096643][ T9297] ? do_tty_hangup+0x30/0x30 [ 88.101348][ T9297] ____fput+0x16/0x20 [ 88.105353][ T9297] task_work_run+0x145/0x1c0 [ 88.109970][ T9297] do_exit+0x909/0x2f20 [ 88.114153][ T9297] ? mm_update_next_owner+0x7c0/0x7c0 [ 88.119686][ T9297] ? down_read_non_owner+0x490/0x490 [ 88.124998][ T9297] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 88.131782][ T9297] ? handle_mm_fault+0x4ab/0xa50 [ 88.136740][ T9297] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 88.142218][ T9297] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 88.147700][ T9297] do_group_exit+0x135/0x360 [ 88.152316][ T9297] __x64_sys_exit_group+0x44/0x50 [ 88.157364][ T9297] do_syscall_64+0xfa/0x790 [ 88.161894][ T9297] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 88.167815][ T9297] RIP: 0033:0x43ff38 [ 88.171727][ T9297] Code: Bad RIP value. [ 88.175800][ T9297] RSP: 002b:00007fff47dc12f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 88.184225][ T9297] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 88.192319][ T9297] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 88.200304][ T9297] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 88.208291][ T9297] R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000000001 [ 88.216277][ T9297] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 88.224277][ T9297] [ 88.226619][ T9297] Allocated by task 9297: [ 88.230964][ T9297] save_stack+0x23/0x90 [ 88.235139][ T9297] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 88.240783][ T9297] kasan_kmalloc+0x9/0x10 [ 88.245134][ T9297] kmem_cache_alloc_trace+0x158/0x790 [ 88.250608][ T9297] vc_allocate+0x1fc/0x760 [ 88.255046][ T9297] con_install+0x52/0x410 [ 88.259386][ T9297] tty_init_dev+0xf9/0x470 [ 88.263813][ T9297] tty_open+0x4a5/0xbb0 [ 88.267978][ T9297] chrdev_open+0x245/0x6b0 [ 88.272403][ T9297] do_dentry_open+0x4ca/0x1350 [ 88.277175][ T9297] vfs_open+0xa0/0xd0 [ 88.281166][ T9297] path_openat+0x12fd/0x34d0 [ 88.285771][ T9297] do_filp_open+0x192/0x260 [ 88.290282][ T9297] do_sys_openat2+0x633/0x840 [ 88.295081][ T9297] do_sys_open+0xfc/0x190 [ 88.299400][ T9297] __x64_sys_open+0x7e/0xc0 [ 88.303894][ T9297] do_syscall_64+0xfa/0x790 [ 88.308401][ T9297] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 88.314305][ T9297] [ 88.316628][ T9297] Freed by task 9300: [ 88.320635][ T9297] save_stack+0x23/0x90 [ 88.324790][ T9297] __kasan_slab_free+0x102/0x150 [ 88.329723][ T9297] kasan_slab_free+0xe/0x10 [ 88.334228][ T9297] kfree+0x10a/0x2c0 [ 88.338136][ T9297] vt_disallocate_all+0x2bd/0x3e0 [ 88.343154][ T9297] vt_ioctl+0xc38/0x26d0 [ 88.347380][ T9297] tty_ioctl+0xa37/0x14f0 [ 88.351691][ T9297] ksys_ioctl+0x123/0x180 [ 88.356005][ T9297] __x64_sys_ioctl+0x73/0xb0 [ 88.360589][ T9297] do_syscall_64+0xfa/0x790 [ 88.365078][ T9297] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 88.370944][ T9297] [ 88.373265][ T9297] The buggy address belongs to the object at ffff88809931b000 [ 88.373265][ T9297] which belongs to the cache kmalloc-2k of size 2048 [ 88.387311][ T9297] The buggy address is located 8 bytes inside of [ 88.387311][ T9297] 2048-byte region [ffff88809931b000, ffff88809931b800) [ 88.400492][ T9297] The buggy address belongs to the page: [ 88.406105][ T9297] page:ffffea000264c6c0 refcount:1 mapcount:0 mapping:ffff8880aa400e00 index:0x0 [ 88.415212][ T9297] raw: 00fffe0000000200 ffffea000277f748 ffffea00026bbe48 ffff8880aa400e00 [ 88.423792][ T9297] raw: 0000000000000000 ffff88809931b000 0000000100000001 0000000000000000 [ 88.432355][ T9297] page dumped because: kasan: bad access detected [ 88.438758][ T9297] [ 88.441070][ T9297] Memory state around the buggy address: [ 88.446691][ T9297] ffff88809931af00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 88.454780][ T9297] ffff88809931af80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 88.462831][ T9297] >ffff88809931b000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 88.471067][ T9297] ^ [ 88.475387][ T9297] ffff88809931b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 88.483452][ T9297] ffff88809931b100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 88.491495][ T9297] ================================================================== [ 88.499536][ T9297] Disabling lock debugging due to kernel taint [ 88.505676][ T9297] Kernel panic - not syncing: panic_on_warn set ... [ 88.512258][ T9297] CPU: 0 PID: 9297 Comm: syz-executor891 Tainted: G B 5.5.0-rc2-next-20191220-syzkaller #0 [ 88.523646][ T9297] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 88.533682][ T9297] Call Trace: [ 88.536957][ T9297] dump_stack+0x197/0x210 [ 88.541266][ T9297] panic+0x2e3/0x75c [ 88.545140][ T9297] ? add_taint.cold+0x16/0x16 [ 88.549817][ T9297] ? try_to_grab_pending+0x115/0x910 [ 88.555148][ T9297] ? trace_hardirqs_off+0x62/0x240 [ 88.560257][ T9297] ? trace_hardirqs_off+0x59/0x240 [ 88.565366][ T9297] ? try_to_grab_pending+0x115/0x910 [ 88.570641][ T9297] end_report+0x47/0x4f [ 88.574782][ T9297] ? try_to_grab_pending+0x115/0x910 [ 88.580055][ T9297] __kasan_report.cold+0xe/0x41 [ 88.585011][ T9297] ? try_to_grab_pending+0x115/0x910 [ 88.590296][ T9297] kasan_report+0x12/0x20 [ 88.594614][ T9297] check_memory_region+0x134/0x1a0 [ 88.599708][ T9297] __kasan_check_write+0x14/0x20 [ 88.604666][ T9297] try_to_grab_pending+0x115/0x910 [ 88.609767][ T9297] __cancel_work_timer+0xc4/0x540 [ 88.614824][ T9297] ? console_unlock+0x7b3/0xf00 [ 88.619666][ T9297] ? mod_delayed_work_on+0x200/0x200 [ 88.624941][ T9297] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 88.630646][ T9297] ? console_unlock+0x81e/0xf00 [ 88.635490][ T9297] cancel_work_sync+0x18/0x20 [ 88.640146][ T9297] tty_buffer_cancel_work+0x16/0x20 [ 88.645322][ T9297] release_tty+0x261/0x470 [ 88.649728][ T9297] tty_release_struct+0x3c/0x50 [ 88.654558][ T9297] tty_release+0xbcb/0xe90 [ 88.658967][ T9297] __fput+0x2ff/0x890 [ 88.662937][ T9297] ? do_tty_hangup+0x30/0x30 [ 88.667505][ T9297] ____fput+0x16/0x20 [ 88.671473][ T9297] task_work_run+0x145/0x1c0 [ 88.676066][ T9297] do_exit+0x909/0x2f20 [ 88.680215][ T9297] ? mm_update_next_owner+0x7c0/0x7c0 [ 88.685578][ T9297] ? down_read_non_owner+0x490/0x490 [ 88.690843][ T9297] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 88.697061][ T9297] ? handle_mm_fault+0x4ab/0xa50 [ 88.701996][ T9297] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 88.707433][ T9297] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 88.712872][ T9297] do_group_exit+0x135/0x360 [ 88.717456][ T9297] __x64_sys_exit_group+0x44/0x50 [ 88.722458][ T9297] do_syscall_64+0xfa/0x790 [ 88.726942][ T9297] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 88.732820][ T9297] RIP: 0033:0x43ff38 [ 88.736734][ T9297] Code: Bad RIP value. [ 88.740776][ T9297] RSP: 002b:00007fff47dc12f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 88.749169][ T9297] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 88.757119][ T9297] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 88.765084][ T9297] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 88.773047][ T9297] R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000000001 [ 88.780995][ T9297] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 88.790152][ T9297] Kernel Offset: disabled [ 88.794470][ T9297] Rebooting in 86400 seconds..