ksys_write+0x12b/0x2a0 fs/read_write.c:599 generic_make_request: Trying to write to read-only block-device sda (partno 0) WARNING: CPU: 1 PID: 11356 at block/blk-core.c:2182 bio_check_ro block/blk-core.c:2182 [inline] WARNING: CPU: 1 PID: 11356 at block/blk-core.c:2182 generic_make_request_checks+0x17d9/0x22e0 block/blk-core.c:2287 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 Kernel panic - not syncing: panic_on_warn set ... entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x418cef Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007fe582969150 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000418cef RDX: 0000000000000022 RSI: 00000000200000c0 RDI: 00000000000000f0 RBP: 00007fe5829691d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffc18be042f R14: 00007fe582969300 R15: 0000000000022000 CPU: 1 PID: 11356 Comm: syz-executor.3 Not tainted 4.19.172-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/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x5a 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:2182 [inline] RIP: 0010:generic_make_request_checks+0x17d9/0x22e0 block/blk-core.c:2287 Code: ca 0a 00 00 45 8b b6 e4 04 00 00 48 8d 74 24 68 48 89 ef e8 a9 13 06 00 48 c7 c7 c0 05 b2 88 48 89 c6 44 89 f2 e8 ec 05 90 04 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 RSP: 0018:ffff88805b226f60 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8880ae24a000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff814de0d1 RDI: ffffed100b644dde RBP: ffff88805654bb40 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88805654bb70 R13: ffff88805654bb48 R14: 0000000000000000 R15: 0000000000000000 generic_make_request+0x23f/0xdf0 block/blk-core.c:2411 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 blk_queue_split+0x83e/0x1700 block/blk-merge.c:226 blk_mq_make_request+0x15d/0x1c00 block/blk-mq.c:1850 generic_make_request+0x613/0xdf0 block/blk-core.c:2466 submit_bio+0xb1/0x430 block/blk-core.c:2575 dio_bio_submit fs/direct-io.c:481 [inline] dio_send_cur_page fs/direct-io.c:825 [inline] submit_page_section fs/direct-io.c:882 [inline] do_direct_IO fs/direct-io.c:1096 [inline] do_blockdev_direct_IO fs/direct-io.c:1332 [inline] __blockdev_direct_IO+0x81e7/0xeef0 fs/direct-io.c:1418 ext4_direct_IO_write fs/ext4/inode.c:3778 [inline] ext4_direct_IO+0xae4/0x1c50 fs/ext4/inode.c:3916 generic_file_direct_write+0x208/0x4a0 mm/filemap.c:3073 __generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] aio_write+0x37f/0x5c0 fs/aio.c:1574 __io_submit_one fs/aio.c:1858 [inline] io_submit_one+0xecd/0x20c0 fs/aio.c:1909 __do_sys_io_submit fs/aio.c:1953 [inline] __se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465b09 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f69d0286188 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000020000540 RSI: 0000000000001800 RDI: 00007f69d0223000 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffcbe52af8f R14: 00007f69d0286300 R15: 0000000000022000 CPU: 0 PID: 11393 Comm: syz-executor.5 Not tainted 4.19.172-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/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557 __sigqueue_alloc+0x246/0x4c0 kernel/signal.c:429 __send_signal+0xef5/0x15c0 kernel/signal.c:1130 do_send_sig_info kernel/signal.c:1268 [inline] send_sig_info kernel/signal.c:1550 [inline] send_sig+0xcb/0x160 kernel/signal.c:1559 sctp_error net/sctp/socket.c:1598 [inline] sctp_sendmsg+0x1207/0x1580 net/sctp/socket.c:2142 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:632 sock_write_iter+0x287/0x3c0 net/socket.c:901 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_writev+0x153/0x2e0 fs/read_write.c:1005 do_writev+0x136/0x330 fs/read_write.c:1040 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x465b09 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd287be4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465b09 RDX: 0000000000000001 RSI: 0000000020000300 RDI: 0000000000000003 RBP: 00007fd287be41d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc47d0cb8f R14: 00007fd287be4300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..