[ 34.190977] audit: type=1800 audit(1561004633.136:33): pid=6902 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 [ 34.217668] audit: type=1800 audit(1561004633.136:34): pid=6902 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 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 58.353885] random: sshd: uninitialized urandom read (32 bytes read) [ 58.876179] audit: type=1400 audit(1561004657.816:35): avc: denied { map } for pid=7075 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 [ 58.941352] random: sshd: uninitialized urandom read (32 bytes read) [ 59.518572] random: sshd: uninitialized urandom read (32 bytes read) [ 398.711253] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.44' (ECDSA) to the list of known hosts. [ 404.362376] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program [ 404.491045] audit: type=1400 audit(1561005003.436:36): avc: denied { map } for pid=7087 comm="syz-executor996" path="/root/syz-executor996884513" dev="sda1" ino=16461 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file 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 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 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 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 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 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 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 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 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 [ 443.580028] ================================================================== [ 443.588065] BUG: KASAN: use-after-free in disk_unblock_events+0x55/0x60 [ 443.594919] Read of size 8 at addr ffff88809e143408 by task syz-executor996/12738 [ 443.602605] [ 443.604312] CPU: 1 PID: 12738 Comm: syz-executor996 Not tainted 4.14.128 #22 [ 443.612262] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 443.626008] Call Trace: [ 443.628641] dump_stack+0x138/0x19c [ 443.632311] ? nlm_alloc_host+0x850/0xaf0 [ 443.636475] ? disk_unblock_events+0x55/0x60 [ 443.640942] print_address_description.cold+0x7c/0x1dc [ 443.646251] ? disk_unblock_events+0x55/0x60 [ 443.650672] kasan_report.cold+0xa9/0x2af [ 443.654845] __asan_report_load8_noabort+0x14/0x20 [ 443.659894] disk_unblock_events+0x55/0x60 [ 443.664215] __blkdev_get+0x7d6/0x1120 [ 443.668130] ? __blkdev_put+0x7f0/0x7f0 [ 443.672116] ? bd_acquire+0x178/0x2c0 [ 443.675981] ? find_held_lock+0x35/0x130 [ 443.680061] blkdev_get+0xa8/0x8e0 [ 443.683658] ? bd_may_claim+0xd0/0xd0 [ 443.687506] ? _raw_spin_unlock+0x2d/0x50 [ 443.692022] blkdev_open+0x1d1/0x260 [ 443.696352] ? security_file_open+0x89/0x190 [ 443.700776] do_dentry_open+0x73b/0xeb0 [ 443.705191] ? bd_acquire+0x2c0/0x2c0 [ 443.708993] vfs_open+0x105/0x220 [ 443.712442] path_openat+0x8bd/0x3f70 [ 443.716537] ? trace_hardirqs_on+0x10/0x10 [ 443.720783] ? path_lookupat.isra.0+0x7b0/0x7b0 [ 443.725460] ? find_held_lock+0x35/0x130 [ 443.729632] ? __alloc_fd+0x1d4/0x4a0 [ 443.733429] do_filp_open+0x18e/0x250 [ 443.737325] ? may_open_dev+0xe0/0xe0 [ 443.741491] ? _raw_spin_unlock+0x2d/0x50 [ 443.745752] ? __alloc_fd+0x1d4/0x4a0 [ 443.749582] do_sys_open+0x2c5/0x430 [ 443.753311] ? filp_open+0x70/0x70 [ 443.757030] SyS_open+0x2d/0x40 [ 443.760450] ? do_sys_open+0x430/0x430 [ 443.764465] do_syscall_64+0x1e8/0x640 [ 443.768388] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 443.773266] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 443.778620] RIP: 0033:0x405781 [ 443.781906] RSP: 002b:00007f0824a99980 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 [ 443.789802] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000405781 [ 443.797078] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f0824a99990 [ 443.804440] RBP: 6666666666666667 R08: 000000000000000f R09: 00007f0824a9a700 [ 443.811721] R10: 00007f0824a9a9d0 R11: 0000000000000293 R12: 00000000006dbc4c [ 443.819004] R13: 00007ffc5422fb2f R14: 00007f0824a9a9c0 R15: 000000000000002d [ 443.826595] [ 443.828231] Allocated by task 12738: [ 443.831972] save_stack_trace+0x16/0x20 [ 443.836132] save_stack+0x45/0xd0 [ 443.839591] kasan_kmalloc+0xce/0xf0 [ 443.843315] kmem_cache_alloc_node_trace+0x153/0x770 [ 443.848428] alloc_disk_node+0x64/0x3e0 [ 443.852405] alloc_disk+0x1b/0x20 [ 443.855896] loop_add+0x3e7/0x850 [ 443.859439] loop_probe+0x136/0x160 [ 443.863115] kobj_lookup+0x21c/0x400 [ 443.866838] get_gendisk+0x3b/0x240 [ 443.870466] __blkdev_get+0x3af/0x1120 [ 443.874355] blkdev_get+0xa8/0x8e0 [ 443.877895] blkdev_open+0x1d1/0x260 [ 443.881615] do_dentry_open+0x73b/0xeb0 [ 443.885592] vfs_open+0x105/0x220 [ 443.889046] path_openat+0x8bd/0x3f70 [ 443.892852] do_filp_open+0x18e/0x250 [ 443.896657] do_sys_open+0x2c5/0x430 [ 443.900370] SyS_open+0x2d/0x40 [ 443.903655] do_syscall_64+0x1e8/0x640 [ 443.907555] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 443.912745] [ 443.914372] Freed by task 12738: [ 443.917917] save_stack_trace+0x16/0x20 [ 443.921892] save_stack+0x45/0xd0 [ 443.925346] kasan_slab_free+0x75/0xc0 [ 443.929273] kfree+0xcc/0x270 [ 443.932393] disk_release+0x24b/0x2d0 [ 443.936200] device_release+0xf6/0x1a0 [ 443.940096] kobject_put.cold+0x269/0x2f9 [ 443.944251] put_disk+0x23/0x30 [ 443.947537] __blkdev_get+0x73c/0x1120 [ 443.951427] blkdev_get+0xa8/0x8e0 [ 443.955055] blkdev_open+0x1d1/0x260 [ 443.958793] do_dentry_open+0x73b/0xeb0 [ 443.962863] vfs_open+0x105/0x220 [ 443.966326] path_openat+0x8bd/0x3f70 [ 443.970411] do_filp_open+0x18e/0x250 [ 443.974228] do_sys_open+0x2c5/0x430 [ 443.977951] SyS_open+0x2d/0x40 [ 443.981243] do_syscall_64+0x1e8/0x640 [ 443.985134] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 443.990318] [ 443.991957] The buggy address belongs to the object at ffff88809e142e80 [ 443.991957] which belongs to the cache kmalloc-2048 of size 2048 [ 444.004790] The buggy address is located 1416 bytes inside of [ 444.004790] 2048-byte region [ffff88809e142e80, ffff88809e143680) [ 444.016948] The buggy address belongs to the page: [ 444.021888] page:ffffea0002785080 count:1 mapcount:0 mapping:ffff88809e142600 index:0x0 compound_mapcount: 0 [ 444.032105] flags: 0x1fffc0000008100(slab|head) [ 444.036961] raw: 01fffc0000008100 ffff88809e142600 0000000000000000 0000000100000003 [ 444.045116] raw: ffffea00027182a0 ffffea00021533a0 ffff8880aa800c40 0000000000000000 [ 444.052999] page dumped because: kasan: bad access detected [ 444.058710] [ 444.060336] Memory state around the buggy address: [ 444.065268] ffff88809e143300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 444.072631] ffff88809e143380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb 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 [ 444.079992] >ffff88809e143400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 444.087348] ^ [ 444.090999] ffff88809e143480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 444.098733] ffff88809e143500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 444.106105] ================================================================== [ 444.113515] 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 [ 444.159784] Kernel panic - not syncing: panic_on_warn set ... [ 444.159784] [ 444.167204] CPU: 1 PID: 12738 Comm: syz-executor996 Tainted: G B 4.14.128 #22 [ 444.175614] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 444.185012] Call Trace: [ 444.187616] dump_stack+0x138/0x19c [ 444.191260] ? disk_unblock_events+0x55/0x60 [ 444.195864] panic+0x1f2/0x426 [ 444.199062] ? add_taint.cold+0x16/0x16 [ 444.203044] ? ___preempt_schedule+0x16/0x18 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 [ 444.207458] kasan_end_report+0x47/0x4f [ 444.211432] kasan_report.cold+0x130/0x2af [ 444.215757] __asan_report_load8_noabort+0x14/0x20 [ 444.220691] disk_unblock_events+0x55/0x60 [ 444.224930] __blkdev_get+0x7d6/0x1120 [ 444.228828] ? __blkdev_put+0x7f0/0x7f0 [ 444.232809] ? bd_acquire+0x178/0x2c0 [ 444.236615] ? find_held_lock+0x35/0x130 [ 444.240682] blkdev_get+0xa8/0x8e0 [ 444.244405] ? bd_may_claim+0xd0/0xd0 [ 444.248215] ? _raw_spin_unlock+0x2d/0x50 [ 444.252363] blkdev_open+0x1d1/0x260 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 [ 444.256193] ? security_file_open+0x89/0x190 [ 444.260606] do_dentry_open+0x73b/0xeb0 [ 444.264680] ? bd_acquire+0x2c0/0x2c0 [ 444.268492] vfs_open+0x105/0x220 [ 444.271957] path_openat+0x8bd/0x3f70 [ 444.276029] ? trace_hardirqs_on+0x10/0x10 [ 444.280357] ? path_lookupat.isra.0+0x7b0/0x7b0 [ 444.285027] ? find_held_lock+0x35/0x130 [ 444.289101] ? __alloc_fd+0x1d4/0x4a0 [ 444.292906] do_filp_open+0x18e/0x250 [ 444.296716] ? may_open_dev+0xe0/0xe0 [ 444.300648] ? _raw_spin_unlock+0x2d/0x50 [ 444.304810] ? __alloc_fd+0x1d4/0x4a0 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 [ 444.308652] do_sys_open+0x2c5/0x430 [ 444.312370] ? filp_open+0x70/0x70 [ 444.315920] SyS_open+0x2d/0x40 [ 444.319204] ? do_sys_open+0x430/0x430 [ 444.323095] do_syscall_64+0x1e8/0x640 [ 444.326994] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 444.331847] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 444.337223] RIP: 0033:0x405781 [ 444.340412] RSP: 002b:00007f0824a99980 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 [ 444.348164] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000405781 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 444.356746] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f0824a99990 [ 444.364586] RBP: 6666666666666667 R08: 000000000000000f R09: 00007f0824a9a700 [ 444.371950] R10: 00007f0824a9a9d0 R11: 0000000000000293 R12: 00000000006dbc4c [ 444.379233] R13: 00007ffc5422fb2f R14: 00007f0824a9a9c0 R15: 000000000000002d [ 444.388075] Kernel Offset: disabled [ 444.392147] Rebooting in 86400 seconds..