================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages read-write to 0xffff888100631838 of 8 bytes by task 3428 on cpu 0: __filemap_add_folio+0x439/0x710 mm/filemap.c:918 filemap_add_folio+0x9c/0x1b0 mm/filemap.c:970 page_cache_ra_unbounded+0x148/0x2e0 mm/readahead.c:252 do_page_cache_ra mm/readahead.c:303 [inline] force_page_cache_ra mm/readahead.c:332 [inline] page_cache_sync_ra+0x252/0x670 mm/readahead.c:530 page_cache_sync_readahead include/linux/pagemap.h:1298 [inline] filemap_get_pages+0x24f/0xfa0 mm/filemap.c:2529 filemap_read+0x216/0x680 mm/filemap.c:2625 blkdev_read_iter+0x20e/0x2c0 block/fops.c:765 new_sync_read fs/read_write.c:488 [inline] vfs_read+0x5f6/0x720 fs/read_write.c:569 ksys_read+0xeb/0x1b0 fs/read_write.c:712 __do_sys_read fs/read_write.c:722 [inline] __se_sys_read fs/read_write.c:720 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:720 x64_sys_call+0x27d3/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:1 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 0xffff888100631838 of 8 bytes by task 3337 on cpu 1: nr_blockdev_pages+0x7c/0xd0 block/bdev.c:482 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+0x51d/0x6f0 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: 0x0000000000000005 -> 0x0000000000000006 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3337 Comm: kworker/1:3 Tainted: G W 6.11.0-syzkaller-04557-g2f27fce67173 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events_long defense_work_handler ==================================================================