sr 1:0:0:0: [sr0] tag#0 unaligned transfer blk_update_request: I/O error, dev sr0, sector 8 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 ------------[ cut here ]------------ Trying to write to read-only block-device sr0 (partno 0) WARNING: CPU: 1 PID: 4374 at block/blk-core.c:704 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 1 PID: 4374 at block/blk-core.c:704 submit_bio_checks+0x1577/0x18d0 block/blk-core.c:832 Modules linked in: CPU: 1 PID: 4374 Comm: syz-executor.7 Not tainted 5.10.123 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:bio_check_ro block/blk-core.c:704 [inline] RIP: 0010:submit_bio_checks+0x1577/0x18d0 block/blk-core.c:832 Code: 03 00 00 45 8b a4 24 a4 05 00 00 48 89 ef 48 8d 74 24 50 e8 7b 32 fe ff 48 c7 c7 60 73 3a 84 48 89 c6 44 89 e2 e8 5f fe ea 01 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 80 3c 02 RSP: 0018:ffff8880182a7510 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff11003054ea8 RCX: 0000000000000000 RDX: ffff88804518b300 RSI: ffffffff812929e3 RDI: ffffed1003054e94 RBP: ffff888016cd9a00 R08: 0000000000000001 R09: ffff88806cf37b4f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800ee45470 R14: ffff888016cd9a10 R15: ffff888016cd9a08 FS: 0000555555a44400(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556a41c58 CR3: 000000004511c000 CR4: 0000000000350ee0 Call Trace: submit_bio_noacct+0x7a/0xce0 block/blk-core.c:1042 submit_bio+0xf3/0x4e0 block/blk-core.c:1127 submit_bh_wbc.constprop.0+0x580/0x770 fs/buffer.c:3054 __block_write_full_page+0x7d3/0x1050 fs/buffer.c:1810 block_write_full_page+0x21c/0x290 fs/buffer.c:2980 __writepage+0x67/0x180 mm/page-writeback.c:2311 write_cache_pages+0x57f/0xef0 mm/page-writeback.c:2246 generic_writepages mm/page-writeback.c:2337 [inline] generic_writepages+0xe2/0x150 mm/page-writeback.c:2326 do_writepages+0xee/0x290 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x247/0x2f0 mm/filemap.c:422 filemap_write_and_wait_range mm/filemap.c:655 [inline] filemap_write_and_wait_range+0x65/0x100 mm/filemap.c:649 filemap_write_and_wait include/linux/fs.h:2651 [inline] __sync_blockdev fs/block_dev.c:530 [inline] sync_blockdev fs/block_dev.c:539 [inline] __blkdev_put+0x69c/0x890 fs/block_dev.c:1791 blkdev_close+0x8c/0xb0 fs/block_dev.c:1875 __fput+0x285/0x980 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x155/0x160 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x230 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f6e0d15b72b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffebb4ac2d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f6e0d15b72b RDX: 00007f6e0d2c3078 RSI: ffffffff83dd0d9a RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2ce23704 R10: 00000000000003f7 R11: 0000000000000293 R12: 00000000000348b9 R13: 00000000000003e8 R14: 00007f6e0d2bbf60 R15: 000000000003484e irq event stamp: 3179 hardirqs last enabled at (3189): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (3198): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2476 softirqs last enabled at (3084): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (3079): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace aa77cc088368394e ]--- device lo left promiscuous mode device lo entered promiscuous mode sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE cmd_age=0s sr 1:0:0:0: [sr0] tag#0 Sense Key : Illegal Request [current] sr 1:0:0:0: [sr0] tag#0 Add. Sense: Invalid command operation code sr 1:0:0:0: [sr0] tag#0 CDB: Write(10) 2a 00 00 00 00 00 00 00 02 00 blk_update_request: critical target error, dev sr0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 8 prio class 0 Buffer I/O error on dev sr0, logical block 0, lost async page write Buffer I/O error on dev sr0, logical block 1, lost async page write Buffer I/O error on dev sr0, logical block 2, lost async page write Buffer I/O error on dev sr0, logical block 3, lost async page write Buffer I/O error on dev sr0, logical block 4, lost async page write Buffer I/O error on dev sr0, logical block 5, lost async page write Buffer I/O error on dev sr0, logical block 6, lost async page write Buffer I/O error on dev sr0, logical block 7, lost async page write device lo left promiscuous mode EXT4-fs (loop3): Unrecognized mount option "euid<18446744073709551615" or missing value Process accounting resumed audit: type=1400 audit(1657205199.941:11): avc: denied { write } for pid=4378 comm="syz-executor.2" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 Process accounting resumed