================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / nr_blockdev_pages read-write to 0xffff8881004cfc30 of 8 bytes by task 28941 on cpu 0: page_cache_delete_batch mm/filemap.c:313 [inline] delete_from_page_cache_batch+0x4f1/0x6f0 mm/filemap.c:332 truncate_inode_pages_range+0x1b8/0x690 mm/truncate.c:380 truncate_inode_pages+0x24/0x30 mm/truncate.c:460 kill_bdev block/bdev.c:91 [inline] blkdev_flush_mapping+0xa4/0x1a0 block/bdev.c:712 blkdev_put_whole block/bdev.c:719 [inline] bdev_release+0x2bf/0x3d0 block/bdev.c:1144 blkdev_release+0x15/0x20 block/fops.c:684 __fput+0x298/0x650 fs/file_table.c:465 ____fput+0x1c/0x30 fs/file_table.c:493 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x47f/0x1590 kernel/exit.c:955 __do_sys_exit kernel/exit.c:1071 [inline] __se_sys_exit kernel/exit.c:1069 [inline] __x64_sys_exit+0x1f/0x20 kernel/exit.c:1069 x64_sys_call+0x2f8c/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:61 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881004cfc30 of 8 bytes by task 3368 on cpu 1: nr_blockdev_pages+0x7e/0xd0 block/bdev.c:523 si_meminfo+0x87/0xd0 mm/show_mem.c:80 update_defense_level+0x47/0x5c0 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:3238 [inline] process_scheduled_works+0x4cb/0x9d0 kernel/workqueue.c:3321 worker_thread+0x582/0x770 kernel/workqueue.c:3402 kthread+0x486/0x510 kernel/kthread.c:464 ret_from_fork+0xda/0x150 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 value changed: 0x0000000000000001 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3368 Comm: kworker/1:2 Tainted: G W 6.15.0-syzkaller-13743-g8630c59e9936 #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_long defense_work_handler ==================================================================