================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / page_mapping write to 0xffffea000206d718 of 8 bytes by task 28095 on cpu 0: page_cache_delete_batch mm/filemap.c:326 [inline] delete_from_page_cache_batch+0x672/0x780 mm/filemap.c:357 truncate_inode_pages_range+0x52f/0x1010 mm/truncate.c:366 truncate_inode_pages mm/truncate.c:476 [inline] truncate_pagecache+0x5b/0x80 mm/truncate.c:817 ext4_setattr+0xc32/0x1290 fs/ext4/inode.c:5357 notify_change+0x82b/0xb00 fs/attr.c:336 do_truncate+0xf9/0x180 fs/open.c:64 handle_truncate fs/namei.c:3083 [inline] do_last fs/namei.c:3496 [inline] path_openat+0x1241/0x2f70 fs/namei.c:3607 do_filp_open+0x11e/0x1b0 fs/namei.c:3637 do_sys_openat2+0x4f5/0x620 fs/open.c:1149 do_sys_open+0xa2/0x110 fs/open.c:1165 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_creat fs/open.c:1233 [inline] __se_sys_creat fs/open.c:1231 [inline] __x64_sys_creat+0x42/0x60 fs/open.c:1231 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffea000206d718 of 8 bytes by task 28094 on cpu 1: page_mapping+0x178/0x290 mm/util.c:675 page_evictable+0x37/0x100 mm/vmscan.c:4295 move_pages_to_lru+0xf0/0xa70 mm/vmscan.c:1841 shrink_inactive_list+0x4a5/0x8d0 mm/vmscan.c:1957 shrink_list mm/vmscan.c:2164 [inline] shrink_lruvec+0x4c9/0xd20 mm/vmscan.c:2482 shrink_node_memcgs mm/vmscan.c:2671 [inline] shrink_node+0x30a/0x1000 mm/vmscan.c:2777 shrink_zones mm/vmscan.c:2980 [inline] do_try_to_free_pages+0x230/0xb30 mm/vmscan.c:3033 try_to_free_mem_cgroup_pages+0x1f7/0x4b0 mm/vmscan.c:3355 reclaim_high.constprop.0+0xee/0x140 mm/memcontrol.c:2232 mem_cgroup_handle_over_high+0x8f/0x180 mm/memcontrol.c:2313 tracehook_notify_resume include/linux/tracehook.h:197 [inline] exit_to_usermode_loop+0x20a/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+0x36e/0x390 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 28094 Comm: syz-executor.5 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================