================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / nr_blockdev_pages read-write to 0xffff8881024e0be0 of 8 bytes by task 17520 on cpu 1: page_cache_delete_batch mm/filemap.c:320 [inline] delete_from_page_cache_batch+0x521/0x750 mm/filemap.c:339 truncate_inode_pages_range+0x354/0x800 mm/truncate.c:369 __jbd2_journal_erase fs/jbd2/journal.c:1841 [inline] jbd2_journal_flush+0x54c/0x820 fs/jbd2/journal.c:2492 ext4_ioctl_checkpoint fs/ext4/ioctl.c:1089 [inline] __ext4_ioctl fs/ext4/ioctl.c:1597 [inline] ext4_ioctl+0x1fe3/0x2e10 fs/ext4/ioctl.c:1617 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:856 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:856 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 0xffff8881024e0be0 of 8 bytes by task 899 on cpu 0: nr_blockdev_pages+0x7f/0xd0 block/bdev.c:458 si_meminfo+0x87/0xd0 mm/show_mem.c:83 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+0x434/0x860 kernel/workqueue.c:2597 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2748 kthread+0x1d7/0x210 kernel/kthread.c:389 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 value changed: 0x0000000000000a3f -> 0x0000000000000a30 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 899 Comm: kworker/0:2 Not tainted 6.5.0-rc2-syzkaller-00052-gbfa3037d8280 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: events_long defense_work_handler ==================================================================