================================================================== BUG: KCSAN: data-race in mark_buffer_dirty_inode / mark_buffer_dirty_inode write to 0xffff88811b785670 of 8 bytes by task 13031 on cpu 0: mark_buffer_dirty_inode+0x18c/0x1c0 fs/buffer.c:693 fat16_ent_put+0x4e/0x60 fs/fat/fatent.c:184 fat_alloc_clusters+0x4d1/0xa80 fs/fat/fatent.c:503 fat_add_cluster fs/fat/inode.c:108 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x258/0x5e0 fs/fat/inode.c:190 __block_write_begin_int+0x400/0xf90 fs/buffer.c:2145 block_write_begin fs/buffer.c:2256 [inline] cont_write_begin+0x5ff/0x970 fs/buffer.c:2594 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 generic_perform_write+0x184/0x490 mm/filemap.c:4314 __generic_file_write_iter+0x9e/0x120 mm/filemap.c:4431 generic_file_write_iter+0x8d/0x2f0 mm/filemap.c:4457 __kernel_write_iter+0x2d6/0x540 fs/read_write.c:619 dump_emit_page fs/coredump.c:1298 [inline] dump_user_range+0x61e/0x8f0 fs/coredump.c:1372 elf_core_dump+0x1de7/0x1f80 fs/binfmt_elf.c:2111 coredump_write+0xacf/0xdf0 fs/coredump.c:1049 do_coredump fs/coredump.c:1126 [inline] vfs_coredump+0x24f7/0x2e60 fs/coredump.c:1200 get_signal+0xd84/0xf70 kernel/signal.c:3019 arch_do_signal_or_restart+0x96/0x450 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:41 [inline] exit_to_user_mode_loop kernel/entry/common.c:75 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:270 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:339 [inline] irqentry_exit+0xfb/0x560 kernel/entry/common.c:196 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 read to 0xffff88811b785670 of 8 bytes by task 13028 on cpu 1: mark_buffer_dirty_inode+0x95/0x1c0 fs/buffer.c:689 fat16_ent_put+0x4e/0x60 fs/fat/fatent.c:184 fat_ent_write+0x6c/0xe0 fs/fat/fatent.c:417 fat_chain_add+0x15d/0x440 fs/fat/misc.c:136 fat_add_cluster fs/fat/inode.c:113 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x46c/0x5e0 fs/fat/inode.c:190 __block_write_begin_int+0x400/0xf90 fs/buffer.c:2145 block_write_begin fs/buffer.c:2256 [inline] cont_write_begin+0x5ff/0x970 fs/buffer.c:2594 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 cont_expand_zero fs/buffer.c:2522 [inline] cont_write_begin+0x1b0/0x970 fs/buffer.c:2584 fat_write_begin+0x4f/0xe0 fs/fat/inode.c:230 generic_cont_expand_simple+0xb0/0x150 fs/buffer.c:2485 fat_cont_expand+0x3e/0x170 fs/fat/file.c:223 fat_fallocate+0x177/0x1c0 fs/fat/file.c:301 vfs_fallocate+0x3b6/0x400 fs/open.c:339 ksys_fallocate fs/open.c:363 [inline] __do_sys_fallocate fs/open.c:368 [inline] __se_sys_fallocate fs/open.c:366 [inline] __x64_sys_fallocate+0x7a/0xd0 fs/open.c:366 x64_sys_call+0x1cd4/0x3000 arch/x86/include/generated/asm/syscalls_64.h:286 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd8/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0xffff88811b5da608 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 13028 Comm: syz.2.3283 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ==================================================================