================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / nr_blockdev_pages read-write to 0xffff8881006324b8 of 8 bytes by task 3422 on cpu 0: page_cache_delete_batch mm/filemap.c:324 [inline] delete_from_page_cache_batch+0x4f4/0x710 mm/filemap.c:343 truncate_inode_pages_range+0x1c5/0x6b0 mm/truncate.c:359 __jbd2_journal_erase fs/jbd2/journal.c:2012 [inline] jbd2_journal_flush+0x4d6/0x7c0 fs/jbd2/journal.c:2484 ext4_ioctl_checkpoint fs/ext4/ioctl.c:1099 [inline] __ext4_ioctl fs/ext4/ioctl.c:1606 [inline] ext4_ioctl+0x2018/0x2e10 fs/ext4/ioctl.c:1626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xd3/0x150 fs/ioctl.c:893 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:893 x64_sys_call+0x1581/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:17 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 0xffff8881006324b8 of 8 bytes by task 3169 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: 0x0000000000001ca4 -> 0x0000000000001c85 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3169 Comm: kworker/1:2 Tainted: G W 6.10.0-rc4-syzkaller-00052-ge5b3efbe1ab1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_long defense_work_handler ==================================================================