================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages read-write to 0xffff888100630bb8 of 8 bytes by task 21760 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:1049 [inline] grow_buffers fs/buffer.c:1115 [inline] __getblk_slow fs/buffer.c:1141 [inline] bdev_getblk+0x198/0x400 fs/buffer.c:1443 __bread_gfp+0x52/0x280 fs/buffer.c:1497 sb_bread include/linux/buffer_head.h:347 [inline] fat_ent_bread+0xc9/0x1a0 fs/fat/fatent.c:109 fat_ent_read+0x3b0/0x5a0 fs/fat/fatent.c:368 fat_get_cluster+0x4b9/0x830 fs/fat/cache.c:266 fat_calc_dir_size fs/fat/inode.c:485 [inline] fat_read_root+0x1da/0x320 fs/fat/inode.c:1405 fat_fill_super+0x216f/0x2880 fs/fat/inode.c:1870 vfat_fill_super+0x30/0x40 fs/fat/namei_vfat.c:1200 mount_bdev+0x152/0x1e0 fs/super.c:1668 vfat_mount+0x31/0x40 fs/fat/namei_vfat.c:1207 legacy_get_tree+0x77/0xd0 fs/fs_context.c:662 vfs_get_tree+0x56/0x1d0 fs/super.c:1789 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x49b/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 x64_sys_call+0x25c9/0x2d70 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 0xffff888100630bb8 of 8 bytes by task 3160 on cpu 1: nr_blockdev_pages+0x7c/0xd0 block/bdev.c:475 si_meminfo+0x87/0xd0 mm/show_mem.c:80 update_defense_level+0x49/0x5b0 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:3248 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3329 worker_thread+0x526/0x720 kernel/workqueue.c:3409 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x0000000000000001 -> 0x0000000000000002 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3160 Comm: kworker/1:4 Tainted: G W 6.10.0-rc6-syzkaller-00210-gd270dd21bee0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_long defense_work_handler ==================================================================