================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0004db1098 of 8 bytes by task 9920 on cpu 1: page_cache_delete_batch mm/filemap.c:304 [inline] delete_from_page_cache_batch+0x301/0x760 mm/filemap.c:330 truncate_inode_pages_range+0x305/0x8b0 mm/truncate.c:379 truncate_inode_pages mm/truncate.c:461 [inline] truncate_pagecache mm/truncate.c:768 [inline] truncate_setsize+0x97/0xc0 mm/truncate.c:793 put_aio_ring_file fs/aio.c:315 [inline] aio_free_ring fs/aio.c:335 [inline] free_ioctx+0x4e/0x260 fs/aio.c:615 process_one_work+0x3f6/0x960 kernel/workqueue.c:2307 worker_thread+0x616/0xa70 kernel/workqueue.c:2454 kthread+0x1bf/0x1e0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 read to 0xffffea0004db1098 of 8 bytes by task 1831 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: 0xffff8881444082e8 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1831 Comm: syz-executor.1 Not tainted 5.17.0-rc7-syzkaller-00105-g1db333d9a51f-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================