================================================================== BUG: KCSAN: data-race in __filemap_add_folio / filemap_write_and_wait_range read-write to 0xffff8881006311f8 of 8 bytes by task 7270 on cpu 0: __filemap_add_folio+0x439/0x710 mm/filemap.c:918 filemap_add_folio+0x9c/0x1b0 mm/filemap.c:970 __filemap_get_folio+0x2f1/0x5b0 mm/filemap.c:1958 grow_dev_folio fs/buffer.c:1043 [inline] grow_buffers fs/buffer.c:1109 [inline] __getblk_slow fs/buffer.c:1135 [inline] bdev_getblk+0x173/0x3b0 fs/buffer.c:1437 __bread_gfp+0x52/0x280 fs/buffer.c:1491 sb_bread include/linux/buffer_head.h:346 [inline] fat_fill_super+0x371/0x1bf0 fs/fat/inode.c:1598 vfat_fill_super+0x24/0x30 fs/fat/namei_vfat.c:1200 get_tree_bdev+0x256/0x2e0 fs/super.c:1635 vfat_get_tree+0x1c/0x30 fs/fat/namei_vfat.c:1205 vfs_get_tree+0x56/0x1e0 fs/super.c:1800 do_new_mount+0x227/0x690 fs/namespace.c:3507 path_mount+0x49b/0xb30 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x27c/0x2d0 fs/namespace.c:4032 __x64_sys_mount+0x67/0x80 fs/namespace.c:4032 x64_sys_call+0x203e/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881006311f8 of 8 bytes by task 2964 on cpu 1: mapping_needs_writeback mm/filemap.c:635 [inline] filemap_write_and_wait_range+0x58/0x1f0 mm/filemap.c:684 filemap_write_and_wait include/linux/pagemap.h:68 [inline] sync_blockdev block/bdev.c:219 [inline] bdev_release+0xea/0x420 block/bdev.c:1085 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x17a/0x6d0 fs/file_table.c:431 __fput_sync+0x43/0x60 fs/file_table.c:516 __do_sys_close fs/open.c:1565 [inline] __se_sys_close+0xf9/0x1a0 fs/open.c:1550 __x64_sys_close+0x1f/0x30 fs/open.c:1550 x64_sys_call+0x25cb/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:4 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000000 -> 0x0000000000000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 2964 Comm: udevd Not tainted 6.11.0-syzkaller-04744-gbdf56c7580d2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 ==================================================================