[ 28.134828] audit: type=1800 audit(1539689000.285:27): pid=5451 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 28.161334] audit: type=1800 audit(1539689000.285:28): pid=5451 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. [ 29.684530] audit: type=1800 audit(1539689001.885:29): pid=5451 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 [ 29.704688] audit: type=1800 audit(1539689001.895:30): pid=5451 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.10.37' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 39.575935] ------------[ cut here ]------------ [ 39.580899] generic_make_request: Trying to write to read-only block-device nullb0 (partno 0) [ 39.590007] WARNING: CPU: 1 PID: 5606 at block/blk-core.c:2168 generic_make_request_checks+0xe5c/0x2170 [ 39.599547] Kernel panic - not syncing: panic_on_warn set ... [ 39.605436] CPU: 1 PID: 5606 Comm: syz-executor834 Not tainted 4.19.0-rc8-next-20181016+ #95 [ 39.613998] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.623359] Call Trace: [ 39.625943] dump_stack+0x244/0x39d [ 39.629564] ? dump_stack_print_info.cold.1+0x20/0x20 [ 39.634746] panic+0x2ad/0x55c [ 39.637922] ? add_taint.cold.5+0x16/0x16 [ 39.642063] ? __warn.cold.8+0x5/0x45 [ 39.645853] ? __warn+0xe8/0x1d0 [ 39.649207] ? generic_make_request_checks+0xe5c/0x2170 [ 39.654554] __warn.cold.8+0x20/0x45 [ 39.658254] ? rcu_softirq_qs+0x20/0x20 [ 39.662214] ? generic_make_request_checks+0xe5c/0x2170 [ 39.667565] report_bug+0x254/0x2d0 [ 39.671195] do_error_trap+0x11b/0x200 [ 39.675081] do_invalid_op+0x36/0x40 [ 39.678789] ? generic_make_request_checks+0xe5c/0x2170 [ 39.684141] invalid_op+0x14/0x20 [ 39.687584] RIP: 0010:generic_make_request_checks+0xe5c/0x2170 [ 39.693538] Code: 8b ad e4 04 00 00 4c 8d b5 78 ff ff ff 48 89 df 4c 89 f6 e8 16 a1 07 00 48 c7 c7 20 48 3f 88 48 89 c6 44 89 ea e8 74 c4 cf fd <0f> 0b e9 44 f5 ff ff e8 a8 1b 06 fe e8 a3 e4 ef fd e8 9e 1b 06 fe [ 39.712594] RSP: 0018:ffff8801d807e488 EFLAGS: 00010282 [ 39.717956] RAX: 0000000000000000 RBX: ffff8801d92d8200 RCX: 0000000000000000 [ 39.725208] RDX: 0000000000000000 RSI: ffffffff81647515 RDI: 0000000000000005 [ 39.732483] RBP: ffff8801d807e700 R08: ffff8801d8374180 R09: ffffed003b5e5008 [ 39.739738] R10: ffffed003b5e5008 R11: ffff8801daf28047 R12: ffff8801d92d8208 [ 39.746991] R13: 0000000000000000 R14: ffff8801d807e678 R15: ffff8801d179c080 [ 39.754260] ? vprintk_func+0x85/0x181 [ 39.758141] ? generic_make_request_checks+0xe5c/0x2170 [ 39.763494] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 39.768589] ? trace_event_raw_event_block_rq_requeue+0x6d0/0x6d0 [ 39.774822] ? __lock_acquire+0x62f/0x4c20 [ 39.779077] ? __lock_acquire+0x62f/0x4c20 [ 39.783305] ? save_stack+0x43/0xd0 [ 39.786922] ? kasan_kmalloc+0xc7/0xe0 [ 39.790813] ? kasan_slab_alloc+0x12/0x20 [ 39.794947] ? kmem_cache_alloc+0x12e/0x730 [ 39.799254] ? mempool_alloc_slab+0x44/0x60 [ 39.803574] ? mempool_alloc+0x193/0x4a0 [ 39.807621] ? bio_alloc_bioset+0x3a2/0x6f0 [ 39.811927] ? submit_bh_wbc+0x133/0x7c0 [ 39.815971] ? __block_write_full_page+0x93b/0x14a0 [ 39.821015] ? mark_held_locks+0x130/0x130 [ 39.825243] ? mark_held_locks+0x130/0x130 [ 39.829465] ? ____fput+0x15/0x20 [ 39.832902] ? task_work_run+0x1e8/0x2a0 [ 39.836949] ? do_exit+0x1ad1/0x26d0 [ 39.840646] ? do_group_exit+0x177/0x440 [ 39.844688] ? __x64_sys_exit_group+0x3e/0x50 [ 39.849168] ? do_syscall_64+0x1b9/0x820 [ 39.853216] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.858572] ? zap_class+0x640/0x640 [ 39.862272] ? check_preemption_disabled+0x48/0x280 [ 39.867296] generic_make_request+0x2c7/0x18a0 [ 39.871869] ? blk_get_request+0x800/0x800 [ 39.876108] ? bio_associate_blkg.part.35+0x162/0x5b0 [ 39.881287] ? zap_class+0x640/0x640 [ 39.884989] ? lock_downgrade+0x900/0x900 [ 39.889122] ? check_preemption_disabled+0x48/0x280 [ 39.894127] ? kasan_check_read+0x11/0x20 [ 39.898261] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 39.903538] ? rcu_softirq_qs+0x20/0x20 [ 39.907499] ? find_held_lock+0x36/0x1c0 [ 39.911551] ? __bio_associate_blkg_from_css+0x1b9/0x2b0 [ 39.916989] ? lock_downgrade+0x900/0x900 [ 39.921121] ? check_preemption_disabled+0x48/0x280 [ 39.926123] submit_bio+0xba/0x460 [ 39.929655] ? submit_bio+0xba/0x460 [ 39.933353] ? generic_make_request+0x18a0/0x18a0 [ 39.938184] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 39.943187] ? wbc_account_io+0x17e/0x2a0 [ 39.947323] submit_bh_wbc+0x5dc/0x7c0 [ 39.951204] __block_write_full_page+0x93b/0x14a0 [ 39.956039] ? I_BDEV+0x20/0x20 [ 39.959311] ? bh_uptodate_or_lock+0x160/0x160 [ 39.963883] ? submit_bh_wbc+0x7c0/0x7c0 [ 39.967938] ? trace_hardirqs_on+0xbd/0x310 [ 39.972249] ? tag_pages_for_writeback+0x5ff/0x7d0 [ 39.977176] ? zap_class+0x640/0x640 [ 39.980893] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 39.986417] ? check_preemption_disabled+0x48/0x280 [ 39.991427] block_write_full_page+0x221/0x270 [ 39.995992] ? I_BDEV+0x20/0x20 [ 39.999261] blkdev_writepage+0x24/0x30 [ 40.003222] __writepage+0x69/0xe0 [ 40.006754] write_cache_pages+0xc8c/0x1e20 [ 40.011066] ? __wb_update_bandwidth+0x680/0x680 [ 40.015820] ? clear_page_dirty_for_io+0x1900/0x1900 [ 40.020914] ? __lock_acquire+0x2aff/0x4c20 [ 40.025239] ? kasan_check_read+0x11/0x20 [ 40.029384] ? __lock_acquire+0x62f/0x4c20 [ 40.033621] ? mark_held_locks+0x130/0x130 [ 40.037845] ? zap_class+0x640/0x640 [ 40.041541] ? zap_class+0x640/0x640 [ 40.045256] ? lock_acquire+0x1ed/0x520 [ 40.049220] ? __blkdev_put+0xc2/0x830 [ 40.053098] ? lock_release+0xa10/0xa10 [ 40.057056] ? perf_trace_sched_process_exec+0x860/0x860 [ 40.062489] ? find_held_lock+0x36/0x1c0 [ 40.066537] ? zap_class+0x640/0x640 [ 40.070246] ? __mutex_lock+0x85e/0x16f0 [ 40.074299] ? blk_start_plug+0xcc/0x370 [ 40.078348] ? blk_lld_busy+0x70/0x70 [ 40.082141] ? lock_downgrade+0x900/0x900 [ 40.086309] generic_writepages+0xda/0x150 [ 40.090544] ? write_cache_pages+0x1e20/0x1e20 [ 40.095140] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 40.100671] ? wbc_attach_and_unlock_inode+0x675/0xa30 [ 40.105961] blkdev_writepages+0x1d/0x30 [ 40.110012] ? blkdev_readpages+0x40/0x40 [ 40.114146] do_writepages+0x9a/0x1a0 [ 40.117938] __filemap_fdatawrite_range+0x364/0x4a0 [ 40.122942] ? delete_from_page_cache_batch+0x1630/0x1630 [ 40.128474] ? __mutex_unlock_slowpath+0x197/0x8c0 [ 40.133390] ? __lock_is_held+0xb5/0x140 [ 40.137446] filemap_write_and_wait+0x44/0xc0 [ 40.141929] __blkdev_put+0x202/0x830 [ 40.145721] ? bd_set_size+0x370/0x370 [ 40.149595] ? ima_file_free+0x132/0x650 [ 40.153645] ? fsnotify_first_mark+0x350/0x350 [ 40.158215] blkdev_put+0x98/0x540 [ 40.161745] blkdev_close+0x8b/0xb0 [ 40.165359] __fput+0x3bc/0xa70 [ 40.168644] ? blkdev_put+0x540/0x540 [ 40.172432] ? get_max_files+0x20/0x20 [ 40.176310] ? trace_hardirqs_on+0xbd/0x310 [ 40.180619] ? kasan_check_read+0x11/0x20 [ 40.184752] ? task_work_run+0x1af/0x2a0 [ 40.188811] ? trace_hardirqs_off_caller+0x300/0x300 [ 40.193935] ____fput+0x15/0x20 [ 40.197206] task_work_run+0x1e8/0x2a0 [ 40.201081] ? task_work_cancel+0x240/0x240 [ 40.205388] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 40.210911] ? switch_task_namespaces+0x9d/0xd0 [ 40.215570] do_exit+0x1ad1/0x26d0 [ 40.219102] ? mm_update_next_owner+0x990/0x990 [ 40.223761] ? __might_fault+0x12b/0x1e0 [ 40.227822] ? lock_downgrade+0x900/0x900 [ 40.231973] ? lock_release+0xa10/0xa10 [ 40.235938] ? perf_trace_sched_process_exec+0x860/0x860 [ 40.241390] ? cap_capable+0x1f9/0x260 [ 40.245275] ? set_device_ro+0x12/0x80 [ 40.249155] ? blkdev_ioctl+0x15d/0x2010 [ 40.253207] ? blkpg_ioctl+0xc10/0xc10 [ 40.257083] ? vmf_insert_mixed_mkwrite+0x40/0x40 [ 40.261915] ? vm_mmap_pgoff+0x222/0x2c0 [ 40.265961] ? lock_downgrade+0x900/0x900 [ 40.270094] ? zap_class+0x640/0x640 [ 40.273818] ? zap_class+0x640/0x640 [ 40.277516] ? zap_class+0x640/0x640 [ 40.281213] ? userfaultfd_unmap_prep+0x660/0x660 [ 40.286049] ? find_held_lock+0x36/0x1c0 [ 40.290102] ? block_ioctl+0xee/0x130 [ 40.293887] ? blkdev_fallocate+0x400/0x400 [ 40.298196] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.303717] ? do_vfs_ioctl+0x201/0x1720 [ 40.307765] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 40.313032] ? rcu_softirq_qs+0x20/0x20 [ 40.316994] ? ioctl_preallocate+0x300/0x300 [ 40.321402] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.326923] ? __fget_light+0x2e9/0x430 [ 40.330893] ? fget_raw+0x20/0x20 [ 40.334591] ? kasan_check_write+0x14/0x20 [ 40.338811] ? up_read+0x225/0x2c0 [ 40.342334] ? up_read_non_owner+0x100/0x100 [ 40.346743] do_group_exit+0x177/0x440 [ 40.350617] ? trace_hardirqs_on+0xbd/0x310 [ 40.354924] ? __ia32_sys_exit+0x50/0x50 [ 40.358978] ? trace_hardirqs_off_caller+0x300/0x300 [ 40.364078] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 40.369601] ? ksys_ioctl+0x81/0xd0 [ 40.373219] __x64_sys_exit_group+0x3e/0x50 [ 40.377528] do_syscall_64+0x1b9/0x820 [ 40.381398] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 40.386746] ? syscall_return_slowpath+0x5e0/0x5e0 [ 40.391657] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.396486] ? trace_hardirqs_on_caller+0x310/0x310 [ 40.401505] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 40.406509] ? prepare_exit_to_usermode+0x291/0x3b0 [ 40.411525] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.416356] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.421527] RIP: 0033:0x43eca8 [ 40.424703] Code: 88 46 0f 44 0f b6 47 05 44 89 c0 f6 ea 41 c0 f8 07 66 c1 e8 08 89 c1 c0 f9 02 44 29 c1 89 c8 89 cb f6 ea c0 fb 07 41 89 d8 66 e8 08 c0 f8 02 44 29 c0 8d 04 80 01 c0 29 c1 83 c1 30 88 4e 11 [ 40.443592] RSP: 002b:00007fffc3847be8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 40.451296] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043eca8 [ 40.458553] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 40.465820] RBP: 00000000004be568 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 40.473075] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000001 [ 40.480333] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 40.488734] Kernel Offset: disabled [ 40.492420] Rebooting in 86400 seconds..