syzkaller login: [ 74.480721][ T23] audit: type=1400 audit(1574970113.741:41): avc: denied { map } for pid=9839 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.1.34' (ECDSA) to the list of known hosts. executing program [ 81.028186][ T23] audit: type=1400 audit(1574970120.291:42): avc: denied { map } for pid=9851 comm="syz-executor390" path="/root/syz-executor390852026" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 81.113973][ T23] audit: type=1804 audit(1574970120.381:43): pid=9851 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor390" name="/root/file0" dev="sda1" ino=16485 res=1 [ 81.142953][ T9851] ------------[ cut here ]------------ [ 81.148755][ T9851] generic_make_request: Trying to write to read-only block-device loop0 (partno 0) [ 81.158473][ T9851] WARNING: CPU: 0 PID: 9851 at block/blk-core.c:800 generic_make_request_checks+0x1c78/0x2190 [ 81.169527][ T9851] Kernel panic - not syncing: panic_on_warn set ... [ 81.176114][ T9851] CPU: 0 PID: 9851 Comm: syz-executor390 Not tainted 5.4.0-syzkaller #0 [ 81.184558][ T9851] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 81.194602][ T9851] Call Trace: [ 81.198009][ T9851] dump_stack+0x197/0x210 [ 81.202363][ T9851] ? generic_make_request_checks+0x1c60/0x2190 [ 81.208508][ T9851] panic+0x2e3/0x75c [ 81.212387][ T9851] ? add_taint.cold+0x16/0x16 [ 81.217052][ T9851] ? __kasan_check_write+0x14/0x20 [ 81.222143][ T9851] ? __warn.cold+0x14/0x3e [ 81.226537][ T9851] ? __warn+0xd9/0x1cf [ 81.230604][ T9851] ? generic_make_request_checks+0x1c78/0x2190 [ 81.236883][ T9851] __warn.cold+0x2f/0x3e [ 81.241121][ T9851] ? generic_make_request_checks+0x1c78/0x2190 [ 81.247258][ T9851] report_bug+0x289/0x300 [ 81.251573][ T9851] do_error_trap+0x11b/0x200 [ 81.256255][ T9851] do_invalid_op+0x37/0x50 [ 81.260797][ T9851] ? generic_make_request_checks+0x1c78/0x2190 [ 81.266978][ T9851] invalid_op+0x23/0x30 [ 81.271127][ T9851] RIP: 0010:generic_make_request_checks+0x1c78/0x2190 [ 81.277891][ T9851] Code: 00 00 44 8b ab 5c 05 00 00 48 8d b5 78 ff ff ff 4c 89 ff e8 5a 94 05 00 48 c7 c7 c0 47 05 88 48 89 c6 44 89 ea e8 a7 e4 0e fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 [ 81.297489][ T9851] RSP: 0018:ffff88809fcc71c0 EFLAGS: 00010286 [ 81.303543][ T9851] RAX: 0000000000000000 RBX: ffff8880a34e6000 RCX: 0000000000000000 [ 81.311508][ T9851] RDX: 0000000000000000 RSI: ffffffff815dc196 RDI: ffffed1013f98e2a [ 81.319587][ T9851] RBP: ffff88809fcc72c0 R08: ffff8880980a2300 R09: fffffbfff1532e1e [ 81.327874][ T9851] R10: fffffbfff1532e1d R11: ffffffff8a9970ef R12: ffff8880a1540f08 [ 81.336052][ T9851] R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a1540f00 [ 81.344373][ T9851] ? vprintk_func+0x86/0x189 [ 81.348986][ T9851] ? trace_event_raw_event_block_rq_requeue+0x640/0x640 [ 81.355918][ T9851] ? __kasan_check_read+0x11/0x20 [ 81.360929][ T9851] ? __lock_acquire+0x8a0/0x4a00 [ 81.365849][ T9851] ? __kasan_check_read+0x11/0x20 [ 81.370876][ T9851] generic_make_request+0x8f/0xb50 [ 81.376012][ T9851] ? blk_queue_enter+0xe30/0xe30 [ 81.380941][ T9851] ? lock_downgrade+0x920/0x920 [ 81.385815][ T9851] submit_bio+0x113/0x600 [ 81.390149][ T9851] ? submit_bio+0x113/0x600 [ 81.394650][ T9851] ? generic_make_request+0xb50/0xb50 [ 81.400013][ T9851] ? bio_associate_blkg_from_css+0x4fd/0x980 [ 81.405983][ T9851] ? bio_reset+0x3a0/0x3a0 [ 81.410392][ T9851] ? __sanitizer_cov_trace_cmp8+0x18/0x20 [ 81.416097][ T9851] ? guard_bio_eod+0x28f/0x6c0 [ 81.420861][ T9851] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 81.426652][ T9851] submit_bh_wbc+0x6b6/0x900 [ 81.431259][ T9851] __block_write_full_page+0x7fe/0x11b0 [ 81.436804][ T9851] ? bdev_evict_inode+0x5c0/0x5c0 [ 81.441831][ T9851] ? __getblk_gfp+0xa10/0xa10 [ 81.446498][ T9851] block_write_full_page+0x21f/0x270 [ 81.451769][ T9851] ? bdev_evict_inode+0x5c0/0x5c0 [ 81.456779][ T9851] blkdev_writepage+0x25/0x30 [ 81.461436][ T9851] __writepage+0x66/0x110 [ 81.465893][ T9851] write_cache_pages+0x80c/0x13f0 [ 81.470921][ T9851] ? tag_pages_for_writeback+0x4b0/0x4b0 [ 81.476881][ T9851] ? clear_page_dirty_for_io+0xde0/0xde0 [ 81.482638][ T9851] ? rwsem_down_write_slowpath+0xbdf/0xf80 [ 81.488441][ T9851] ? lock_downgrade+0x920/0x920 [ 81.493282][ T9851] generic_writepages+0xed/0x160 [ 81.498199][ T9851] ? write_cache_pages+0x13f0/0x13f0 [ 81.503483][ T9851] ? wbc_attach_and_unlock_inode+0x515/0xa00 [ 81.509582][ T9851] ? find_held_lock+0x35/0x130 [ 81.514340][ T9851] ? blkdev_readpages+0x40/0x40 [ 81.519191][ T9851] blkdev_writepages+0x1e/0x30 [ 81.523960][ T9851] do_writepages+0xfa/0x2a0 [ 81.528456][ T9851] ? page_writeback_cpu_online+0x20/0x20 [ 81.534152][ T9851] ? do_raw_spin_unlock+0x178/0x270 [ 81.539337][ T9851] ? _raw_spin_unlock+0x28/0x40 [ 81.544198][ T9851] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 81.550425][ T9851] ? wbc_attach_and_unlock_inode+0x637/0xa00 [ 81.556391][ T9851] __filemap_fdatawrite_range+0x2bc/0x3b0 [ 81.562234][ T9851] ? delete_from_page_cache_batch+0xfe0/0xfe0 [ 81.568330][ T9851] ? lock_downgrade+0x920/0x920 [ 81.576128][ T9851] filemap_write_and_wait+0xf8/0x1e0 [ 81.581402][ T9851] __blkdev_put+0x204/0x810 [ 81.585891][ T9851] ? bd_set_size+0xb0/0xb0 [ 81.590288][ T9851] ? wait_for_completion+0x440/0x440 [ 81.595557][ T9851] blkdev_put+0x98/0x560 [ 81.599789][ T9851] blkdev_close+0x8b/0xb0 [ 81.604102][ T9851] __fput+0x2ff/0x890 [ 81.608065][ T9851] ? blkdev_put+0x560/0x560 [ 81.612548][ T9851] ____fput+0x16/0x20 [ 81.616509][ T9851] task_work_run+0x145/0x1c0 [ 81.621082][ T9851] do_exit+0x8e7/0x2e00 [ 81.625217][ T9851] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 81.631464][ T9851] ? mm_update_next_owner+0x7c0/0x7c0 [ 81.636850][ T9851] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 81.642869][ T9851] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 81.648493][ T9851] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 81.653959][ T9851] do_group_exit+0x135/0x360 [ 81.658540][ T9851] __x64_sys_exit_group+0x44/0x50 [ 81.663550][ T9851] do_syscall_64+0xfa/0x790 [ 81.668052][ T9851] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 81.673933][ T9851] RIP: 0033:0x442c38 [ 81.677821][ T9851] Code: Bad RIP value. [ 81.681985][ T9851] RSP: 002b:00007ffd41e58758 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 81.690544][ T9851] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442c38 [ 81.698509][ T9851] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 81.706466][ T9851] RBP: 00000000004c2548 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 81.714415][ T9851] R10: 00000000004002e0 R11: 0000000000000246 R12: 0000000000000001 [ 81.722365][ T9851] R13: 00000000006d41a0 R14: 0000000000000000 R15: 0000000000000000 [ 81.731780][ T9851] Kernel Offset: disabled [ 81.736185][ T9851] Rebooting in 86400 seconds..