================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / folio_mapping write to 0xffffea0005004458 of 8 bytes by task 3226 on cpu 1: page_cache_delete_batch mm/filemap.c:308 [inline] delete_from_page_cache_batch+0x31b/0x770 mm/filemap.c:334 truncate_inode_pages_range+0x355/0x830 mm/truncate.c:369 truncate_inode_pages mm/truncate.c:448 [inline] truncate_pagecache mm/truncate.c:743 [inline] truncate_setsize+0x97/0xc0 mm/truncate.c:768 put_aio_ring_file fs/aio.c:315 [inline] aio_free_ring+0x4a/0x2c0 fs/aio.c:335 free_ioctx+0x17/0x60 fs/aio.c:615 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 read to 0xffffea0005004458 of 8 bytes by task 3127 on cpu 0: folio_mapping+0x8e/0x110 mm/util.c:752 folio_evictable mm/internal.h:138 [inline] move_folios_to_lru+0x12d/0x6d0 mm/vmscan.c:2413 shrink_inactive_list+0x426/0x760 mm/vmscan.c:2529 shrink_list mm/vmscan.c:2767 [inline] shrink_lruvec+0x2ba/0x6f0 mm/vmscan.c:5951 shrink_node_memcgs+0x240/0x450 mm/vmscan.c:6138 shrink_node+0x1d7/0x930 mm/vmscan.c:6169 shrink_zones+0x2c1/0x5d0 mm/vmscan.c:6407 do_try_to_free_pages+0x195/0x760 mm/vmscan.c:6469 try_to_free_mem_cgroup_pages+0x1d0/0x420 mm/vmscan.c:6786 reclaim_high+0xd0/0x120 mm/memcontrol.c:2394 mem_cgroup_handle_over_high+0x75/0x120 mm/memcontrol.c:2580 resume_user_mode_work include/linux/resume_user_mode.h:58 [inline] exit_to_user_mode_loop+0xa5/0x130 kernel/entry/common.c:171 exit_to_user_mode_prepare kernel/entry/common.c:203 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:296 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0xffff8881545c5970 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 3127 Comm: syz-executor.0 Not tainted 6.2.0-rc1-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ==================================================================