==================================================================
BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages

read-write to 0xffff888100630570 of 8 bytes by task 4520 on cpu 1:
 __filemap_add_folio+0x5b9/0x7d0 mm/filemap.c:928
 filemap_add_folio+0x98/0x1b0 mm/filemap.c:969
 __filemap_get_folio+0x31e/0x650 mm/filemap.c:1979
 grow_dev_folio fs/buffer.c:1052 [inline]
 grow_buffers fs/buffer.c:1118 [inline]
 __getblk_slow fs/buffer.c:1144 [inline]
 bdev_getblk+0x188/0x3d0 fs/buffer.c:1466
 __bread_gfp+0x51/0x250 fs/buffer.c:1520
 sb_bread include/linux/buffer_head.h:348 [inline]
 fat__get_entry fs/fat/dir.c:100 [inline]
 fat_get_entry+0x46e/0x5d0 fs/fat/dir.c:128
 fat_get_short_entry fs/fat/dir.c:885 [inline]
 fat_subdirs+0x59/0x190 fs/fat/dir.c:951
 fat_read_root+0x316/0x360 fs/fat/inode.c:1345
 fat_fill_super+0x15bf/0x1ce0 fs/fat/inode.c:1814
 vfat_fill_super+0x24/0x30 fs/fat/namei_vfat.c:1197
 get_tree_bdev_flags+0x28e/0x300 fs/super.c:1636
 get_tree_bdev+0x1f/0x30 fs/super.c:1659
 vfat_get_tree+0x1c/0x30 fs/fat/namei_vfat.c:1202
 vfs_get_tree+0x54/0x1d0 fs/super.c:1759
 do_new_mount+0x207/0x680 fs/namespace.c:3884
 path_mount+0x4a4/0xb20 fs/namespace.c:4211
 do_mount fs/namespace.c:4224 [inline]
 __do_sys_mount fs/namespace.c:4435 [inline]
 __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4412
 __x64_sys_mount+0x67/0x80 fs/namespace.c:4412
 x64_sys_call+0xd36/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd0/0x1a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888100630570 of 8 bytes by task 10 on cpu 0:
 nr_blockdev_pages+0x7e/0xd0 block/bdev.c:523
 si_meminfo+0x87/0xd0 mm/show_mem.c:80
 update_defense_level+0x47/0x5c0 net/netfilter/ipvs/ip_vs_ctl.c:102
 defense_work_handler+0x1f/0x80 net/netfilter/ipvs/ip_vs_ctl.c:235
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0x4cb/0x9d0 kernel/workqueue.c:3319
 worker_thread+0x582/0x770 kernel/workqueue.c:3400
 kthread+0x486/0x510 kernel/kthread.c:464
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

value changed: 0x0000000000000007 -> 0x0000000000000008

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted 6.15.0-rc4-syzkaller-00021-gca91b9500108 #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Workqueue: events_long defense_work_handler
==================================================================