================================================================== BUG: KCSAN: data-race in fat32_ent_put / fat_mirror_bhs read-write to 0xffff8881248890fc of 4 bytes by task 6035 on cpu 0: fat32_ent_put+0x4e/0x90 fs/fat/fatent.c:194 __fat_alloc_clusters+0x55d/0xd80 fs/fat/fatent.c:542 fat_alloc_chain+0x25/0x30 fs/fat/fatent.c:610 fat_add_clusters fs/fat/inode.c:109 [inline] __fat_get_block fs/fat/inode.c:156 [inline] fat_get_block+0x252/0x5e0 fs/fat/inode.c:191 __block_write_begin_int+0x421/0x1060 fs/buffer.c:2031 block_write_begin fs/buffer.c:2145 [inline] cont_write_begin+0x5bf/0x920 fs/buffer.c:2507 fat_write_begin+0x52/0xe0 fs/fat/inode.c:231 generic_perform_write+0x186/0x490 mm/filemap.c:4392 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4509 generic_file_write_iter+0x77/0x1f0 mm/filemap.c:4535 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x57a/0x990 fs/read_write.c:687 ksys_write+0xdc/0x1a0 fs/read_write.c:739 __do_sys_write fs/read_write.c:750 [inline] __se_sys_write fs/read_write.c:747 [inline] __x64_sys_write+0x40/0x50 fs/read_write.c:747 x64_sys_call+0x154e/0x2550 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888124889000 of 2048 bytes by task 6042 on cpu 1: fat_mirror_bhs+0x1da/0x320 fs/fat/fatent.c:399 __fat_alloc_clusters+0xc5c/0xd80 fs/fat/fatent.c:592 fat_alloc_chain+0x25/0x30 fs/fat/fatent.c:610 fat_add_clusters fs/fat/inode.c:109 [inline] __fat_get_block fs/fat/inode.c:156 [inline] fat_get_block+0x252/0x5e0 fs/fat/inode.c:191 __block_write_begin_int+0x421/0x1060 fs/buffer.c:2031 block_write_begin fs/buffer.c:2145 [inline] cont_write_begin+0x5bf/0x920 fs/buffer.c:2507 fat_write_begin+0x52/0xe0 fs/fat/inode.c:231 generic_perform_write+0x186/0x490 mm/filemap.c:4392 __generic_file_write_iter+0xec/0x120 mm/filemap.c:4506 generic_file_write_iter+0x77/0x1f0 mm/filemap.c:4535 do_iter_readv_writev+0x4f6/0x5a0 fs/read_write.c:-1 vfs_writev+0x2ce/0x8b0 fs/read_write.c:1058 do_pwritev+0x110/0x1d0 fs/read_write.c:1153 __do_sys_pwritev2 fs/read_write.c:1212 [inline] __se_sys_pwritev2 fs/read_write.c:1203 [inline] __x64_sys_pwritev2+0x8f/0xc0 fs/read_write.c:1203 x64_sys_call+0x899/0x2550 arch/x86/include/generated/asm/syscalls_64.h:329 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6042 Comm: syz.6.790 Tainted: G W syzkaller #0 PREEMPT(lazy) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 ================================================================== bio_check_eod: 769 callbacks suppressed syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=1472, nr_sectors = 400 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=1936, nr_sectors = 160 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2128, nr_sectors = 32 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2192, nr_sectors = 32 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2256, nr_sectors = 32 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2352, nr_sectors = 32 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2512, nr_sectors = 32 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2576, nr_sectors = 32 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2736, nr_sectors = 32 limit=512 syz.6.790: attempt to access beyond end of device loop6: rw=2049, sector=2800, nr_sectors = 32 limit=512