audit: type=1400 audit(1597410135.144:8): avc:  denied  { execmem } for  pid=6463 comm="syz-executor941" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
------------[ cut here ]------------
generic_make_request: Trying to write to read-only block-device loop0 (partno 0)
WARNING: CPU: 1 PID: 6467 at block/blk-core.c:2180 bio_check_ro block/blk-core.c:2180 [inline]
WARNING: CPU: 1 PID: 6467 at block/blk-core.c:2180 generic_make_request_checks+0x17d9/0x22e0 block/blk-core.c:2285
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 6467 Comm: syz-executor941 Not tainted 4.19.139-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x61 kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:bio_check_ro block/blk-core.c:2180 [inline]
RIP: 0010:generic_make_request_checks+0x17d9/0x22e0 block/blk-core.c:2285
Code: ca 0a 00 00 45 8b b6 e4 04 00 00 48 8d 74 24 68 48 89 ef e8 99 41 06 00 48 c7 c7 00 56 c9 87 48 89 c6 44 89 f2 e8 62 66 f3 fd <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02
RSP: 0018:ffff88808ba2f0a8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880a3ff3000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8154cf41 RDI: ffffed1011745e07
RBP: ffff88809e43d640 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809e43d670
R13: ffff88809e43d648 R14: 0000000000000000 R15: 0000000000000000
 generic_make_request+0x23f/0xdf0 block/blk-core.c:2409
 submit_bio+0xb1/0x430 block/blk-core.c:2573
 submit_bh_wbc+0x5a7/0x760 fs/buffer.c:3106
 __block_write_full_page+0x71a/0xf60 fs/buffer.c:1777
 block_write_full_page+0x202/0x270 fs/buffer.c:2967
 __writepage+0x5e/0xe0 mm/page-writeback.c:2305
 write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
 generic_writepages mm/page-writeback.c:2329 [inline]
 generic_writepages+0xdb/0x150 mm/page-writeback.c:2318
 do_writepages+0xe5/0x290 mm/page-writeback.c:2344
 __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
 __filemap_fdatawrite mm/filemap.c:454 [inline]
 filemap_fdatawrite mm/filemap.c:459 [inline]
 filemap_write_and_wait mm/filemap.c:640 [inline]
 filemap_write_and_wait+0x42/0xd0 mm/filemap.c:635
 __sync_blockdev fs/block_dev.c:463 [inline]
 sync_blockdev fs/block_dev.c:472 [inline]
 __blkdev_put+0x1bb/0x7b0 fs/block_dev.c:1802
 blkdev_close+0x86/0xb0 fs/block_dev.c:1878
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbb2/0x2b70 kernel/exit.c:887
 do_group_exit+0x125/0x310 kernel/exit.c:990
 get_signal+0x3f2/0x1f70 kernel/signal.c:2588
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:821
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x449dd9
Code: Bad RIP value.
RSP: 002b:00007f597200bcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00000000006dbc58 RCX: 0000000000449dd9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00000000006dbc5c
RBP: 00000000006dbc50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000246 R12: 00000000006dbc5c
R13: 00007ffd0df5168f R14: 00007f597200c9c0 R15: 20c49ba5e353f7cf
Kernel Offset: disabled
Rebooting in 86400 seconds..