================================================================== BUG: KCSAN: data-race in __filemap_remove_folio / folio_mapping write to 0xffffea0004690198 of 8 bytes by task 8795 on cpu 1: page_cache_delete mm/filemap.c:143 [inline] __filemap_remove_folio+0x1b7/0x2c0 mm/filemap.c:219 filemap_remove_folio+0x69/0x210 mm/filemap.c:251 truncate_inode_folio+0x14c/0x160 mm/truncate.c:223 truncate_inode_pages_range+0x6a2/0x8b0 mm/truncate.c:435 truncate_pagecache_range+0x80/0x90 mm/truncate.c:882 ext4_punch_hole+0x2d6/0x800 fs/ext4/inode.c:4003 ext4_fallocate+0xc1/0x470 fs/ext4/extents.c:4694 vfs_fallocate+0x486/0x720 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0x75/0xc0 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea0004690198 of 8 bytes by task 8792 on cpu 0: folio_mapping+0x92/0x120 mm/util.c:717 page_mapping+0x37/0x50 mm/folio-compat.c:13 page_evictable mm/internal.h:133 [inline] move_pages_to_lru+0x13d/0x7c0 mm/vmscan.c:2321 shrink_inactive_list+0x414/0x730 mm/vmscan.c:2440 shrink_list mm/vmscan.c:2664 [inline] shrink_lruvec+0x3c9/0x710 mm/vmscan.c:2983 shrink_node_memcgs+0x23e/0x410 mm/vmscan.c:3172 shrink_node+0x8f6/0x1190 mm/vmscan.c:3295 shrink_zones+0x2d1/0x5e0 mm/vmscan.c:3532 do_try_to_free_pages+0x181/0x720 mm/vmscan.c:3590 try_to_free_mem_cgroup_pages+0x1cb/0x420 mm/vmscan.c:3904 reclaim_high mm/memcontrol.c:2300 [inline] mem_cgroup_handle_over_high+0x15b/0x480 mm/memcontrol.c:2484 tracehook_notify_resume include/linux/tracehook.h:197 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x139/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff8881339c0830 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8792 Comm: syz-executor.2 Not tainted 5.17.0-rc7-syzkaller-00064-g330f4c53d3c2-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================