Warning: Permanently added '10.128.0.34' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.554419] ================================================================== [ 38.561820] BUG: KASAN: use-after-free in disk_unblock_events+0x51/0x60 [ 38.568548] Read of size 8 at addr ffff8801cc637c60 by task syz-executor317/2165 [ 38.576052] [ 38.577665] CPU: 1 PID: 2165 Comm: syz-executor317 Not tainted 4.9.142+ #73 [ 38.584738] ffff8801ccdd76f0 ffffffff81b43969 ffffea0007318c00 ffff8801cc637c60 [ 38.592754] 0000000000000000 ffff8801cc637c60 0000000000000000 ffff8801ccdd7728 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.600758] ffffffff81500a28 ffff8801cc637c60 0000000000000008 0000000000000000 [ 38.608836] Call Trace: [ 38.611419] [] dump_stack+0xc1/0x128 [ 38.616800] [] print_address_description+0x6c/0x234 [ 38.623466] [] kasan_report.cold.6+0x242/0x2fe [ 38.629695] [] ? disk_unblock_events+0x51/0x60 [ 38.635919] [] __asan_report_load8_noabort+0x14/0x20 [ 38.642677] [] disk_unblock_events+0x51/0x60 [ 38.648735] [] __blkdev_get+0x6b6/0xd60 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.654359] [] ? trace_hardirqs_on+0x10/0x10 [ 38.660412] [] ? __blkdev_put+0x840/0x840 [ 38.666200] [] blkdev_get+0x2da/0x920 [ 38.671677] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 38.678427] [] ? bd_may_claim+0xd0/0xd0 [ 38.684041] [] ? bd_acquire+0xfc/0x250 [ 38.689585] [] ? bd_acquire+0x133/0x250 [ 38.695214] [] ? _raw_spin_unlock+0x2c/0x50 executing program executing program executing program executing program [ 38.701184] [] blkdev_open+0x1a5/0x250 [ 38.706721] [] do_dentry_open+0x3ef/0xc90 [ 38.712515] [] ? blkdev_get_by_dev+0x70/0x70 [ 38.718569] [] vfs_open+0x11c/0x210 [ 38.723853] [] ? may_open.isra.21+0x14f/0x2a0 [ 38.729993] [] path_openat+0x661/0x2d90 [ 38.735610] [] ? path_mountpoint+0x6c0/0x6c0 [ 38.741670] [] ? trace_hardirqs_on+0x10/0x10 [ 38.747730] [] ? expand_files.part.3+0x3a9/0x6d0 [ 38.754130] [] do_filp_open+0x197/0x270 [ 38.759750] [] ? may_open_dev+0xe0/0xe0 [ 38.765374] [] ? _raw_spin_unlock+0x2c/0x50 [ 38.771339] [] ? __alloc_fd+0x1d7/0x4a0 [ 38.776955] [] do_sys_open+0x30d/0x5c0 [ 38.782489] [] ? filp_open+0x70/0x70 [ 38.787865] [] ? up_read+0x1a/0x40 [ 38.793054] [] SyS_open+0x2d/0x40 [ 38.798147] [] ? do_sys_open+0x5c0/0x5c0 [ 38.803851] [] do_syscall_64+0x19f/0x550 [ 38.809558] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 38.816472] [ 38.818125] Allocated by task 2165: [ 38.821749] save_stack_trace+0x16/0x20 [ 38.825714] kasan_kmalloc.part.1+0x62/0xf0 [ 38.830023] kasan_kmalloc+0xaf/0xc0 [ 38.833730] kmem_cache_alloc_trace+0x117/0x2e0 [ 38.838394] alloc_disk_node+0x54/0x3a0 [ 38.842359] alloc_disk+0x18/0x20 [ 38.845809] loop_add+0x368/0x7a0 [ 38.849274] loop_control_ioctl+0x136/0x300 [ 38.853597] do_vfs_ioctl+0x1ac/0x11a0 [ 38.857481] SyS_ioctl+0x8f/0xc0 [ 38.860854] do_syscall_64+0x19f/0x550 [ 38.864735] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 38.869823] [ 38.871456] Freed by task 2165: [ 38.874733] save_stack_trace+0x16/0x20 [ 38.878698] kasan_slab_free+0xac/0x190 [ 38.882670] kfree+0xfb/0x310 [ 38.885767] disk_release+0x259/0x330 [ 38.889559] device_release+0x7e/0x220 [ 38.893456] kobject_put+0x148/0x250 [ 38.897165] put_disk+0x23/0x30 [ 38.900452] __blkdev_get+0x616/0xd60 [ 38.904244] blkdev_get+0x2da/0x920 [ 38.907862] blkdev_open+0x1a5/0x250 [ 38.911575] do_dentry_open+0x3ef/0xc90 [ 38.915558] vfs_open+0x11c/0x210 [ 38.919007] path_openat+0x661/0x2d90 [ 38.922829] do_filp_open+0x197/0x270 [ 38.926621] do_sys_open+0x30d/0x5c0 [ 38.930334] SyS_open+0x2d/0x40 [ 38.933604] do_syscall_64+0x19f/0x550 [ 38.937483] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 38.942576] [ 38.944200] The buggy address belongs to the object at ffff8801cc637700 [ 38.944200] which belongs to the cache kmalloc-2048 of size 2048 [ 38.957020] The buggy address is located 1376 bytes inside of [ 38.957020] 2048-byte region [ffff8801cc637700, ffff8801cc637f00) [ 38.969061] The buggy address belongs to the page: [ 38.973982] page:ffffea0007318c00 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 38.984211] flags: 0x4000000000004080(slab|head) [ 38.988953] page dumped because: kasan: bad access detected [ 38.994646] [ 38.996270] Memory state around the buggy address: [ 39.001200] ffff8801cc637b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.008549] ffff8801cc637b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.015898] >ffff8801cc637c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.023244] ^ [ 39.029729] ffff8801cc637c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.037083] ffff8801cc637d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.044433] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.051776] Disabling lock debugging due to kernel taint [ 39.060859] Kernel panic - not syncing: panic_on_warn set ... [ 39.060859] [ 39.068226] CPU: 1 PID: 2165 Comm: syz-executor317 Tainted: G B 4.9.142+ #73 [ 39.076530] ffff8801ccdd7650 ffffffff81b43969 ffffffff82e3a8a8 00000000ffffffff [ 39.084607] 0000000000000000 0000000000000001 0000000000000000 ffff8801ccdd7710 [ 39.092668] ffffffff813f71f5 0000000041b58ab3 ffffffff82e2e8a3 ffffffff813f7036 [ 39.100772] Call Trace: [ 39.103356] [] dump_stack+0xc1/0x128 [ 39.108715] [] panic+0x1bf/0x39f [ 39.113727] [] ? add_taint.cold.5+0x16/0x16 [ 39.119694] [] ? ___preempt_schedule+0x16/0x18 [ 39.125921] [] kasan_end_report+0x47/0x4f [ 39.131726] [] kasan_report.cold.6+0x76/0x2fe [ 39.137863] [] ? disk_unblock_events+0x51/0x60 [ 39.144093] [] __asan_report_load8_noabort+0x14/0x20 [ 39.150855] [] disk_unblock_events+0x51/0x60 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.156911] [] __blkdev_get+0x6b6/0xd60 [ 39.162525] [] ? trace_hardirqs_on+0x10/0x10 [ 39.168579] [] ? __blkdev_put+0x840/0x840 [ 39.174389] [] blkdev_get+0x2da/0x920 [ 39.179859] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 39.186594] [] ? bd_may_claim+0xd0/0xd0 [ 39.192201] [] ? bd_acquire+0xfc/0x250 [ 39.197751] [] ? bd_acquire+0x133/0x250 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.203359] [] ? _raw_spin_unlock+0x2c/0x50 [ 39.209338] [] blkdev_open+0x1a5/0x250 [ 39.214875] [] do_dentry_open+0x3ef/0xc90 [ 39.220653] [] ? blkdev_get_by_dev+0x70/0x70 [ 39.226709] [] vfs_open+0x11c/0x210 [ 39.232006] [] ? may_open.isra.21+0x14f/0x2a0 [ 39.238150] [] path_openat+0x661/0x2d90 [ 39.243760] [] ? path_mountpoint+0x6c0/0x6c0 [ 39.249826] [] ? trace_hardirqs_on+0x10/0x10 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.255877] [] ? expand_files.part.3+0x3a9/0x6d0 [ 39.262288] [] do_filp_open+0x197/0x270 [ 39.267921] [] ? may_open_dev+0xe0/0xe0 [ 39.273542] [] ? _raw_spin_unlock+0x2c/0x50 [ 39.279506] [] ? __alloc_fd+0x1d7/0x4a0 [ 39.285125] [] do_sys_open+0x30d/0x5c0 [ 39.290653] [] ? filp_open+0x70/0x70 [ 39.296017] [] ? up_read+0x1a/0x40 [ 39.301183] [] SyS_open+0x2d/0x40 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.306262] [] ? do_sys_open+0x5c0/0x5c0 [ 39.311957] [] do_syscall_64+0x19f/0x550 [ 39.317655] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 39.324873] Kernel Offset: disabled [ 39.328483] Rebooting in 86400 seconds..