================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / ext4_writepages write to 0xffff888128d3dcb8 of 8 bytes by task 15039 on cpu 0: 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_inode_pages mm/truncate.c:476 [inline] truncate_pagecache+0x60/0x80 mm/truncate.c:817 ext4_setattr+0xbd6/0x1670 fs/ext4/inode.c:5327 notify_change+0x7e1/0xaa0 fs/attr.c:337 do_truncate+0xfb/0x180 fs/open.c:64 handle_truncate fs/namei.c:3015 [inline] do_last fs/namei.c:3426 [inline] path_openat+0x13e8/0x3580 fs/namei.c:3537 do_filp_open+0x11e/0x1b0 fs/namei.c:3567 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_openat fs/open.c:1124 [inline] __se_sys_openat fs/open.c:1118 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1118 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888128d3dcb8 of 8 bytes by task 15037 on cpu 1: 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 __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x2d/0x40 mm/filemap.c:456 ext4_alloc_da_blocks+0x78/0x180 fs/ext4/inode.c:3145 ext4_release_file+0x10d/0x210 fs/ext4/file.c:141 __fput+0x1e1/0x520 fs/file_table.c:280 ____fput+0x1f/0x30 fs/file_table.c:313 task_work_run+0xf6/0x130 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x2b4/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] do_syscall_64+0x384/0x3a0 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 15037 Comm: syz-executor.0 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================