================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / nr_blockdev_pages read-write to 0xffff888100481e78 of 8 bytes by task 14401 on cpu 1: 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:702 __fput+0x29b/0x650 fs/file_table.c:468 ____fput+0x1c/0x30 fs/file_table.c:496 task_work_run+0x12e/0x1a0 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe4/0x100 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x1d6/0x200 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888100481e78 of 8 bytes by task 15433 on cpu 0: nr_blockdev_pages+0x7e/0xd0 block/bdev.c:523 si_meminfo+0x87/0xd0 mm/show_mem.c:80 do_sysinfo+0x11e/0x2b0 kernel/sys.c:2849 __do_sys_sysinfo kernel/sys.c:2900 [inline] __se_sys_sysinfo kernel/sys.c:2896 [inline] __x64_sys_sysinfo+0x47/0xa0 kernel/sys.c:2896 x64_sys_call+0x284b/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:100 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 value changed: 0x0000000000000001 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 15433 Comm: ’ Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ================================================================== loop1: detected capacity change from 0 to 1024