[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 33.705209] random: sshd: uninitialized urandom read (32 bytes read) [ 34.032966] kauditd_printk_skb: 10 callbacks suppressed [ 34.032974] audit: type=1400 audit(1575505897.500:35): avc: denied { map } for pid=6991 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [ 34.097619] random: sshd: uninitialized urandom read (32 bytes read) [ 34.640608] random: sshd: uninitialized urandom read (32 bytes read) [ 34.828067] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.114' (ECDSA) to the list of known hosts. [ 40.391211] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program [ 40.511804] audit: type=1400 audit(1575505903.980:36): avc: denied { map } for pid=7004 comm="syz-executor412" path="/root/syz-executor412016431" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 40.568159] ================================================================== [ 40.575683] BUG: KASAN: use-after-free in get_work_pool+0x12f/0x150 [ 40.582096] Read of size 8 at addr ffff88807e53ca08 by task syz-executor412/7014 [ 40.589633] [ 40.591261] CPU: 0 PID: 7014 Comm: syz-executor412 Not tainted 4.14.157-syzkaller #0 [ 40.599140] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.608493] Call Trace: [ 40.611080] dump_stack+0x142/0x197 [ 40.614700] ? get_work_pool+0x12f/0x150 [ 40.618767] print_address_description.cold+0x7c/0x1dc [ 40.624029] ? get_work_pool+0x12f/0x150 [ 40.628074] kasan_report.cold+0xa9/0x2af [ 40.632209] __asan_report_load8_noabort+0x14/0x20 [ 40.637122] get_work_pool+0x12f/0x150 [ 40.641006] flush_work+0x117/0x730 [ 40.644640] ? trace_hardirqs_on+0x10/0x10 [ 40.648884] ? insert_work+0x320/0x320 [ 40.652781] ? save_trace+0x290/0x290 [ 40.656591] ? find_held_lock+0x35/0x130 [ 40.660657] ? console_unlock+0x5c3/0xed0 [ 40.664812] ? mark_held_locks+0xb1/0x100 [ 40.668977] ? __cancel_work_timer+0x166/0x480 [ 40.673567] __cancel_work_timer+0x2f0/0x480 [ 40.677964] ? cancel_delayed_work+0x20/0x20 [ 40.682358] ? trace_hardirqs_on_caller+0x400/0x590 [ 40.687356] ? trace_hardirqs_on+0xd/0x10 [ 40.691487] ? console_unlock+0xa4a/0xed0 [ 40.695622] cancel_work_sync+0x18/0x20 [ 40.699581] tty_buffer_cancel_work+0x16/0x20 [ 40.704058] release_tty+0x3f4/0x7c0 [ 40.707754] tty_release_struct+0x3c/0x50 [ 40.711909] tty_release+0xaa3/0xd60 [ 40.715633] ? tty_release_struct+0x50/0x50 [ 40.719940] __fput+0x275/0x7a0 [ 40.723207] ____fput+0x16/0x20 [ 40.726469] task_work_run+0x114/0x190 [ 40.730370] do_exit+0x7df/0x2ce0 [ 40.733812] ? mm_update_next_owner+0x5d0/0x5d0 [ 40.738465] ? up_read+0x1a/0x40 [ 40.741818] ? __do_page_fault+0x358/0xb80 [ 40.746057] do_group_exit+0x111/0x330 [ 40.749953] SyS_exit_group+0x1d/0x20 [ 40.753746] ? do_group_exit+0x330/0x330 [ 40.757790] do_syscall_64+0x1e8/0x640 [ 40.761659] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.766487] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.771658] RIP: 0033:0x43ff38 [ 40.774829] RSP: 002b:00007ffc3e5864c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 40.782517] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 40.789796] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 40.797078] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 40.804343] R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000000001 [ 40.811596] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 40.818859] [ 40.820468] Allocated by task 7014: [ 40.824098] save_stack_trace+0x16/0x20 [ 40.828055] save_stack+0x45/0xd0 [ 40.831491] kasan_kmalloc+0xce/0xf0 [ 40.835196] kmem_cache_alloc_trace+0x152/0x790 [ 40.839856] vc_allocate+0x148/0x580 [ 40.843550] con_install+0x52/0x400 [ 40.847173] tty_init_dev+0xea/0x3a0 [ 40.850866] tty_open+0x414/0xa10 [ 40.854315] chrdev_open+0x207/0x590 [ 40.858043] do_dentry_open+0x73b/0xeb0 [ 40.861998] vfs_open+0x105/0x220 [ 40.865439] path_openat+0x8bd/0x3f70 [ 40.869221] do_filp_open+0x18e/0x250 [ 40.873001] do_sys_open+0x2c5/0x430 [ 40.876697] SyS_open+0x2d/0x40 [ 40.879960] do_syscall_64+0x1e8/0x640 [ 40.883827] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.888995] [ 40.890601] Freed by task 7016: [ 40.893876] save_stack_trace+0x16/0x20 [ 40.897843] save_stack+0x45/0xd0 [ 40.901281] kasan_slab_free+0x75/0xc0 [ 40.905147] kfree+0xcc/0x270 [ 40.908237] vt_disallocate_all+0x286/0x380 [ 40.912538] vt_ioctl+0x76b/0x2170 [ 40.916071] tty_ioctl+0x841/0x1320 [ 40.919711] do_vfs_ioctl+0x7ae/0x1060 [ 40.923582] SyS_ioctl+0x8f/0xc0 [ 40.926931] do_syscall_64+0x1e8/0x640 [ 40.930801] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.935979] [ 40.937593] The buggy address belongs to the object at ffff88807e53ca00 [ 40.937593] which belongs to the cache kmalloc-2048 of size 2048 [ 40.950422] The buggy address is located 8 bytes inside of [ 40.950422] 2048-byte region [ffff88807e53ca00, ffff88807e53d200) [ 40.962201] The buggy address belongs to the page: [ 40.967121] page:ffffea0001f94f00 count:1 mapcount:0 mapping:ffff88807e53c180 index:0x0 compound_mapcount: 0 [ 40.977082] flags: 0xfffe0000008100(slab|head) [ 40.981654] raw: 00fffe0000008100 ffff88807e53c180 0000000000000000 0000000100000003 [ 40.989864] raw: ffffea0001f7ab20 ffffea00022649a0 ffff8880aa800c40 0000000000000000 [ 40.997723] page dumped because: kasan: bad access detected [ 41.003411] [ 41.005023] Memory state around the buggy address: [ 41.009931] ffff88807e53c900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.017269] ffff88807e53c980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.024609] >ffff88807e53ca00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.031949] ^ [ 41.035573] ffff88807e53ca80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.042920] ffff88807e53cb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.050346] ================================================================== [ 41.057713] Disabling lock debugging due to kernel taint [ 41.063151] Kernel panic - not syncing: panic_on_warn set ... [ 41.063151] [ 41.070616] CPU: 0 PID: 7014 Comm: syz-executor412 Tainted: G B 4.14.157-syzkaller #0 [ 41.079701] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.089037] Call Trace: [ 41.091613] dump_stack+0x142/0x197 [ 41.095224] ? get_work_pool+0x12f/0x150 [ 41.099263] panic+0x1f9/0x42d [ 41.102434] ? add_taint.cold+0x16/0x16 [ 41.106389] ? lock_downgrade+0x740/0x740 [ 41.110534] kasan_end_report+0x47/0x4f [ 41.114490] kasan_report.cold+0x130/0x2af [ 41.118702] __asan_report_load8_noabort+0x14/0x20 [ 41.123633] get_work_pool+0x12f/0x150 [ 41.127513] flush_work+0x117/0x730 [ 41.131131] ? trace_hardirqs_on+0x10/0x10 [ 41.135384] ? insert_work+0x320/0x320 [ 41.139273] ? save_trace+0x290/0x290 [ 41.143075] ? find_held_lock+0x35/0x130 [ 41.147126] ? console_unlock+0x5c3/0xed0 [ 41.151276] ? mark_held_locks+0xb1/0x100 [ 41.155423] ? __cancel_work_timer+0x166/0x480 [ 41.159987] __cancel_work_timer+0x2f0/0x480 [ 41.164378] ? cancel_delayed_work+0x20/0x20 [ 41.168765] ? trace_hardirqs_on_caller+0x400/0x590 [ 41.173761] ? trace_hardirqs_on+0xd/0x10 [ 41.177910] ? console_unlock+0xa4a/0xed0 [ 41.182053] cancel_work_sync+0x18/0x20 [ 41.186005] tty_buffer_cancel_work+0x16/0x20 [ 41.190480] release_tty+0x3f4/0x7c0 [ 41.194177] tty_release_struct+0x3c/0x50 [ 41.198304] tty_release+0xaa3/0xd60 [ 41.201998] ? tty_release_struct+0x50/0x50 [ 41.206299] __fput+0x275/0x7a0 [ 41.209558] ____fput+0x16/0x20 [ 41.212817] task_work_run+0x114/0x190 [ 41.216685] do_exit+0x7df/0x2ce0 [ 41.220120] ? mm_update_next_owner+0x5d0/0x5d0 [ 41.224771] ? up_read+0x1a/0x40 [ 41.228129] ? __do_page_fault+0x358/0xb80 [ 41.232345] do_group_exit+0x111/0x330 [ 41.236213] SyS_exit_group+0x1d/0x20 [ 41.240003] ? do_group_exit+0x330/0x330 [ 41.244047] do_syscall_64+0x1e8/0x640 [ 41.247913] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.252738] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.257922] RIP: 0033:0x43ff38 [ 41.261091] RSP: 002b:00007ffc3e5864c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 41.268778] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 41.276029] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 41.283290] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 41.290550] R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000000001 [ 41.297804] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 41.306511] Kernel Offset: disabled [ 41.310142] Rebooting in 86400 seconds..