FAT-fs (loop1): Directory bread(block 71) failed FAT-fs (loop1): Directory bread(block 72) failed FAT-fs (loop1): Directory bread(block 73) failed audit: type=1800 audit(4294967354.181:59): pid=21385 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file2" dev="loop1" ino=3 res=0 ------------[ cut here ]------------ kernel BUG at fs/fat/inode.c:161! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 21385 Comm: syz-executor.1 Not tainted 4.14.301-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff8880487946c0 task.stack: ffff88808b270000 RIP: 0010:__fat_get_block fs/fat/inode.c:161 [inline] RIP: 0010:fat_get_block+0x647/0x750 fs/fat/inode.c:176 RSP: 0018:ffff88808b277778 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff888040ecce70 RCX: ffffc900079f5000 RDX: 00000000000002e9 RSI: ffffffff81d000a7 RDI: ffff88801b9fbae8 RBP: ffff88801b9fbba0 R08: ffff88808b277810 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880487946c0 R12: ffff88809c692ac0 R13: 0000000000000000 R14: 000000000000000b R15: 0000000000000001 FS: 00007f8dd34aa700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f96cda1f010 CR3: 000000009c65d000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __block_write_begin_int+0x35c/0x11d0 fs/buffer.c:2038 __block_write_begin fs/buffer.c:2088 [inline] block_write_begin+0x58/0x270 fs/buffer.c:2147 cont_write_begin+0x4a3/0x740 fs/buffer.c:2497 fat_write_begin+0x89/0x170 fs/fat/inode.c:222 cont_expand_zero fs/buffer.c:2424 [inline] cont_write_begin+0x296/0x740 fs/buffer.c:2487 fat_write_begin+0x89/0x170 fs/fat/inode.c:222 generic_cont_expand_simple+0xe1/0x130 fs/buffer.c:2388 fat_cont_expand+0x71/0x280 fs/fat/file.c:198 fat_setattr+0x8b8/0xbe0 fs/fat/file.c:477 notify_change+0x56b/0xd10 fs/attr.c:315 do_truncate+0xff/0x1a0 fs/open.c:63 do_sys_ftruncate.constprop.0+0x3a3/0x480 fs/open.c:205 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f8dd4f380d9 RSP: 002b:00007f8dd34aa168 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f8dd5057f80 RCX: 00007f8dd4f380d9 RDX: 0000000000000000 RSI: 0000000000008000 RDI: 0000000000000004 RBP: 00007f8dd4f93ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd91c615f R14: 00007f8dd34aa300 R15: 0000000000022000 Code: 1a af ff e9 bd fa ff ff 48 8b 7c 24 20 e8 d2 19 af ff e9 f4 fb ff ff 48 8b 7c 24 38 e8 d3 18 af ff e9 52 fe ff ff e8 99 59 85 ff <0f> 0b e8 92 59 85 ff 0f 0b e8 8b 1a af ff e9 b1 fa ff ff 48 8b RIP: __fat_get_block fs/fat/inode.c:161 [inline] RSP: ffff88808b277778 RIP: fat_get_block+0x647/0x750 fs/fat/inode.c:176 RSP: ffff88808b277778 ---[ end trace 693efb7084db6c00 ]---