Warning: Permanently added '10.128.0.55' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 46.713742] ================================================================== [ 46.721138] BUG: KASAN: use-after-free in disk_unblock_events+0x51/0x60 [ 46.727997] Read of size 8 at addr ffff8801ce6f2760 by task blkid/2087 [ 46.734932] [ 46.736596] CPU: 1 PID: 2087 Comm: blkid Not tainted 4.9.141+ #1 [ 46.742819] ffff8801cd9ff6f8 ffffffff81b42e79 ffffea000739bc00 ffff8801ce6f2760 [ 46.750866] 0000000000000000 ffff8801ce6f2760 0000000000000000 ffff8801cd9ff730 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.758872] ffffffff815009b8 ffff8801ce6f2760 0000000000000008 0000000000000000 [ 46.767016] Call Trace: [ 46.769591] [] dump_stack+0xc1/0x128 [ 46.775018] [] print_address_description+0x6c/0x234 [ 46.781670] [] kasan_report.cold.6+0x242/0x2fe [ 46.787887] [] ? disk_unblock_events+0x51/0x60 [ 46.794420] [] __asan_report_load8_noabort+0x14/0x20 [ 46.801160] [] disk_unblock_events+0x51/0x60 [ 46.807203] [] __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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.812868] [] ? __blkdev_put+0x840/0x840 [ 46.819654] [] ? fsnotify+0x114/0x1100 [ 46.825180] [] blkdev_get+0x2da/0x920 [ 46.830615] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 46.837352] [] ? bd_may_claim+0xd0/0xd0 [ 46.843106] [] ? bd_acquire+0x27/0x250 [ 46.848631] [] ? bd_acquire+0x88/0x250 [ 46.854153] [] ? _raw_spin_unlock+0x2c/0x50 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.860111] [] blkdev_open+0x1a5/0x250 [ 46.865634] [] do_dentry_open+0x3ef/0xc90 [ 46.871410] [] ? blkdev_get_by_dev+0x70/0x70 [ 46.877449] [] vfs_open+0x11c/0x210 [ 46.882704] [] ? may_open.isra.20+0x14f/0x2a0 [ 46.888930] [] path_openat+0x542/0x2790 [ 46.894673] [] ? path_mountpoint+0x6c0/0x6c0 [ 46.900843] [] ? trace_hardirqs_on+0x10/0x10 [ 46.906885] [] ? expand_files.part.3+0x3a9/0x6d0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.913271] [] do_filp_open+0x197/0x270 [ 46.918913] [] ? may_open_dev+0xe0/0xe0 [ 46.924526] [] ? _raw_spin_unlock+0x2c/0x50 [ 46.930481] [] ? __alloc_fd+0x1d7/0x4a0 [ 46.936260] [] do_sys_open+0x30d/0x5c0 [ 46.941782] [] ? filp_open+0x70/0x70 [ 46.947163] [] ? up_read+0x1a/0x40 [ 46.952394] [] SyS_open+0x2d/0x40 [ 46.957482] [] ? do_sys_open+0x5c0/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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 46.963181] [] do_syscall_64+0x19f/0x550 [ 46.968983] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 46.975993] [ 46.977600] Allocated by task 2077: [ 46.981206] save_stack_trace+0x16/0x20 [ 46.985264] kasan_kmalloc.part.1+0x62/0xf0 [ 46.989618] kasan_kmalloc+0xaf/0xc0 [ 46.993418] kmem_cache_alloc_trace+0x117/0x2e0 [ 46.998127] alloc_disk_node+0x54/0x3a0 [ 47.002115] alloc_disk+0x18/0x20 [ 47.005553] loop_add+0x368/0x7a0 [ 47.009088] loop_control_ioctl+0x136/0x300 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.013394] do_vfs_ioctl+0x1ac/0x11a0 [ 47.017269] SyS_ioctl+0x8f/0xc0 [ 47.020790] do_syscall_64+0x19f/0x550 [ 47.024663] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 47.029741] [ 47.031352] Freed by task 2087: [ 47.034745] save_stack_trace+0x16/0x20 [ 47.038700] kasan_slab_free+0xac/0x190 [ 47.042658] kfree+0xfb/0x310 [ 47.045755] disk_release+0x259/0x330 [ 47.049603] device_release+0x7e/0x220 [ 47.053475] kobject_put+0x148/0x250 [ 47.057173] put_disk+0x23/0x30 [ 47.060462] __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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.064245] blkdev_get+0x2da/0x920 [ 47.067846] blkdev_open+0x1a5/0x250 [ 47.071534] do_dentry_open+0x3ef/0xc90 [ 47.075629] vfs_open+0x11c/0x210 [ 47.079066] path_openat+0x542/0x2790 [ 47.083282] do_filp_open+0x197/0x270 [ 47.087060] do_sys_open+0x30d/0x5c0 [ 47.090751] SyS_open+0x2d/0x40 [ 47.094080] do_syscall_64+0x19f/0x550 [ 47.097955] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 47.103043] [ 47.104646] The buggy address belongs to the object at ffff8801ce6f2200 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.104646] which belongs to the cache kmalloc-2048 of size 2048 [ 47.117458] The buggy address is located 1376 bytes inside of [ 47.117458] 2048-byte region [ffff8801ce6f2200, ffff8801ce6f2a00) [ 47.129485] The buggy address belongs to the page: [ 47.134421] page:ffffea000739bc00 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 47.144648] flags: 0x4000000000004080(slab|head) [ 47.149528] page dumped because: kasan: bad access detected [ 47.155222] [ 47.156891] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.161815] ffff8801ce6f2600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.169212] ffff8801ce6f2680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.176548] >ffff8801ce6f2700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.183933] ^ [ 47.190841] ffff8801ce6f2780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.198193] ffff8801ce6f2800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.205532] ================================================================== executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.212869] Disabling lock debugging due to kernel taint [ 47.219930] Kernel panic - not syncing: panic_on_warn set ... [ 47.219930] [ 47.227333] CPU: 1 PID: 2087 Comm: blkid Tainted: G B 4.9.141+ #1 [ 47.234681] ffff8801cd9ff658 ffffffff81b42e79 ffffffff82e37630 00000000ffffffff [ 47.243209] 0000000000000000 0000000000000001 0000000000000000 ffff8801cd9ff718 [ 47.251215] ffffffff813f7125 0000000041b58ab3 ffffffff82e2b62b ffffffff813f6f66 [ 47.259229] Call Trace: executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.261817] [] dump_stack+0xc1/0x128 [ 47.267174] [] panic+0x1bf/0x39f [ 47.272275] [] ? add_taint.cold.5+0x16/0x16 [ 47.278272] [] ? ___preempt_schedule+0x16/0x18 [ 47.284715] [] kasan_end_report+0x47/0x4f [ 47.290542] [] kasan_report.cold.6+0x76/0x2fe [ 47.296678] [] ? disk_unblock_events+0x51/0x60 [ 47.302895] [] __asan_report_load8_noabort+0x14/0x20 [ 47.309630] [] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.315710] [] __blkdev_get+0x6b6/0xd60 [ 47.321379] [] ? __blkdev_put+0x840/0x840 [ 47.327262] [] ? fsnotify+0x114/0x1100 [ 47.332854] [] blkdev_get+0x2da/0x920 [ 47.338291] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 47.345022] [] ? bd_may_claim+0xd0/0xd0 [ 47.350622] [] ? bd_acquire+0x27/0x250 [ 47.356146] [] ? bd_acquire+0x88/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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.361661] [] ? _raw_spin_unlock+0x2c/0x50 [ 47.367616] [] blkdev_open+0x1a5/0x250 [ 47.373134] [] do_dentry_open+0x3ef/0xc90 [ 47.378910] [] ? blkdev_get_by_dev+0x70/0x70 [ 47.384949] [] vfs_open+0x11c/0x210 [ 47.390268] [] ? may_open.isra.20+0x14f/0x2a0 [ 47.396503] [] path_openat+0x542/0x2790 [ 47.402501] [] ? path_mountpoint+0x6c0/0x6c0 [ 47.408544] [] ? 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.414662] [] ? expand_files.part.3+0x3a9/0x6d0 [ 47.421064] [] do_filp_open+0x197/0x270 [ 47.426683] [] ? may_open_dev+0xe0/0xe0 [ 47.432294] [] ? _raw_spin_unlock+0x2c/0x50 [ 47.438246] [] ? __alloc_fd+0x1d7/0x4a0 [ 47.443854] [] do_sys_open+0x30d/0x5c0 [ 47.449376] [] ? filp_open+0x70/0x70 [ 47.454759] [] ? up_read+0x1a/0x40 [ 47.460071] [] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 47.465156] [] ? do_sys_open+0x5c0/0x5c0 [ 47.471030] [] do_syscall_64+0x19f/0x550 [ 47.476789] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 47.483957] Kernel Offset: disabled [ 47.487564] Rebooting in 86400 seconds..