FAT-fs (loop5): Filesystem has been set read-only ------------[ cut here ]------------ kernel BUG at fs/buffer.c:605! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 15720 Comm: syz-executor.2 Not tainted 4.14.114 #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880629b8080 task.stack: ffff888047f48000 RIP: 0010:mark_buffer_dirty_inode fs/buffer.c:605 [inline] RIP: 0010:mark_buffer_dirty_inode+0x2ea/0x3e0 fs/buffer.c:596 RSP: 0018:ffff888047f4f678 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880955a1540 RCX: ffffc90006036000 RDX: 0000000000040000 RSI: ffffffff8199673a RDI: ffff8880955b5ef8 RBP: ffff888047f4f6b0 R08: ffff8880629b8080 R09: 0000000000000004 R10: 0000000000000000 R11: ffff8880629b8080 R12: ffff8880955b5d98 R13: 0000000000000000 R14: ffff8880a77d3a60 R15: 000000000000296b FS: 00007fc228a0a700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14d1f7fdb8 CR3: 0000000094ed4000 CR4: 00000000001406e0 Call Trace: fat16_ent_put+0xc5/0x100 fs/fat/fatent.c:181 fat_free_clusters+0x36f/0x810 fs/fat/fatent.c:593 fat_free fs/fat/file.c:346 [inline] fat_truncate_blocks+0x693/0xae0 fs/fat/file.c:364 fat_setattr+0x6c1/0xae0 fs/fat/file.c:508 notify_change+0x8d4/0xd10 fs/attr.c:313 do_truncate+0x124/0x1c0 fs/open.c:63 handle_truncate fs/namei.c:3009 [inline] do_last fs/namei.c:3434 [inline] path_openat+0x2788/0x3f70 fs/namei.c:3566 do_filp_open+0x18e/0x250 fs/namei.c:3600 do_sys_open+0x2c5/0x430 fs/open.c:1065 SYSC_open fs/open.c:1083 [inline] SyS_open fs/open.c:1078 [inline] SYSC_creat fs/open.c:1123 [inline] SyS_creat+0x27/0x30 fs/open.c:1121 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x458da9 RSP: 002b:00007fc228a09c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000458da9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc228a0a6d4 R13: 00000000004bf304 R14: 00000000004d0488 R15: 00000000ffffffff Code: fa 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 4d 4c 89 63 58 4c 89 ef e8 10 a8 81 04 e9 13 fe ff ff e8 76 81 c3 ff <0f> 0b 4c 89 ff e8 dc 26 ed ff e9 f8 fd ff ff e8 d2 26 ed ff e9 RIP: mark_buffer_dirty_inode fs/buffer.c:605 [inline] RSP: ffff888047f4f678 RIP: mark_buffer_dirty_inode+0x2ea/0x3e0 fs/buffer.c:596 RSP: ffff888047f4f678 ---[ end trace 78a23c2502436bfc ]--- kobject: 'loop4' (ffff8880a4a86ae0): kobject_uevent_env kobject: 'loop4' (ffff8880a4a86ae0): fill_kobj_path: path = '/devices/virtual/block/loop4'