Warning: Permanently added '10.128.0.162' (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 syzkaller login: [ 65.533733] ================================================================== [ 65.534897] BUG: KASAN: use-after-free in disk_unblock_events+0x51/0x60 [ 65.535891] Read of size 8 at addr ffff8801d1cde2e0 by task syz-executor492/2097 [ 65.537283] [ 65.537647] CPU: 1 PID: 2097 Comm: syz-executor492 Not tainted 4.9.141+ #1 [ 65.539082] ffff8801ce1876f8 ffffffff81b42e79 ffffea0007473600 ffff8801d1cde2e0 [ 65.540598] 0000000000000000 ffff8801d1cde2e0 0000000000000000 ffff8801ce187730 [ 65.542038] ffffffff815009b8 ffff8801d1cde2e0 0000000000000008 0000000000000000 [ 65.543533] Call Trace: [ 65.544000] [] dump_stack+0xc1/0x128 [ 65.544948] [] print_address_description+0x6c/0x234 [ 65.546335] [] kasan_report.cold.6+0x242/0x2fe [ 65.547482] [] ? disk_unblock_events+0x51/0x60 [ 65.548629] [] __asan_report_load8_noabort+0x14/0x20 [ 65.549903] [] disk_unblock_events+0x51/0x60 [ 65.551097] [] __blkdev_get+0x6b6/0xd60 [ 65.552198] [] ? __blkdev_put+0x840/0x840 [ 65.553264] [] ? fsnotify+0x114/0x1100 [ 65.556356] [] blkdev_get+0x2da/0x920 [ 65.561812] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 65.568921] [] ? bd_may_claim+0xd0/0xd0 [ 65.574554] [] ? bd_acquire+0x27/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 executing program executing program [ 65.580101] [] ? bd_acquire+0x88/0x250 [ 65.585693] [] ? _raw_spin_unlock+0x2c/0x50 [ 65.591852] [] blkdev_open+0x1a5/0x250 [ 65.597747] [] do_dentry_open+0x3ef/0xc90 [ 65.603678] [] ? blkdev_get_by_dev+0x70/0x70 [ 65.609755] [] vfs_open+0x11c/0x210 [ 65.615046] [] ? may_open.isra.20+0x14f/0x2a0 [ 65.624589] [] path_openat+0x542/0x2790 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.630230] [] ? path_mountpoint+0x6c0/0x6c0 [ 65.636299] [] ? trace_hardirqs_on+0x10/0x10 [ 65.642398] [] ? expand_files.part.3+0x3a9/0x6d0 [ 65.649165] [] do_filp_open+0x197/0x270 [ 65.654990] [] ? may_open_dev+0xe0/0xe0 [ 65.660803] [] ? _raw_spin_unlock+0x2c/0x50 [ 65.666829] [] ? __alloc_fd+0x1d7/0x4a0 [ 65.672554] [] do_sys_open+0x30d/0x5c0 [ 65.678108] [] ? filp_open+0x70/0x70 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.683498] [] ? up_read+0x1a/0x40 [ 65.688701] [] SyS_open+0x2d/0x40 [ 65.694008] [] ? do_sys_open+0x5c0/0x5c0 [ 65.699759] [] do_syscall_64+0x19f/0x550 [ 65.705491] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 65.712418] [ 65.714144] Allocated by task 2097: [ 65.718145] save_stack_trace+0x16/0x20 [ 65.722220] kasan_kmalloc.part.1+0x62/0xf0 [ 65.726553] kasan_kmalloc+0xaf/0xc0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.730279] kmem_cache_alloc_trace+0x117/0x2e0 [ 65.734957] alloc_disk_node+0x54/0x3a0 [ 65.738940] alloc_disk+0x18/0x20 [ 65.742402] loop_add+0x368/0x7a0 [ 65.745866] loop_probe+0x14f/0x180 [ 65.749496] kobj_lookup+0x223/0x410 [ 65.753479] get_gendisk+0x39/0x2d0 [ 65.757112] __blkdev_get+0x351/0xd60 [ 65.761087] blkdev_get+0x2da/0x920 [ 65.764824] blkdev_open+0x1a5/0x250 [ 65.768551] do_dentry_open+0x3ef/0xc90 [ 65.772731] vfs_open+0x11c/0x210 [ 65.776200] path_openat+0x542/0x2790 [ 65.780012] do_filp_open+0x197/0x270 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.783826] do_sys_open+0x30d/0x5c0 [ 65.787545] SyS_open+0x2d/0x40 [ 65.790833] do_syscall_64+0x19f/0x550 [ 65.794726] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 65.799831] [ 65.801465] Freed by task 2097: [ 65.804772] save_stack_trace+0x16/0x20 [ 65.808752] kasan_slab_free+0xac/0x190 [ 65.812748] kfree+0xfb/0x310 [ 65.815956] disk_release+0x259/0x330 [ 65.819783] device_release+0x7e/0x220 [ 65.823677] kobject_put+0x148/0x250 [ 65.827489] put_disk+0x23/0x30 [ 65.830779] __blkdev_get+0x616/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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.834598] blkdev_get+0x2da/0x920 [ 65.838237] blkdev_open+0x1a5/0x250 [ 65.842009] do_dentry_open+0x3ef/0xc90 [ 65.845996] vfs_open+0x11c/0x210 [ 65.849553] path_openat+0x542/0x2790 [ 65.853623] do_filp_open+0x197/0x270 [ 65.857519] do_sys_open+0x30d/0x5c0 [ 65.861239] SyS_open+0x2d/0x40 [ 65.864532] do_syscall_64+0x19f/0x550 [ 65.868437] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 65.873620] [ 65.875280] The buggy address belongs to the object at ffff8801d1cddd80 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.875280] which belongs to the cache kmalloc-2048 of size 2048 [ 65.888524] The buggy address is located 1376 bytes inside of [ 65.888524] 2048-byte region [ffff8801d1cddd80, ffff8801d1cde580) [ 65.900572] The buggy address belongs to the page: [ 65.905510] page:ffffea0007473600 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 65.915883] flags: 0x4000000000004080(slab|head) [ 65.922994] page dumped because: kasan: bad access detected [ 65.928819] [ 65.930456] Memory state around the buggy address: executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.935387] ffff8801d1cde180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.942924] ffff8801d1cde200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.950292] >ffff8801d1cde280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.958002] ^ [ 65.964502] ffff8801d1cde300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.971967] ffff8801d1cde380: 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.979325] ================================================================== [ 65.986863] Disabling lock debugging due to kernel taint [ 65.998127] Kernel panic - not syncing: panic_on_warn set ... [ 65.998127] [ 66.005532] CPU: 1 PID: 2097 Comm: syz-executor492 Tainted: G B 4.9.141+ #1 [ 66.014720] ffff8801ce187658 ffffffff81b42e79 ffffffff82e37630 00000000ffffffff [ 66.023006] 0000000000000000 0000000000000001 0000000000000000 ffff8801ce187718 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 66.031131] ffffffff813f7125 0000000041b58ab3 ffffffff82e2b62b ffffffff813f6f66 [ 66.039231] Call Trace: [ 66.041827] [] dump_stack+0xc1/0x128 [ 66.047199] [] panic+0x1bf/0x39f [ 66.052229] [] ? add_taint.cold.5+0x16/0x16 [ 66.058216] [] ? ___preempt_schedule+0x16/0x18 [ 66.064466] [] kasan_end_report+0x47/0x4f [ 66.070292] [] kasan_report.cold.6+0x76/0x2fe [ 66.077322] [] ? 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 executing program executing program executing program executing program executing program executing program executing program [ 66.083568] [] __asan_report_load8_noabort+0x14/0x20 [ 66.090338] [] disk_unblock_events+0x51/0x60 [ 66.096407] [] __blkdev_get+0x6b6/0xd60 [ 66.102052] [] ? __blkdev_put+0x840/0x840 [ 66.107859] [] ? fsnotify+0x114/0x1100 [ 66.113421] [] blkdev_get+0x2da/0x920 [ 66.118879] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 66.126162] [] ? bd_may_claim+0xd0/0xd0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 66.131805] [] ? bd_acquire+0x27/0x250 [ 66.137369] [] ? bd_acquire+0x88/0x250 [ 66.142915] [] ? _raw_spin_unlock+0x2c/0x50 [ 66.148989] [] blkdev_open+0x1a5/0x250 [ 66.154537] [] do_dentry_open+0x3ef/0xc90 [ 66.160346] [] ? blkdev_get_by_dev+0x70/0x70 [ 66.166765] [] vfs_open+0x11c/0x210 [ 66.172193] [] ? may_open.isra.20+0x14f/0x2a0 [ 66.178353] [] path_openat+0x542/0x2790 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 66.183993] [] ? path_mountpoint+0x6c0/0x6c0 [ 66.190328] [] ? trace_hardirqs_on+0x10/0x10 [ 66.196414] [] ? expand_files.part.3+0x3a9/0x6d0 [ 66.202835] [] do_filp_open+0x197/0x270 [ 66.208560] [] ? may_open_dev+0xe0/0xe0 [ 66.214197] [] ? _raw_spin_unlock+0x2c/0x50 [ 66.220275] [] ? __alloc_fd+0x1d7/0x4a0 [ 66.225930] [] do_sys_open+0x30d/0x5c0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 66.231569] [] ? filp_open+0x70/0x70 [ 66.237213] [] ? up_read+0x1a/0x40 [ 66.242888] [] SyS_open+0x2d/0x40 [ 66.248134] [] ? do_sys_open+0x5c0/0x5c0 [ 66.253860] [] do_syscall_64+0x19f/0x550 [ 66.259705] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 66.267179] Kernel Offset: disabled [ 66.270882] Rebooting in 86400 seconds..