------------[ cut here ]------------ kernel BUG at fs/buffer.c:555! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 14394 Comm: syz-executor.2 Not tainted 5.4.249-syzkaller-00009-gfed9191809bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:mark_buffer_dirty_inode+0x2f6/0x300 fs/buffer.c:555 Code: e8 ef f7 ea ff 48 8b 44 24 10 49 89 06 48 8b 7c 24 18 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ef 3e a7 02 e8 0a 37 bb ff <0f> 0b 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 49 89 RSP: 0018:ffff8881e46272c0 EFLAGS: 00010246 RAX: ffffffff81a8ff06 RBX: ffff8881a98eaae8 RCX: 0000000000040000 RDX: ffffc90002f55000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff1103531d55d R08: ffffffff818631f6 R09: fffff94000e786a9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e9ac5dc8 R14: ffff8881a98eaa48 R15: 0000000000000000 FS: 00007efc7e3286c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 00000001e6022000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fat_mirror_bhs+0x392/0x4e0 fs/fat/fatent.c:397 fat_chain_add+0x23f/0x900 fs/fat/misc.c:130 fat_add_cluster fs/fat/inode.c:112 [inline] __fat_get_block fs/fat/inode.c:154 [inline] fat_get_block+0x818/0xbd0 fs/fat/inode.c:189 __block_write_begin_int+0x5bc/0x1630 fs/buffer.c:1980 __block_write_begin fs/buffer.c:2030 [inline] block_write_begin fs/buffer.c:2089 [inline] cont_write_begin+0x64c/0x950 fs/buffer.c:2438 fat_write_begin+0x9f/0x170 fs/fat/inode.c:235 cont_expand_zero fs/buffer.c:2365 [inline] cont_write_begin+0x24d/0x950 fs/buffer.c:2428 fat_write_begin+0x9f/0x170 fs/fat/inode.c:235 generic_cont_expand_simple+0x144/0x230 fs/buffer.c:2329 fat_cont_expand+0x60/0x1d0 fs/fat/file.c:233 fat_setattr+0x30f/0xcf0 fs/fat/file.c:512 notify_change+0xbb2/0xe50 fs/attr.c:338 do_truncate+0x1ed/0x2d0 fs/open.c:64 do_sys_ftruncate+0x328/0x4f0 fs/open.c:195 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Modules linked in: ---[ end trace ff90923835e9dcdb ]--- RIP: 0010:mark_buffer_dirty_inode+0x2f6/0x300 fs/buffer.c:555 Code: e8 ef f7 ea ff 48 8b 44 24 10 49 89 06 48 8b 7c 24 18 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ef 3e a7 02 e8 0a 37 bb ff <0f> 0b 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 49 89 RSP: 0018:ffff8881e46272c0 EFLAGS: 00010246 RAX: ffffffff81a8ff06 RBX: ffff8881a98eaae8 RCX: 0000000000040000 RDX: ffffc90002f55000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff1103531d55d R08: ffffffff818631f6 R09: fffff94000e786a9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881e9ac5dc8 R14: ffff8881a98eaa48 R15: 0000000000000000 FS: 00007efc7e3286c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555565b7b38 CR3: 00000001e6022000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400