================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff888100483778 of 8 bytes by task 28864 on cpu 0: __filemap_add_folio+0x671/0x8a0 mm/filemap.c:919 filemap_add_folio+0x1d3/0x350 mm/filemap.c:966 __filemap_get_folio_mpol+0x326/0x680 mm/filemap.c:2016 __filemap_get_folio include/linux/pagemap.h:774 [inline] grow_dev_folio fs/buffer.c:1050 [inline] grow_buffers fs/buffer.c:1116 [inline] __getblk_slow fs/buffer.c:1134 [inline] bdev_getblk+0x173/0x3f0 fs/buffer.c:1461 __bread_gfp+0x51/0x240 fs/buffer.c:1515 sb_bread include/linux/buffer_head.h:346 [inline] fat_fill_super+0x37c/0x1ce0 fs/fat/inode.c:1605 vfat_fill_super+0x24/0x30 fs/fat/namei_vfat.c:1197 get_tree_bdev_flags+0x291/0x300 fs/super.c:1691 get_tree_bdev+0x1f/0x30 fs/super.c:1714 vfat_get_tree+0x1c/0x30 fs/fat/namei_vfat.c:1202 vfs_get_tree+0x57/0x1d0 fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x288/0x700 fs/namespace.c:3712 path_mount+0x4c0/0xb90 fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4201 __x64_sys_mount+0x67/0x80 fs/namespace.c:4201 x64_sys_call+0x2cca/0x3000 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888100483778 of 8 bytes by task 3008 on cpu 1: mapping_needs_writeback mm/filemap.c:634 [inline] filemap_write_and_wait_range+0x59/0x370 mm/filemap.c:683 filemap_write_and_wait include/linux/pagemap.h:65 [inline] sync_blockdev block/bdev.c:277 [inline] bdev_release+0xeb/0x3d0 block/bdev.c:1143 blkdev_release+0x15/0x20 block/fops.c:706 __fput+0x29b/0x650 fs/file_table.c:468 fput_close_sync+0xad/0x190 fs/file_table.c:573 __do_sys_close fs/open.c:1573 [inline] __se_sys_close fs/open.c:1558 [inline] __x64_sys_close+0x55/0xf0 fs/open.c:1558 x64_sys_call+0x2c25/0x3000 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3008 Comm: udevd Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 ==================================================================