================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages read-write to 0xffff888118400bb8 of 8 bytes by task 20822 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__get_entry fs/fat/dir.c:100 [inline] fat_get_entry+0x482/0x5f0 fs/fat/dir.c:128 fat_get_short_entry fs/fat/dir.c:885 [inline] fat_subdirs+0x5a/0x190 fs/fat/dir.c:951 fat_read_root+0x2d9/0x320 fs/fat/inode.c:1420 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:1659 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:1780 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 0xffff888118400bb8 of 8 bytes by task 5890 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:3231 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3312 worker_thread+0x526/0x730 kernel/workqueue.c:3393 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: 5890 Comm: kworker/1:16 Tainted: G W 6.10.0-rc2-syzkaller-00315-gdc772f8237f9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_long defense_work_handler ==================================================================