================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages read-write to 0xffff8881441ba8b8 of 8 bytes by task 22404 on cpu 1: __filemap_add_folio+0x385/0x730 mm/filemap.c:904 filemap_add_folio+0x6f/0x150 mm/filemap.c:939 __filemap_get_folio+0x313/0x500 mm/filemap.c:1982 pagecache_get_page+0x2a/0xb0 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:635 [inline] grow_dev_page fs/buffer.c:995 [inline] grow_buffers fs/buffer.c:1060 [inline] __getblk_slow fs/buffer.c:1087 [inline] __getblk_gfp+0x17c/0x8d0 fs/buffer.c:1382 sb_getblk include/linux/buffer_head.h:365 [inline] ext4_getblk+0x191/0x4e0 fs/ext4/inode.c:845 ext4_bread+0x2c/0x110 fs/ext4/inode.c:891 ext4_quota_read+0xfc/0x1a0 fs/ext4/super.c:7116 v2_read_header fs/quota/quota_v2.c:62 [inline] v2_check_quota_file+0x6a/0x150 fs/quota/quota_v2.c:81 dquot_load_quota_sb+0x3b2/0x5d0 fs/quota/dquot.c:2402 dquot_load_quota_inode+0x267/0x340 fs/quota/dquot.c:2445 ext4_quota_enable fs/ext4/super.c:6994 [inline] ext4_enable_quotas+0x2e1/0x480 fs/ext4/super.c:7020 __ext4_fill_super fs/ext4/super.c:5541 [inline] ext4_fill_super+0x34ea/0x38f0 fs/ext4/super.c:5672 get_tree_bdev+0x2a8/0x3a0 fs/super.c:1303 ext4_get_tree+0x1c/0x20 fs/ext4/super.c:5704 vfs_get_tree+0x51/0x190 fs/super.c:1510 do_new_mount+0x203/0x660 fs/namespace.c:3039 path_mount+0x498/0xb40 fs/namespace.c:3369 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x67/0x80 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881441ba8b8 of 8 bytes by task 2331 on cpu 0: nr_blockdev_pages+0x7f/0xd0 block/bdev.c:457 si_meminfo+0x3e/0x60 mm/page_alloc.c:5197 update_defense_level+0x43/0x580 net/netfilter/ipvs/ip_vs_ctl.c:101 defense_work_handler+0x1f/0x80 net/netfilter/ipvs/ip_vs_ctl.c:235 process_one_work+0x3e6/0x750 kernel/workqueue.c:2405 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2552 kthread+0x1d7/0x210 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 value changed: 0x0000000000000005 -> 0x0000000000000006 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2331 Comm: kworker/0:0 Not tainted 6.4.0-rc6-syzkaller-00279-g8c1f0c38b310 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_long defense_work_handler ==================================================================