------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 0 PID: 15350 at block/blk-core.c:586 bio_check_ro block/blk-core.c:584 [inline] WARNING: CPU: 0 PID: 15350 at block/blk-core.c:586 submit_bio_checks+0x11d9/0x1780 block/blk-core.c:697 Modules linked in: CPU: 0 PID: 15350 Comm: syz-executor.4 Not tainted 5.17.0-rc6-syzkaller-00046-g719fce7539cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bio_check_ro block/blk-core.c:584 [inline] RIP: 0010:submit_bio_checks+0x11d9/0x1780 block/blk-core.c:697 Code: 03 48 b9 00 00 00 00 00 fc ff df 8a 04 08 84 c0 0f 85 96 05 00 00 0f b6 13 48 c7 c7 60 08 d4 8a 4c 89 ee 31 c0 e8 27 14 4c fd <0f> 0b 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 30 e9 50 f3 ff ff RSP: 0018:ffffc90004f5efa0 EFLAGS: 00010246 RAX: 4f5e3981cd7e4c00 RBX: ffff888017b0d5d0 RCX: 0000000000040000 RDX: ffffc9000a852000 RSI: 0000000000004057 RDI: 0000000000004058 RBP: ffffc90004f5f0d0 R08: ffffffff816aea02 R09: ffffed10173467f9 R10: ffffed10173467f9 R11: 0000000000000000 R12: 1ffff11003ede0a1 R13: ffffc90004f5f040 R14: ffff88801f6f0500 R15: ffff88801f6f0508 FS: 00007fddb52ab700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f84fcfd7300 CR3: 0000000023254000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __submit_bio+0xad/0x2f0 block/blk-core.c:796 __submit_bio_noacct_mq block/blk-core.c:875 [inline] submit_bio_noacct+0x844/0x9e0 block/blk-core.c:901 submit_bio+0x2d2/0x520 block/blk-core.c:962 __block_write_full_page+0x8fb/0x1090 fs/buffer.c:1809 __writepage+0x60/0x120 mm/page-writeback.c:2320 write_cache_pages+0x8aa/0xe30 mm/page-writeback.c:2255 generic_writepages+0xfb/0x160 mm/page-writeback.c:2346 do_writepages+0x3c3/0x690 mm/page-writeback.c:2364 filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:384 __filemap_fdatawrite_range mm/filemap.c:417 [inline] filemap_write_and_wait_range+0x1b4/0x2a0 mm/filemap.c:669 bdev_disk_changed+0x1c8/0x1400 block/partitions/core.c:674 blkdev_get_whole+0x32f/0x3d0 block/bdev.c:679 blkdev_get_by_dev+0x389/0xd70 block/bdev.c:813 disk_scan_partitions+0xe6/0x190 block/genhd.c:387 blkdev_common_ioctl+0x13c1/0x1e00 block/ioctl.c:504 blkdev_ioctl+0x2f8/0x790 block/ioctl.c:582 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fddb6957049 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fddb52ab168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fddb6a6a030 RCX: 00007fddb6957049 RDX: 0000000000000000 RSI: 000000000000125f RDI: 0000000000000005 RBP: 00007fddb69b108d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8d90f50f R14: 00007fddb52ab300 R15: 0000000000022000