================================================================== BUG: KCSAN: data-race in __delete_from_page_cache / page_mapping write to 0xffffea0004fc1a58 of 8 bytes by task 31266 on cpu 1: page_cache_delete mm/filemap.c:145 [inline] __delete_from_page_cache+0x1b4/0x280 mm/filemap.c:232 delete_from_page_cache+0x82/0x160 mm/filemap.c:266 truncate_inode_page mm/truncate.c:219 [inline] truncate_inode_pages_range+0x9a3/0xad0 mm/truncate.c:397 truncate_bdev_range+0xb5/0x170 block/bdev.c:115 blkdev_fallocate+0x1d2/0x2e0 block/fops.c:584 vfs_fallocate+0x459/0x6a0 fs/open.c:307 ksys_fallocate fs/open.c:330 [inline] __do_sys_fallocate fs/open.c:338 [inline] __se_sys_fallocate fs/open.c:336 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:336 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea0004fc1a58 of 8 bytes by task 31248 on cpu 0: page_mapping+0x111/0x1c0 mm/util.c:725 page_evictable mm/internal.h:83 [inline] __pagevec_lru_add_fn+0x82/0x490 mm/swap.c:1011 __pagevec_lru_add+0x189/0x240 mm/swap.c:1039 lru_cache_add+0x121/0x150 mm/swap.c:453 add_to_page_cache_lru+0x150/0x1b0 mm/filemap.c:1000 page_cache_ra_unbounded+0x274/0x430 mm/readahead.c:222 do_page_cache_ra mm/readahead.c:269 [inline] force_page_cache_ra+0x256/0x290 mm/readahead.c:301 page_cache_sync_ra+0xcc/0xe0 mm/readahead.c:575 page_cache_sync_readahead include/linux/pagemap.h:883 [inline] filemap_get_pages mm/filemap.c:2545 [inline] filemap_read+0x3ad/0x1220 mm/filemap.c:2628 generic_file_read_iter+0x75/0x2c0 mm/filemap.c:2779 blkdev_read_iter+0xb9/0xf0 block/fops.c:544 call_read_iter include/linux/fs.h:2157 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x66c/0x750 fs/read_write.c:485 ksys_read+0xd9/0x190 fs/read_write.c:623 __do_sys_read fs/read_write.c:633 [inline] __se_sys_read fs/read_write.c:631 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff8881010bb628 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 31248 Comm: systemd-udevd Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================