[ 35.997679] audit: type=1800 audit(1551578704.430:27): pid=7487 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 36.022159] audit: type=1800 audit(1551578704.430:28): pid=7487 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 36.797347] audit: type=1800 audit(1551578705.280:29): pid=7487 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 36.816721] audit: type=1800 audit(1551578705.280:30): pid=7487 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.31' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 48.156976] ------------[ cut here ]------------ [ 48.161845] generic_make_request: Trying to write to read-only block-device loop0 (partno 0) [ 48.171953] WARNING: CPU: 1 PID: 7644 at block/blk-core.c:802 generic_make_request_checks+0x1c8a/0x2140 [ 48.181475] Kernel panic - not syncing: panic_on_warn set ... [ 48.187342] CPU: 1 PID: 7644 Comm: syz-executor840 Not tainted 5.0.0-rc8+ #2 [ 48.194527] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.203859] Call Trace: [ 48.206431] dump_stack+0x172/0x1f0 [ 48.210048] ? generic_make_request_checks+0x1bb0/0x2140 [ 48.215482] panic+0x2cb/0x65c [ 48.218659] ? __warn_printk+0xf3/0xf3 [ 48.222539] ? generic_make_request_checks+0x1c8a/0x2140 [ 48.227972] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.233491] ? __warn.cold+0x5/0x45 [ 48.237099] ? __warn+0xe8/0x1d0 [ 48.240450] ? generic_make_request_checks+0x1c8a/0x2140 [ 48.245884] __warn.cold+0x20/0x45 [ 48.249408] ? vprintk_emit+0x1ce/0x6d0 [ 48.253365] ? generic_make_request_checks+0x1c8a/0x2140 [ 48.258798] report_bug+0x263/0x2b0 [ 48.262412] do_error_trap+0x11b/0x200 [ 48.266287] do_invalid_op+0x37/0x50 [ 48.269981] ? generic_make_request_checks+0x1c8a/0x2140 [ 48.275413] invalid_op+0x14/0x20 [ 48.278852] RIP: 0010:generic_make_request_checks+0x1c8a/0x2140 [ 48.284891] Code: 00 00 44 8b ab dc 04 00 00 48 8d b5 78 ff ff ff 4c 89 ff e8 98 7c 05 00 48 c7 c7 80 a3 a0 87 48 89 c6 44 89 ea e8 c4 be 2b fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 [ 48.303772] RSP: 0018:ffff888092c7ef80 EFLAGS: 00010286 [ 48.309117] RAX: 0000000000000000 RBX: ffff8880a3cd6640 RCX: 0000000000000000 [ 48.316368] RDX: 0000000000000000 RSI: ffffffff815a9066 RDI: ffffed101258fde2 [ 48.326501] RBP: ffff888092c7f080 R08: ffff88808f022380 R09: ffffed1015d25021 [ 48.333751] R10: ffffed1015d25020 R11: ffff8880ae928107 R12: ffff88808fe86e88 [ 48.341002] R13: 0000000000000000 R14: 0000000000000001 R15: ffff88808fe86e80 [ 48.348264] ? vprintk_func+0x86/0x189 [ 48.352142] ? trace_event_raw_event_block_rq_requeue+0x640/0x640 [ 48.358356] ? mark_held_locks+0x100/0x100 [ 48.362578] generic_make_request+0x24c/0x12d0 [ 48.367144] ? find_held_lock+0x35/0x130 [ 48.371187] ? bio_associate_blkg_from_css+0x513/0x9d0 [ 48.376451] ? blk_queue_enter+0xe90/0xe90 [ 48.380671] ? lock_downgrade+0x810/0x810 [ 48.384802] submit_bio+0xba/0x480 [ 48.388323] ? submit_bio+0xba/0x480 [ 48.392019] ? generic_make_request+0x12d0/0x12d0 [ 48.396844] ? bio_reset+0x3b0/0x3b0 [ 48.400541] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 48.405540] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 48.410538] ? wbc_account_io+0x17e/0x2a0 [ 48.414678] submit_bh_wbc+0x5f7/0x7f0 [ 48.418551] __block_write_full_page+0x771/0x1020 [ 48.423378] ? check_disk_change+0x140/0x140 [ 48.427790] block_write_full_page+0x21f/0x270 [ 48.432372] ? check_disk_change+0x140/0x140 [ 48.436787] blkdev_writepage+0x25/0x30 [ 48.440751] __writepage+0x67/0xe0 [ 48.444278] write_cache_pages+0x8af/0x1560 [ 48.448595] ? __wb_update_bandwidth+0x670/0x670 [ 48.453360] ? clear_page_dirty_for_io+0xff0/0xff0 [ 48.458278] ? __lock_acquire+0x53b/0x4700 [ 48.462504] ? is_bpf_text_address+0xac/0x170 [ 48.466997] ? __lock_acquire+0x53b/0x4700 [ 48.471215] generic_writepages+0xed/0x160 [ 48.475432] ? write_cache_pages+0x1560/0x1560 [ 48.480003] ? 0xffffffff81000000 [ 48.483463] ? wbc_attach_and_unlock_inode+0x51a/0x930 [ 48.488721] ? find_held_lock+0x35/0x130 [ 48.492763] ? blkdev_readpages+0x40/0x40 [ 48.496890] blkdev_writepages+0x1e/0x30 [ 48.500932] do_writepages+0xfc/0x2a0 [ 48.504716] ? page_writeback_cpu_online+0x20/0x20 [ 48.509626] ? do_raw_spin_lock+0x12a/0x2e0 [ 48.513932] ? kasan_check_read+0x11/0x20 [ 48.518060] ? do_raw_spin_unlock+0x57/0x270 [ 48.522460] ? _raw_spin_unlock+0x2d/0x50 [ 48.526603] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.532137] ? wbc_attach_and_unlock_inode+0x5c4/0x930 [ 48.537415] __filemap_fdatawrite_range+0x26d/0x340 [ 48.542422] ? delete_from_page_cache_batch+0x10e0/0x10e0 [ 48.547954] ? lockdep_hardirqs_on+0x415/0x5d0 [ 48.552533] filemap_write_and_wait+0x47/0xd0 [ 48.557016] __blkdev_put+0x204/0x810 [ 48.560802] ? bd_set_size+0xb0/0xb0 [ 48.564499] ? wait_for_completion+0x440/0x440 [ 48.569064] ? kasan_check_read+0x11/0x20 [ 48.573201] blkdev_put+0x98/0x560 [ 48.576725] ? blkdev_put+0x560/0x560 [ 48.580518] blkdev_close+0x8b/0xb0 [ 48.584132] __fput+0x2df/0x8d0 [ 48.587395] ____fput+0x16/0x20 [ 48.590657] task_work_run+0x14a/0x1c0 [ 48.594531] do_exit+0x92c/0x2fd0 [ 48.597968] ? get_signal+0x331/0x1d50 [ 48.601842] ? mm_update_next_owner+0x660/0x660 [ 48.606509] ? kasan_check_read+0x11/0x20 [ 48.610643] ? _raw_spin_unlock_irq+0x28/0x90 [ 48.615118] ? get_signal+0x331/0x1d50 [ 48.618984] ? _raw_spin_unlock_irq+0x28/0x90 [ 48.623467] do_group_exit+0x135/0x370 [ 48.627353] get_signal+0x399/0x1d50 [ 48.631052] ? kasan_check_read+0x11/0x20 [ 48.635190] do_signal+0x87/0x1940 [ 48.638712] ? iterate_fd+0x360/0x360 [ 48.642506] ? finish_task_switch+0x146/0x790 [ 48.646996] ? find_held_lock+0x35/0x130 [ 48.651037] ? setup_sigcontext+0x7d0/0x7d0 [ 48.655348] ? exit_to_usermode_loop+0x43/0x2c0 [ 48.659997] ? do_syscall_64+0x52d/0x610 [ 48.664040] ? exit_to_usermode_loop+0x43/0x2c0 [ 48.668691] ? lockdep_hardirqs_on+0x415/0x5d0 [ 48.673257] ? trace_hardirqs_on+0x67/0x230 [ 48.677561] exit_to_usermode_loop+0x244/0x2c0 [ 48.682127] do_syscall_64+0x52d/0x610 [ 48.685999] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.691170] RIP: 0033:0x449739 [ 48.694342] Code: 20 62 65 20 70 72 6f 63 65 73 73 65 64 0a 00 00 00 72 75 6c 65 73 65 74 2e 50 72 6f 63 65 73 73 4d 73 67 28 29 20 72 65 74 75 <72> 6e 73 20 25 64 0a 00 00 00 00 00 00 00 00 77 61 72 6e 69 6e 67 [ 48.713225] RSP: 002b:00007fb0c006acf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 48.720914] RAX: fffffffffffffe00 RBX: 00000000006dac68 RCX: 0000000000449739 [ 48.728166] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dac68 [ 48.735418] RBP: 00000000006dac60 R08: 0000000000000000 R09: 0000000000000000 [ 48.742677] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dac6c [ 48.749944] R13: 00007ffd73bebeef R14: 00007fb0c006b9c0 R15: 20c49ba5e353f7cf [ 48.758232] Kernel Offset: disabled [ 48.761897] Rebooting in 86400 seconds..