[ 35.017833] audit: type=1800 audit(1554989965.402:33): pid=6928 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 35.045143] audit: type=1800 audit(1554989965.412:34): pid=6928 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 [ 35.245529] random: sshd: uninitialized urandom read (32 bytes read) [ 35.648870] audit: type=1400 audit(1554989966.032:35): avc: denied { map } for pid=7101 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 [ 35.704037] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 36.360621] random: sshd: uninitialized urandom read (32 bytes read) [ 36.559725] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.93' (ECDSA) to the list of known hosts. [ 42.227160] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.346196] audit: type=1400 audit(1554989972.732:36): avc: denied { map } for pid=7113 comm="syz-executor716" path="/root/syz-executor716924410" 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 [ 42.434095] ================================================================== [ 42.441632] BUG: KASAN: use-after-free in do_blk_trace_setup+0xa8f/0xb10 [ 42.448465] Read of size 8 at addr ffff88808ba767c0 by task syz-executor716/7128 [ 42.455985] [ 42.458133] CPU: 1 PID: 7128 Comm: syz-executor716 Not tainted 4.14.111 #1 [ 42.465132] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.474480] Call Trace: [ 42.477094] dump_stack+0x138/0x19c [ 42.480714] ? do_blk_trace_setup+0xa8f/0xb10 [ 42.485309] print_address_description.cold+0x7c/0x1dc [ 42.490578] ? do_blk_trace_setup+0xa8f/0xb10 [ 42.495063] kasan_report.cold+0xaf/0x2b5 [ 42.499203] __asan_report_load8_noabort+0x14/0x20 [ 42.504123] do_blk_trace_setup+0xa8f/0xb10 [ 42.508436] blk_trace_setup+0xbd/0x140 [ 42.512405] ? do_blk_trace_setup+0xb10/0xb10 [ 42.516937] sg_ioctl+0x31b/0x27e0 [ 42.520758] ? sg_new_write.isra.0+0x910/0x910 [ 42.525363] ? __might_sleep+0x93/0xb0 [ 42.529245] ? save_trace+0x290/0x290 [ 42.533041] ? sg_new_write.isra.0+0x910/0x910 [ 42.537623] do_vfs_ioctl+0x7b9/0x1070 [ 42.541532] ? selinux_file_mprotect+0x5d0/0x5d0 [ 42.546287] ? ioctl_preallocate+0x1c0/0x1c0 [ 42.550685] ? lock_downgrade+0x6e0/0x6e0 [ 42.554833] ? security_file_ioctl+0x83/0xc0 [ 42.559232] ? security_file_ioctl+0x8f/0xc0 [ 42.563637] SyS_ioctl+0x8f/0xc0 [ 42.567021] ? do_vfs_ioctl+0x1070/0x1070 [ 42.571187] do_syscall_64+0x1eb/0x630 [ 42.575063] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.579913] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.585109] RIP: 0033:0x445089 [ 42.588300] RSP: 002b:00007ffecdd2e4f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 42.596007] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445089 [ 42.603268] RDX: 0000000020000000 RSI: 00000000c0481273 RDI: 0000000000000003 [ 42.610533] RBP: 000000000000a57e R08: 00000000004002e0 R09: 00000000004002e0 [ 42.617792] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000402220 [ 42.625072] R13: 00000000004022b0 R14: 0000000000000000 R15: 0000000000000000 [ 42.632341] [ 42.633976] Allocated by task 7128: [ 42.637607] save_stack_trace+0x16/0x20 [ 42.641568] save_stack+0x45/0xd0 [ 42.645007] kasan_kmalloc+0xce/0xf0 [ 42.648712] kmem_cache_alloc_trace+0x152/0x790 [ 42.653396] do_blk_trace_setup+0x120/0xb10 [ 42.657705] blk_trace_setup+0xbd/0x140 [ 42.661671] sg_ioctl+0x31b/0x27e0 [ 42.665205] do_vfs_ioctl+0x7b9/0x1070 [ 42.669090] SyS_ioctl+0x8f/0xc0 [ 42.672946] do_syscall_64+0x1eb/0x630 [ 42.676830] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.682018] [ 42.683636] Freed by task 7133: [ 42.686915] save_stack_trace+0x16/0x20 [ 42.690885] save_stack+0x45/0xd0 [ 42.694342] kasan_slab_free+0x75/0xc0 [ 42.698409] kfree+0xcc/0x270 [ 42.701521] blk_trace_free+0x106/0x140 [ 42.705858] blk_trace_remove+0x59/0x80 [ 42.709828] sg_ioctl+0x247/0x27e0 [ 42.713378] do_vfs_ioctl+0x7b9/0x1070 [ 42.717261] SyS_ioctl+0x8f/0xc0 [ 42.720622] do_syscall_64+0x1eb/0x630 [ 42.724682] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.729855] [ 42.731474] The buggy address belongs to the object at ffff88808ba76780 [ 42.731474] which belongs to the cache kmalloc-128 of size 128 [ 42.744125] The buggy address is located 64 bytes inside of [ 42.744125] 128-byte region [ffff88808ba76780, ffff88808ba76800) [ 42.755907] The buggy address belongs to the page: [ 42.760842] page:ffffea00022e9d80 count:1 mapcount:0 mapping:ffff88808ba76000 index:0x0 [ 42.769001] flags: 0x1fffc0000000100(slab) [ 42.773239] raw: 01fffc0000000100 ffff88808ba76000 0000000000000000 0000000100000015 [ 42.781124] raw: ffffea00023fbbe0 ffffea0002a168a0 ffff8880aa800640 0000000000000000 [ 42.789001] page dumped because: kasan: bad access detected [ 42.794715] [ 42.796331] Memory state around the buggy address: [ 42.801253] ffff88808ba76680: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 42.808620] ffff88808ba76700: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 42.815973] >ffff88808ba76780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.823320] ^ executing program [ 42.828846] ffff88808ba76800: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 42.836195] ffff88808ba76880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 42.843543] ================================================================== [ 42.850909] Disabling lock debugging due to kernel taint [ 42.861494] Kernel panic - not syncing: panic_on_warn set ... [ 42.861494] [ 42.868883] CPU: 1 PID: 7128 Comm: syz-executor716 Tainted: G B 4.14.111 #1 [ 42.877101] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.886445] Call Trace: [ 42.889018] dump_stack+0x138/0x19c [ 42.892638] ? do_blk_trace_setup+0xa8f/0xb10 [ 42.897117] panic+0x1f2/0x438 [ 42.900297] ? add_taint.cold+0x16/0x16 [ 42.904275] ? ___preempt_schedule+0x16/0x18 [ 42.908669] kasan_end_report+0x47/0x4f [ 42.912623] kasan_report.cold+0x136/0x2b5 [ 42.916840] __asan_report_load8_noabort+0x14/0x20 [ 42.921760] do_blk_trace_setup+0xa8f/0xb10 [ 42.926065] blk_trace_setup+0xbd/0x140 [ 42.930021] ? do_blk_trace_setup+0xb10/0xb10 [ 42.934509] sg_ioctl+0x31b/0x27e0 [ 42.938050] ? sg_new_write.isra.0+0x910/0x910 [ 42.942622] ? __might_sleep+0x93/0xb0 [ 42.946490] ? save_trace+0x290/0x290 [ 42.950274] ? sg_new_write.isra.0+0x910/0x910 [ 42.954837] do_vfs_ioctl+0x7b9/0x1070 [ 42.958705] ? selinux_file_mprotect+0x5d0/0x5d0 [ 42.963462] ? ioctl_preallocate+0x1c0/0x1c0 [ 42.967850] ? lock_downgrade+0x6e0/0x6e0 [ 42.971980] ? security_file_ioctl+0x83/0xc0 [ 42.976380] ? security_file_ioctl+0x8f/0xc0 [ 42.980777] SyS_ioctl+0x8f/0xc0 [ 42.984125] ? do_vfs_ioctl+0x1070/0x1070 [ 42.988255] do_syscall_64+0x1eb/0x630 [ 42.992156] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.997097] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.002281] RIP: 0033:0x445089 [ 43.005460] RSP: 002b:00007ffecdd2e4f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 43.013152] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445089 [ 43.020428] RDX: 0000000020000000 RSI: 00000000c0481273 RDI: 0000000000000003 [ 43.027698] RBP: 000000000000a57e R08: 00000000004002e0 R09: 00000000004002e0 [ 43.034953] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000402220 [ 43.042210] R13: 00000000004022b0 R14: 0000000000000000 R15: 0000000000000000 [ 43.050235] Kernel Offset: disabled [ 43.053866] Rebooting in 86400 seconds..