Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 10.143706] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 27.328859] random: sshd: uninitialized urandom read (32 bytes read) [ 27.371934] random: crng init done Warning: Permanently added '10.128.0.37' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 61.749165] ================================================================== [ 61.756538] BUG: KASAN: use-after-free in disk_unblock_events+0x51/0x60 [ 61.763258] Read of size 8 at addr ffff8801c9374960 by task blkid/3289 [ 61.769888] [ 61.771487] CPU: 0 PID: 3289 Comm: blkid Not tainted 4.9.142+ #73 [ 61.777685] ffff8801c82276f0 ffffffff81b43969 ffffea000724dc00 ffff8801c9374960 [ 61.785654] 0000000000000000 ffff8801c9374960 0000000000000000 ffff8801c8227728 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 61.793634] ffffffff81500a28 ffff8801c9374960 0000000000000008 0000000000000000 [ 61.801624] Call Trace: [ 61.804182] [] dump_stack+0xc1/0x128 [ 61.809520] [] print_address_description+0x6c/0x234 [ 61.816159] [] kasan_report.cold.6+0x242/0x2fe [ 61.822359] [] ? disk_unblock_events+0x51/0x60 [ 61.828562] [] __asan_report_load8_noabort+0x14/0x20 [ 61.835285] [] disk_unblock_events+0x51/0x60 [ 61.841312] [] __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 executing program executing program executing program executing program executing program executing program executing program [ 61.846915] [] ? trace_hardirqs_on+0x10/0x10 [ 61.852947] [] ? __blkdev_put+0x840/0x840 [ 61.858718] [] ? fsnotify+0x114/0x1100 [ 61.864235] [] blkdev_get+0x2da/0x920 [ 61.869673] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 61.876589] [] ? bd_may_claim+0xd0/0xd0 [ 61.882186] [] ? bd_acquire+0x27/0x250 [ 61.887704] [] ? bd_acquire+0x88/0x250 [ 61.893217] [] ? _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 [ 61.899156] [] blkdev_open+0x1a5/0x250 [ 61.904665] [] do_dentry_open+0x3ef/0xc90 [ 61.910434] [] ? blkdev_get_by_dev+0x70/0x70 [ 61.916465] [] vfs_open+0x11c/0x210 [ 61.921713] [] ? may_open.isra.21+0x14f/0x2a0 [ 61.927848] [] path_openat+0x661/0x2d90 [ 61.933442] [] ? path_mountpoint+0x6c0/0x6c0 [ 61.939473] [] ? 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 [ 61.945500] [] ? expand_files.part.3+0x3a9/0x6d0 [ 61.951876] [] do_filp_open+0x197/0x270 [ 61.957471] [] ? may_open_dev+0xe0/0xe0 [ 61.963066] [] ? _raw_spin_unlock+0x2c/0x50 [ 61.969074] [] ? __alloc_fd+0x1d7/0x4a0 [ 61.974677] [] do_sys_open+0x30d/0x5c0 [ 61.980184] [] ? filp_open+0x70/0x70 [ 61.985517] [] ? up_read+0x1a/0x40 [ 61.990683] [] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 61.995756] [] ? do_sys_open+0x5c0/0x5c0 [ 62.001438] [] do_syscall_64+0x19f/0x550 [ 62.007133] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 62.014037] [ 62.015637] Allocated by task 3274: [ 62.019240] save_stack_trace+0x16/0x20 [ 62.023184] kasan_kmalloc.part.1+0x62/0xf0 [ 62.027471] kasan_kmalloc+0xaf/0xc0 [ 62.031155] kmem_cache_alloc_trace+0x117/0x2e0 [ 62.035796] alloc_disk_node+0x54/0x3a0 [ 62.039739] alloc_disk+0x18/0x20 [ 62.043167] loop_add+0x368/0x7a0 [ 62.046589] loop_probe+0x14f/0x180 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.050184] kobj_lookup+0x223/0x410 [ 62.053870] get_gendisk+0x39/0x2d0 [ 62.057466] __blkdev_get+0x351/0xd60 [ 62.061248] blkdev_get+0x488/0x920 [ 62.064861] blkdev_open+0x1a5/0x250 [ 62.068546] do_dentry_open+0x3ef/0xc90 [ 62.072491] vfs_open+0x11c/0x210 [ 62.075922] path_openat+0x661/0x2d90 [ 62.079706] do_filp_open+0x197/0x270 [ 62.083478] do_sys_open+0x30d/0x5c0 [ 62.087163] SyS_open+0x2d/0x40 [ 62.090412] do_syscall_64+0x19f/0x550 [ 62.094270] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 62.099363] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.100961] Freed by task 3289: [ 62.104211] save_stack_trace+0x16/0x20 [ 62.108155] kasan_slab_free+0xac/0x190 [ 62.112100] kfree+0xfb/0x310 [ 62.115178] disk_release+0x259/0x330 [ 62.118951] device_release+0x7e/0x220 [ 62.122806] kobject_put+0x148/0x250 [ 62.126487] put_disk+0x23/0x30 [ 62.129734] __blkdev_get+0x616/0xd60 [ 62.133506] blkdev_get+0x2da/0x920 [ 62.137105] blkdev_open+0x1a5/0x250 [ 62.140791] do_dentry_open+0x3ef/0xc90 [ 62.144750] vfs_open+0x11c/0x210 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.148172] path_openat+0x661/0x2d90 [ 62.151942] do_filp_open+0x197/0x270 [ 62.155716] do_sys_open+0x30d/0x5c0 [ 62.159398] SyS_open+0x2d/0x40 [ 62.162648] do_syscall_64+0x19f/0x550 [ 62.166508] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 62.171582] [ 62.173187] The buggy address belongs to the object at ffff8801c9374400 [ 62.173187] which belongs to the cache kmalloc-2048 of size 2048 [ 62.185990] The buggy address is located 1376 bytes inside of [ 62.185990] 2048-byte region [ffff8801c9374400, ffff8801c9374c00) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.198004] The buggy address belongs to the page: [ 62.202923] page:ffffea000724dc00 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 62.213125] flags: 0x4000000000004080(slab|head) [ 62.217848] page dumped because: kasan: bad access detected [ 62.223522] [ 62.225121] Memory state around the buggy address: [ 62.230023] ffff8801c9374800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.237350] ffff8801c9374880: 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.244681] >ffff8801c9374900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.252007] ^ [ 62.258467] ffff8801c9374980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.265799] ffff8801c9374a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.273151] ================================================================== [ 62.280480] Disabling lock debugging due to kernel taint [ 62.287059] Kernel panic - not syncing: panic_on_warn set ... [ 62.287059] [ 62.294405] CPU: 0 PID: 3289 Comm: blkid Tainted: G B 4.9.142+ #73 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.301822] ffff8801c8227650 ffffffff81b43969 ffffffff82e3a8a8 00000000ffffffff [ 62.309920] 0000000000000000 0000000000000000 0000000000000000 ffff8801c8227710 [ 62.317914] ffffffff813f71f5 0000000041b58ab3 ffffffff82e2e8a3 ffffffff813f7036 [ 62.325986] Call Trace: [ 62.328554] [] dump_stack+0xc1/0x128 [ 62.333893] [] panic+0x1bf/0x39f [ 62.338912] [] ? add_taint.cold.5+0x16/0x16 [ 62.344858] [] ? ___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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.351064] [] kasan_end_report+0x47/0x4f [ 62.356843] [] kasan_report.cold.6+0x76/0x2fe [ 62.362962] [] ? disk_unblock_events+0x51/0x60 [ 62.369164] [] __asan_report_load8_noabort+0x14/0x20 [ 62.375888] [] disk_unblock_events+0x51/0x60 [ 62.381921] [] __blkdev_get+0x6b6/0xd60 [ 62.387518] [] ? trace_hardirqs_on+0x10/0x10 [ 62.393986] [] ? __blkdev_put+0x840/0x840 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.399755] [] ? fsnotify+0x114/0x1100 [ 62.405296] [] blkdev_get+0x2da/0x920 [ 62.410720] [] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 62.417445] [] ? bd_may_claim+0xd0/0xd0 [ 62.423038] [] ? bd_acquire+0x27/0x250 [ 62.428549] [] ? bd_acquire+0x88/0x250 [ 62.434125] [] ? _raw_spin_unlock+0x2c/0x50 [ 62.440076] [] blkdev_open+0x1a5/0x250 [ 62.445588] [] do_dentry_open+0x3ef/0xc90 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.451355] [] ? blkdev_get_by_dev+0x70/0x70 [ 62.457382] [] vfs_open+0x11c/0x210 [ 62.462632] [] ? may_open.isra.21+0x14f/0x2a0 [ 62.468750] [] path_openat+0x661/0x2d90 [ 62.474353] [] ? path_mountpoint+0x6c0/0x6c0 [ 62.480387] [] ? trace_hardirqs_on+0x10/0x10 [ 62.486421] [] ? expand_files.part.3+0x3a9/0x6d0 [ 62.492831] [] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.498433] [] ? may_open_dev+0xe0/0xe0 [ 62.504031] [] ? _raw_spin_unlock+0x2c/0x50 [ 62.509975] [] ? __alloc_fd+0x1d7/0x4a0 [ 62.515572] [] do_sys_open+0x30d/0x5c0 [ 62.521095] [] ? filp_open+0x70/0x70 [ 62.526430] [] ? up_read+0x1a/0x40 [ 62.531604] [] SyS_open+0x2d/0x40 [ 62.536684] [] ? do_sys_open+0x5c0/0x5c0 [ 62.542495] [] do_syscall_64+0x19f/0x550 executing program executing program [ 62.548180] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 62.555410] Kernel Offset: disabled [ 62.559014] Rebooting in 86400 seconds..