Warning: Permanently added '10.128.1.52' (ECDSA) to the list of known hosts. [ 17.391127] random: sshd: uninitialized urandom read (32 bytes read) [ 17.477571] audit: type=1400 audit(1566701349.153:7): avc: denied { map } for pid=1766 comm="syz-executor836" path="/root/syz-executor836735584" dev="sda1" ino=16482 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 [ 26.064574] ================================================================== [ 26.072148] BUG: KASAN: use-after-free in disk_unblock_events+0x4b/0x50 [ 26.078884] Read of size 8 at addr ffff8881c81e2fe8 by task blkid/2745 [ 26.085530] [ 26.087150] CPU: 1 PID: 2745 Comm: blkid Not tainted 4.14.139+ #37 [ 26.093463] Call Trace: [ 26.096041] dump_stack+0xca/0x134 [ 26.099568] ? disk_unblock_events+0x4b/0x50 [ 26.103966] ? disk_unblock_events+0x4b/0x50 [ 26.108363] print_address_description+0x60/0x226 executing program executing program executing program executing program executing program executing program executing program [ 26.113198] ? disk_unblock_events+0x4b/0x50 [ 26.117594] ? disk_unblock_events+0x4b/0x50 [ 26.121998] __kasan_report.cold+0x1a/0x41 [ 26.126219] ? disk_unblock_events+0x4b/0x50 [ 26.130625] disk_unblock_events+0x4b/0x50 [ 26.134852] __blkdev_get+0x68f/0xf90 [ 26.138658] ? __blkdev_put+0x6d0/0x6d0 [ 26.142619] ? fsnotify+0x8b0/0x1150 [ 26.146328] blkdev_get+0x97/0x8b0 [ 26.149860] ? bd_acquire+0x171/0x2c0 [ 26.153656] ? bd_may_claim+0xd0/0xd0 [ 26.157443] ? lock_downgrade+0x5d0/0x5d0 [ 26.161578] ? lock_acquire+0x12b/0x360 [ 26.165538] ? bd_acquire+0x21/0x2c0 [ 26.169251] ? do_raw_spin_unlock+0x50/0x220 [ 26.173656] blkdev_open+0x1cc/0x250 [ 26.177353] ? security_file_open+0x88/0x190 [ 26.181752] do_dentry_open+0x44e/0xe20 [ 26.185710] ? bd_acquire+0x2c0/0x2c0 [ 26.189509] vfs_open+0x105/0x230 [ 26.192953] path_openat+0xb6c/0x2be0 [ 26.196759] ? path_mountpoint+0x9a0/0x9a0 [ 26.201333] ? trace_hardirqs_on+0x10/0x10 [ 26.205570] do_filp_open+0x1a1/0x280 [ 26.209592] ? may_open_dev+0xe0/0xe0 [ 26.213413] ? lock_downgrade+0x5d0/0x5d0 [ 26.217575] ? lock_acquire+0x12b/0x360 [ 26.221539] ? __alloc_fd+0x3f/0x490 [ 26.225247] ? do_raw_spin_unlock+0x50/0x220 [ 26.229646] ? _raw_spin_unlock+0x29/0x40 [ 26.233797] ? __alloc_fd+0x1bf/0x490 [ 26.237610] do_sys_open+0x2ca/0x590 [ 26.241320] ? filp_open+0x60/0x60 [ 26.244888] ? do_syscall_64+0x43/0x520 [ 26.248864] ? do_sys_open+0x590/0x590 [ 26.252748] do_syscall_64+0x19b/0x520 [ 26.256647] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.261830] RIP: 0033:0x7f7fa5269120 [ 26.265535] RSP: 002b:00007fff670d9758 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 26.273229] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7fa5269120 [ 26.280485] RDX: 00007fff670dbf45 RSI: 0000000000000000 RDI: 00007fff670dbf45 [ 26.287746] RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 [ 26.295013] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000144a030 [ 26.302266] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 [ 26.309551] [ 26.311171] Allocated by task 2742: [ 26.314790] __kasan_kmalloc.part.0+0x53/0xc0 [ 26.319434] alloc_disk_node+0x5b/0x3d0 [ 26.323378] loop_add+0x3ee/0x870 [ 26.326804] loop_probe+0x153/0x180 [ 26.330396] kobj_lookup+0x226/0x410 [ 26.334248] get_gendisk+0x36/0x240 [ 26.337842] blkdev_get+0x131/0x8b0 [ 26.341435] blkdev_open+0x1cc/0x250 [ 26.345113] do_dentry_open+0x44e/0xe20 [ 26.349056] vfs_open+0x105/0x230 [ 26.352478] path_openat+0xb6c/0x2be0 [ 26.356243] do_filp_open+0x1a1/0x280 [ 26.360010] do_sys_open+0x2ca/0x590 [ 26.363689] do_syscall_64+0x19b/0x520 [ 26.367555] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.372711] 0xffffffffffffffff [ 26.375954] [ 26.377547] Freed by task 2745: [ 26.380909] __kasan_slab_free+0x164/0x210 [ 26.385112] kfree+0xfa/0x320 [ 26.388193] device_release+0xf4/0x1a0 [ 26.392051] kobject_put+0x142/0x200 [ 26.395732] put_disk+0x1f/0x30 [ 26.398982] __blkdev_get+0x5fa/0xf90 [ 26.402747] blkdev_get+0x97/0x8b0 [ 26.406272] blkdev_open+0x1cc/0x250 [ 26.409959] do_dentry_open+0x44e/0xe20 [ 26.413901] vfs_open+0x105/0x230 [ 26.417319] path_openat+0xb6c/0x2be0 [ 26.421085] do_filp_open+0x1a1/0x280 [ 26.424853] do_sys_open+0x2ca/0x590 [ 26.428531] do_syscall_64+0x19b/0x520 [ 26.432383] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.437536] 0xffffffffffffffff [ 26.440779] [ 26.442377] The buggy address belongs to the object at ffff8881c81e2a80 [ 26.442377] which belongs to the cache kmalloc-2048 of size 2048 [ 26.455174] The buggy address is located 1384 bytes inside of [ 26.455174] 2048-byte region [ffff8881c81e2a80, ffff8881c81e3280) [ 26.467303] The buggy address belongs to the page: [ 26.472201] page:ffffea0007207800 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 26.482137] flags: 0x4000000000010200(slab|head) [ 26.486867] raw: 4000000000010200 0000000000000000 0000000000000000 00000001800f000f [ 26.494713] raw: dead000000000100 dead000000000200 ffff8881da802800 0000000000000000 [ 26.502556] page dumped because: kasan: bad access detected [ 26.508229] [ 26.509826] Memory state around the buggy address: [ 26.514719] ffff8881c81e2e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.522042] ffff8881c81e2f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.529364] >ffff8881c81e2f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.536687] ^ [ 26.543402] ffff8881c81e3000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.550724] ffff8881c81e3080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.558048] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 26.565370] Disabling lock debugging due to kernel taint [ 26.576903] Kernel panic - not syncing: panic_on_warn set ... [ 26.576903] [ 26.584248] CPU: 1 PID: 2745 Comm: blkid Tainted: G B 4.14.139+ #37 [ 26.591758] Call Trace: [ 26.594319] dump_stack+0xca/0x134 [ 26.597831] panic+0x1ea/0x3d3 [ 26.600997] ? add_taint.cold+0x16/0x16 [ 26.604942] ? disk_unblock_events+0x4b/0x50 [ 26.609316] ? ___preempt_schedule+0x16/0x18 executing program executing program executing program [ 26.613893] ? disk_unblock_events+0x4b/0x50 [ 26.618268] end_report+0x43/0x49 [ 26.621686] ? disk_unblock_events+0x4b/0x50 [ 26.626061] __kasan_report.cold+0xd/0x41 [ 26.630401] ? disk_unblock_events+0x4b/0x50 [ 26.634776] disk_unblock_events+0x4b/0x50 [ 26.638979] __blkdev_get+0x68f/0xf90 [ 26.642750] ? __blkdev_put+0x6d0/0x6d0 [ 26.646699] ? fsnotify+0x8b0/0x1150 [ 26.650378] blkdev_get+0x97/0x8b0 [ 26.653884] ? bd_acquire+0x171/0x2c0 [ 26.657648] ? bd_may_claim+0xd0/0xd0 [ 26.661415] ? lock_downgrade+0x5d0/0x5d0 [ 26.665532] ? lock_acquire+0x12b/0x360 [ 26.669469] ? bd_acquire+0x21/0x2c0 [ 26.673294] ? do_raw_spin_unlock+0x50/0x220 [ 26.677672] blkdev_open+0x1cc/0x250 [ 26.681354] ? security_file_open+0x88/0x190 [ 26.685877] do_dentry_open+0x44e/0xe20 [ 26.689821] ? bd_acquire+0x2c0/0x2c0 [ 26.693590] vfs_open+0x105/0x230 [ 26.697011] path_openat+0xb6c/0x2be0 [ 26.700785] ? path_mountpoint+0x9a0/0x9a0 [ 26.704990] ? trace_hardirqs_on+0x10/0x10 [ 26.709193] do_filp_open+0x1a1/0x280 [ 26.712959] ? may_open_dev+0xe0/0xe0 [ 26.716726] ? lock_downgrade+0x5d0/0x5d0 [ 26.720839] ? lock_acquire+0x12b/0x360 [ 26.724780] ? __alloc_fd+0x3f/0x490 [ 26.728460] ? do_raw_spin_unlock+0x50/0x220 [ 26.732964] ? _raw_spin_unlock+0x29/0x40 [ 26.737080] ? __alloc_fd+0x1bf/0x490 [ 26.740851] do_sys_open+0x2ca/0x590 [ 26.744532] ? filp_open+0x60/0x60 [ 26.748215] ? do_syscall_64+0x43/0x520 [ 26.752156] ? do_sys_open+0x590/0x590 [ 26.756008] do_syscall_64+0x19b/0x520 [ 26.759862] entry_SYSCALL_64_after_hwframe+0x42/0xb7 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 26.765017] RIP: 0033:0x7f7fa5269120 [ 26.768701] RSP: 002b:00007fff670d9758 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 26.776497] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7fa5269120 [ 26.783740] RDX: 00007fff670dbf45 RSI: 0000000000000000 RDI: 00007fff670dbf45 [ 26.790983] RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 [ 26.798228] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000144a030 [ 26.805574] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 [ 26.813301] Kernel Offset: 0x18800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 26.824202] Rebooting in 86400 seconds..