================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / ext4_writepages write to 0xffff8881254b69b8 of 8 bytes by task 26187 on cpu 1: page_cache_delete_batch mm/filemap.c:339 [inline] delete_from_page_cache_batch+0x45b/0x790 mm/filemap.c:357 truncate_inode_pages_range+0x593/0x1120 mm/truncate.c:366 truncate_pagecache_range+0x7d/0xb0 mm/truncate.c:931 ext4_punch_hole+0x336/0xae0 fs/ext4/inode.c:3989 ext4_fallocate+0x2c7/0x1460 fs/ext4/extents.c:4910 vfs_fallocate+0x3be/0x650 fs/open.c:309 ksys_fallocate+0x61/0xa0 fs/open.c:332 __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0x5e/0x80 fs/open.c:338 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8881254b69b8 of 8 bytes by task 26166 on cpu 0: ext4_writepages+0x188/0x2500 fs/ext4/inode.c:2638 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x1c5/0x230 mm/filemap.c:421 file_write_and_wait_range+0xfd/0x160 mm/filemap.c:782 ext4_sync_file+0x266/0xaf0 fs/ext4/fsync.c:153 vfs_fsync_range+0x82/0x150 fs/sync.c:197 generic_write_sync include/linux/fs.h:2856 [inline] ext4_buffered_write_iter+0x222/0x290 fs/ext4/file.c:259 ext4_file_write_iter+0xf4/0xd40 fs/ext4/file.c:547 call_write_iter include/linux/fs.h:1902 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 ksys_write+0xd5/0x1b0 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write fs/read_write.c:620 [inline] __x64_sys_write+0x4c/0x60 fs/read_write.c:620 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26166 Comm: syz-executor.1 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================