------------[ cut here ]------------ kernel BUG at fs/buffer.c:553! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 25153 Comm: syz-executor.4 Not tainted 4.19.74 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_buffer_dirty_inode fs/buffer.c:553 [inline] RIP: 0010:mark_buffer_dirty_inode+0x30f/0x410 fs/buffer.c:544 Code: 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 6b 41 3b 05 e9 ee fd ff ff e8 71 7b b2 ff <0f> 0b 4c 89 ff e8 e7 0e e9 ff e9 d3 fd ff ff e8 dd 0e e9 ff e9 5b RSP: 0018:ffff888058f375c0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880948cc3f0 RCX: ffffc9000eab5000 RDX: 0000000000040000 RSI: ffffffff81b8e71f RDI: ffff888094a92ee0 RBP: ffff888058f37600 R08: ffff888058e201c0 R09: ffffed1015d04733 R10: ffffed1015d04732 R11: ffff8880ae823993 R12: ffff888094a92d80 R13: 0000000000000000 R14: ffff8880a6d2c458 R15: ffff8880578bcf40 FS: 00007fd8063e5700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc9ae98b330 CR3: 00000000a8f19000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fat16_ent_put+0xd2/0x110 fs/fat/fatent.c:182 fat_free_clusters+0x3de/0x990 fs/fat/fatent.c:594 fat_free fs/fat/file.c:384 [inline] fat_truncate_blocks+0x763/0xc10 fs/fat/file.c:402 fat_setattr+0x806/0xc80 fs/fat/file.c:546 notify_change+0xad7/0xfb0 fs/attr.c:334 do_truncate+0x158/0x220 fs/open.c:63 kobject: 'loop3' (0000000066d9df93): kobject_uevent_env handle_truncate fs/namei.c:3008 [inline] do_last fs/namei.c:3424 [inline] path_openat+0x2c27/0x45e0 fs/namei.c:3534 kobject: 'loop3' (0000000066d9df93): fill_kobj_path: path = '/devices/virtual/block/loop3' do_filp_open+0x1a1/0x280 fs/namei.c:3564 do_sys_open+0x3fe/0x550 fs/open.c:1088 ksys_open include/linux/syscalls.h:1276 [inline] __do_sys_creat fs/open.c:1146 [inline] __se_sys_creat fs/open.c:1144 [inline] __x64_sys_creat+0x61/0x80 fs/open.c:1144 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a09 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd8063e4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 kobject: 'loop1' (0000000093be79d4): kobject_uevent_env RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459a09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd8063e56d4 R13: 00000000004c0055 R14: 00000000004d2078 R15: 00000000ffffffff Modules linked in: kobject: 'loop1' (0000000093be79d4): fill_kobj_path: path = '/devices/virtual/block/loop1' ---[ end trace 6a32aa4c6d42cae4 ]--- RIP: 0010:mark_buffer_dirty_inode fs/buffer.c:553 [inline] RIP: 0010:mark_buffer_dirty_inode+0x30f/0x410 fs/buffer.c:544 Code: 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 6b 41 3b 05 e9 ee fd ff ff e8 71 7b b2 ff <0f> 0b 4c 89 ff e8 e7 0e e9 ff e9 d3 fd ff ff e8 dd 0e e9 ff e9 5b RSP: 0018:ffff888058f375c0 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880948cc3f0 RCX: ffffc9000eab5000 RDX: 0000000000040000 RSI: ffffffff81b8e71f RDI: ffff888094a92ee0 RBP: ffff888058f37600 R08: ffff888058e201c0 R09: ffffed1015d04733 R10: ffffed1015d04732 R11: ffff8880ae823993 R12: ffff888094a92d80 R13: 0000000000000000 R14: ffff8880a6d2c458 R15: ffff8880578bcf40 FS: 00007fd8063e5700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc9ae98b330 CR3: 00000000a8f19000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400