SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=4383 comm=syz-executor.7 ------------[ cut here ]------------ Trying to write to read-only block-device loop2 (partno 0) WARNING: CPU: 1 PID: 4377 at block/blk-core.c:704 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 1 PID: 4377 at block/blk-core.c:704 submit_bio_checks+0x1577/0x18d0 block/blk-core.c:832 Modules linked in: CPU: 1 PID: 4377 Comm: syz-executor.2 Not tainted 5.10.109 #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 00 68 3a 84 48 89 c6 44 89 e2 e8 28 48 eb 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:ffff88800fbb7170 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff11001f76e34 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff81293d03 RDI: ffffed1001f76e20 RBP: ffff88800e152f00 R08: 0000000000000001 R09: ffff88806cf37b4f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800eee0000 R14: ffff88800e152f10 R15: ffff88800e152f08 FS: 00007f48a211f700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd9ab437218 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 submit_bh fs/buffer.c:3060 [inline] __sync_dirty_buffer+0x16a/0x3f0 fs/buffer.c:3155 fat_mirror_bhs+0x35a/0x500 fs/fat/fatent.c:398 fat_ent_write+0x103/0x1a0 fs/fat/fatent.c:421 fat_chain_add+0x495/0x600 fs/fat/misc.c:130 fat_add_cluster+0xc7/0xf0 fs/fat/inode.c:113 __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x5af/0x930 fs/fat/inode.c:190 __block_write_begin_int+0x3d1/0x1a50 fs/buffer.c:2011 __block_write_begin fs/buffer.c:2061 [inline] block_write_begin fs/buffer.c:2120 [inline] cont_write_begin+0x466/0x970 fs/buffer.c:2469 fat_write_begin+0x89/0x180 fs/fat/inode.c:235 cont_expand_zero fs/buffer.c:2396 [inline] cont_write_begin+0x202/0x970 fs/buffer.c:2459 fat_write_begin+0x89/0x180 fs/fat/inode.c:235 generic_cont_expand_simple+0x106/0x170 fs/buffer.c:2360 fat_cont_expand+0x66/0x230 fs/fat/file.c:222 fat_setattr+0xb09/0xf40 fs/fat/file.c:501 notify_change+0xb9e/0x1080 fs/attr.c:336 do_truncate+0x134/0x1f0 fs/open.c:64 do_sys_ftruncate+0x4e2/0x820 fs/open.c:195 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f48a4ba9b19 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:00007f48a211f188 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f48a4cbcf60 RCX: 00007f48a4ba9b19 RDX: 0000000000000000 RSI: 000000000000ffff RDI: 0000000000000003 RBP: 00007f48a4c03f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3104e8af R14: 00007f48a211f300 R15: 0000000000022000 irq event stamp: 5767 hardirqs last enabled at (5777): [] console_unlock+0x929/0xb30 kernel/printk/printk.c:2559 hardirqs last disabled at (5786): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2474 softirqs last enabled at (5480): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5439): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 4fca52dc16f5d4f8 ]--- attempt to access beyond end of device loop2: rw=2049, want=148, limit=14 attempt to access beyond end of device loop2: rw=1, want=148, limit=14 Buffer I/O error on dev loop2, logical block 147, lost async page write