[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 29.871275] kauditd_printk_skb: 7 callbacks suppressed [ 29.871286] audit: type=1800 audit(1543245100.278:29): pid=5931 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 29.897242] audit: type=1800 audit(1543245100.278:30): pid=5931 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 34.137654] sshd (6068) used greatest stack depth: 15744 bytes left 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 [ 41.099544] ------------[ cut here ]------------ [ 41.104561] generic_make_request: Trying to write to read-only block-device loop0 (partno 0) [ 41.104765] WARNING: CPU: 0 PID: 6111 at block/blk-core.c:2170 generic_make_request_checks+0xef9/0x26c0 [ 41.122797] Kernel panic - not syncing: panic_on_warn set ... [ 41.128764] CPU: 0 PID: 6111 Comm: syz-executor745 Not tainted 4.20.0-rc4+ #129 [ 41.130864] kobject: 'loop0' (0000000072baee0a): fill_kobj_path: path = '/devices/virtual/block/loop0' [ 41.136182] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.136185] Call Trace: [ 41.136199] dump_stack+0x244/0x39d [ 41.136209] ? dump_stack_print_info.cold.1+0x20/0x20 [ 41.136222] panic+0x2ad/0x55c [ 41.136229] ? add_taint.cold.5+0x16/0x16 [ 41.136238] ? __warn.cold.8+0x5/0x45 [ 41.136244] ? __warn+0xe8/0x1d0 [ 41.136287] ? generic_make_request_checks+0xef9/0x26c0 [ 41.186333] __warn.cold.8+0x20/0x45 [ 41.190028] ? rcu_softirq_qs+0x20/0x20 [ 41.193980] ? generic_make_request_checks+0xef9/0x26c0 [ 41.199341] report_bug+0x254/0x2d0 [ 41.203071] do_error_trap+0x11b/0x200 [ 41.206941] do_invalid_op+0x36/0x40 [ 41.210650] ? generic_make_request_checks+0xef9/0x26c0 [ 41.216008] invalid_op+0x14/0x20 [ 41.219442] RIP: 0010:generic_make_request_checks+0xef9/0x26c0 [ 41.225389] Code: 8b ad e4 04 00 00 4c 8d b5 78 ff ff ff 48 89 df 4c 89 f6 e8 99 93 07 00 48 c7 c7 20 2b 5f 88 48 89 c6 44 89 ea e8 57 d0 cf fd <0f> 0b e9 c1 f4 ff ff e8 fb 6f 06 fe e8 a6 47 f0 fd e8 f1 6f 06 fe [ 41.244343] RSP: 0018:ffff8881b1c96010 EFLAGS: 00010286 [ 41.249886] RAX: 0000000000000000 RBX: ffff8881b1e8fc80 RCX: 0000000000000000 [ 41.257141] RDX: 0000000000000000 RSI: ffffffff8165eaf5 RDI: 0000000000000005 [ 41.264388] RBP: ffff8881b1c96310 R08: ffff8881be3c4700 R09: ffffed103b5c3ef8 [ 41.271736] R10: ffffed103b5c3ef8 R11: ffff8881dae1f7c7 R12: ffff8881b1e8fc88 [ 41.279087] R13: 0000000000000000 R14: ffff8881b1c96288 R15: ffff8881d1650000 [ 41.286457] ? vprintk_func+0x85/0x181 [ 41.290369] ? trace_event_raw_event_block_rq_requeue+0x6d0/0x6d0 [ 41.296590] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 41.301738] ? depot_save_stack+0x292/0x470 [ 41.306063] ? __lock_acquire+0x62f/0x4c20 [ 41.310362] ? save_stack+0x43/0xd0 [ 41.314038] ? kasan_kmalloc+0xc7/0xe0 [ 41.318144] ? kasan_slab_alloc+0x12/0x20 [ 41.322269] ? kmem_cache_alloc+0x12e/0x730 [ 41.326585] ? mempool_alloc_slab+0x44/0x60 [ 41.331098] ? mempool_alloc+0x193/0x4a0 [ 41.335214] ? bio_alloc_bioset+0x3a8/0x700 [ 41.339695] ? submit_bh_wbc+0x14b/0x790 [ 41.343737] ? __block_write_full_page+0x93b/0x14a0 [ 41.348738] ? block_write_full_page+0x221/0x270 [ 41.353472] ? blkdev_writepage+0x24/0x30 [ 41.357601] ? mark_held_locks+0x130/0x130 [ 41.361813] ? ____fput+0x15/0x20 [ 41.365246] ? task_work_run+0x1e8/0x2a0 [ 41.369285] ? do_exit+0x1ad6/0x26d0 [ 41.372976] ? do_group_exit+0x177/0x440 [ 41.377017] ? get_signal+0x8b0/0x1980 [ 41.380886] ? do_signal+0x9c/0x21c0 [ 41.384691] ? exit_to_usermode_loop+0x2e5/0x380 [ 41.389495] ? do_syscall_64+0x6be/0x820 [ 41.393642] ? zap_class+0x640/0x640 [ 41.397345] ? check_preemption_disabled+0x48/0x280 [ 41.402348] generic_make_request+0x2c7/0x18a0 [ 41.407055] ? blk_get_request+0x800/0x800 [ 41.411275] ? rcu_read_lock_sched_held+0x14f/0x180 [ 41.416271] ? zap_class+0x640/0x640 [ 41.419966] ? zap_class+0x640/0x640 [ 41.423665] ? mempool_alloc_slab+0x44/0x60 [ 41.428031] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.433558] ? check_preemption_disabled+0x48/0x280 [ 41.438563] ? find_held_lock+0x36/0x1c0 [ 41.442611] ? guard_bio_eod+0x1f4/0x630 [ 41.446650] ? lock_downgrade+0x900/0x900 [ 41.450778] ? check_preemption_disabled+0x48/0x280 [ 41.456019] submit_bio+0xba/0x460 [ 41.459580] ? submit_bio+0xba/0x460 [ 41.463276] ? rcu_softirq_qs+0x20/0x20 [ 41.467228] ? generic_make_request+0x18a0/0x18a0 [ 41.472064] ? __bio_add_page+0x134/0x290 [ 41.476195] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 41.481256] ? guard_bio_eod+0x2bb/0x630 [ 41.485303] submit_bh_wbc+0x5de/0x790 [ 41.489173] __block_write_full_page+0x93b/0x14a0 [ 41.494011] ? I_BDEV+0x20/0x20 [ 41.497271] ? bh_uptodate_or_lock+0x160/0x160 [ 41.501937] ? submit_bh_wbc+0x790/0x790 [ 41.506112] ? trace_hardirqs_on+0xbd/0x310 [ 41.510454] ? tag_pages_for_writeback+0x5ff/0x7d0 [ 41.515461] ? zap_class+0x640/0x640 [ 41.519302] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.524906] ? check_preemption_disabled+0x48/0x280 [ 41.529925] block_write_full_page+0x221/0x270 [ 41.534498] ? I_BDEV+0x20/0x20 [ 41.537790] blkdev_writepage+0x24/0x30 [ 41.541786] __writepage+0x69/0xe0 [ 41.545312] write_cache_pages+0xc91/0x1e20 [ 41.549620] ? __wb_update_bandwidth+0x680/0x680 [ 41.554366] ? clear_page_dirty_for_io+0x1900/0x1900 [ 41.559525] ? kasan_check_read+0x11/0x20 [ 41.563679] ? mark_held_locks+0x130/0x130 [ 41.567897] ? zap_class+0x640/0x640 [ 41.571592] ? zap_class+0x640/0x640 [ 41.575288] ? lock_acquire+0x1ed/0x520 [ 41.579246] ? __blkdev_put+0xc2/0x830 [ 41.583125] ? lock_release+0xa00/0xa00 [ 41.587082] ? perf_trace_sched_process_exec+0x860/0x860 [ 41.592579] ? zap_class+0x640/0x640 [ 41.596284] ? __mutex_lock+0x85e/0x16f0 [ 41.600330] ? blk_start_plug+0xcc/0x370 [ 41.604370] ? find_held_lock+0x36/0x1c0 [ 41.608411] ? blk_lld_busy+0x70/0x70 [ 41.612246] ? lock_downgrade+0x900/0x900 [ 41.616380] ? zap_class+0x640/0x640 [ 41.620081] ? kasan_check_read+0x11/0x20 [ 41.624211] generic_writepages+0xda/0x150 [ 41.628549] ? write_cache_pages+0x1e20/0x1e20 [ 41.633112] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.638627] blkdev_writepages+0x1d/0x30 [ 41.642767] ? blkdev_readpages+0x40/0x40 [ 41.646903] do_writepages+0x9a/0x1a0 [ 41.650685] __filemap_fdatawrite_range+0x364/0x4a0 [ 41.655686] ? delete_from_page_cache_batch+0x1640/0x1640 [ 41.661268] ? __mutex_unlock_slowpath+0x197/0x8c0 [ 41.666189] filemap_write_and_wait+0x44/0xc0 [ 41.670662] __blkdev_put+0x202/0x830 [ 41.674493] ? bd_set_size+0x370/0x370 [ 41.678377] ? do_raw_spin_trylock+0x270/0x270 [ 41.682960] ? fsnotify_first_mark+0x350/0x350 [ 41.687524] blkdev_put+0x98/0x540 [ 41.691055] ? blkdev_put+0x540/0x540 [ 41.694840] blkdev_close+0x8b/0xb0 [ 41.698454] __fput+0x385/0xa30 [ 41.701888] ? get_max_files+0x20/0x20 [ 41.705905] ? trace_hardirqs_on+0xbd/0x310 [ 41.710426] ? kasan_check_read+0x11/0x20 [ 41.714561] ? task_work_run+0x1af/0x2a0 [ 41.718600] ? trace_hardirqs_off_caller+0x310/0x310 [ 41.723809] ____fput+0x15/0x20 [ 41.727250] task_work_run+0x1e8/0x2a0 [ 41.731115] ? task_work_cancel+0x240/0x240 [ 41.735409] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 41.741035] ? switch_task_namespaces+0x9d/0xd0 [ 41.745801] do_exit+0x1ad6/0x26d0 [ 41.749326] ? do_raw_spin_trylock+0x241/0x270 [ 41.753996] ? mm_update_next_owner+0x990/0x990 [ 41.758897] ? print_usage_bug+0xc0/0xc0 [ 41.763002] ? zap_class+0x640/0x640 [ 41.766749] ? find_held_lock+0x36/0x1c0 [ 41.770829] ? __lock_acquire+0x62f/0x4c20 [ 41.775058] ? lock_downgrade+0x900/0x900 [ 41.779191] ? mark_held_locks+0x130/0x130 [ 41.783400] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 41.788574] ? drop_futex_key_refs.isra.14+0x6d/0xe0 [ 41.793662] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.799190] ? futex_wait+0x5ec/0xa50 [ 41.803005] ? futex_wait_setup+0x3e0/0x3e0 [ 41.807307] ? drop_futex_key_refs.isra.14+0x6d/0xe0 [ 41.812388] ? futex_wake+0x304/0x760 [ 41.816308] ? zap_class+0x640/0x640 [ 41.820007] ? memset+0x31/0x40 [ 41.823267] ? find_held_lock+0x36/0x1c0 [ 41.827306] ? get_signal+0x95b/0x1980 [ 41.831169] ? _raw_spin_unlock_irq+0x27/0x80 [ 41.835646] ? _raw_spin_unlock_irq+0x27/0x80 [ 41.840139] do_group_exit+0x177/0x440 [ 41.844147] ? trace_hardirqs_off_caller+0x310/0x310 [ 41.849249] ? __ia32_sys_exit+0x50/0x50 [ 41.853295] get_signal+0x8b0/0x1980 [ 41.857000] ? ptrace_notify+0x130/0x130 [ 41.861046] ? __sb_end_write+0xd9/0x110 [ 41.865321] ? pipe_write+0xb64/0xec0 [ 41.869129] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.874661] ? __vfs_write+0x121/0x9f0 [ 41.878560] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.884074] do_signal+0x9c/0x21c0 [ 41.887649] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 41.892211] ? trace_hardirqs_on+0xbd/0x310 [ 41.896509] ? fsnotify_first_mark+0x350/0x350 [ 41.901200] ? setup_sigcontext+0x7d0/0x7d0 [ 41.905498] ? fsnotify+0xef0/0xef0 [ 41.909112] ? exit_to_usermode_loop+0x8c/0x380 [ 41.913764] ? exit_to_usermode_loop+0x8c/0x380 [ 41.918410] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 41.922989] ? trace_hardirqs_on+0xbd/0x310 [ 41.927288] ? do_syscall_64+0x6be/0x820 [ 41.931332] ? __x64_sys_futex+0x47f/0x6a0 [ 41.935594] exit_to_usermode_loop+0x2e5/0x380 [ 41.940177] ? __bpf_trace_sys_exit+0x30/0x30 [ 41.944656] do_syscall_64+0x6be/0x820 [ 41.948523] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 41.953866] ? syscall_return_slowpath+0x5e0/0x5e0 [ 41.958789] ? trace_hardirqs_on_caller+0x310/0x310 [ 41.963842] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 41.968846] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 41.975497] ? __switch_to_asm+0x40/0x70 [ 41.979548] ? __switch_to_asm+0x34/0x70 [ 41.983610] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.988555] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.993724] RIP: 0033:0x44a4f9 [ 41.996988] Code: Bad RIP value. [ 42.000345] RSP: 002b:00007f5ed7865cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 42.008044] RAX: fffffffffffffe00 RBX: 00000000006dbc88 RCX: 000000000044a4f9 [ 42.015444] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc88 [ 42.022710] RBP: 00000000006dbc80 R08: 0000000000000000 R09: 0000000000000000 [ 42.030006] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc8c [ 42.037260] R13: 00007ffe561241cf R14: 00007f5ed78669c0 R15: 00000000006dbd6c [ 42.045775] Kernel Offset: disabled [ 42.049458] Rebooting in 86400 seconds..