EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000. ================================================================== BUG: KCSAN: data-race in __mod_memcg_lruvec_state / mem_cgroup_css_rstat_flush write to 0xffff888237d344c0 of 4 bytes by task 6376 on cpu 0: mem_cgroup_css_rstat_flush+0x4ea/0x540 mm/memcontrol.c:5848 cgroup_rstat_flush_locked+0x848/0x980 kernel/cgroup/rstat.c:245 cgroup_rstat_flush+0x26/0x40 kernel/cgroup/rstat.c:277 do_flush_stats mm/memcontrol.c:745 [inline] flush_memcg_stats_dwork+0x50/0x90 mm/memcontrol.c:782 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff888237d344c0 of 4 bytes by task 9669 on cpu 1: memcg_rstat_updated mm/memcontrol.c:725 [inline] __mod_memcg_lruvec_state+0x13a/0x1a0 mm/memcontrol.c:875 __mod_lruvec_state+0x3c/0x50 mm/memcontrol.c:897 __update_lru_size include/linux/mm_inline.h:47 [inline] update_lru_size include/linux/mm_inline.h:56 [inline] lruvec_del_folio include/linux/mm_inline.h:356 [inline] __page_cache_release+0x2fa/0x4a0 mm/swap.c:82 folios_put_refs+0x15d/0x2e0 mm/swap.c:1019 folios_put include/linux/mm.h:1565 [inline] __folio_batch_release+0xa4/0xc0 mm/swap.c:1094 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x348/0xa50 mm/shmem.c:1011 shmem_truncate_range mm/shmem.c:1120 [inline] shmem_evict_inode+0x14d/0x530 mm/shmem.c:1248 evict+0x1ae/0x420 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput+0x432/0x5c0 fs/inode.c:1767 dentry_unlink_inode+0x230/0x240 fs/dcache.c:400 __dentry_kill+0x188/0x4b0 fs/dcache.c:603 dput+0x5c/0xd0 fs/dcache.c:845 __fput+0x44c/0x660 fs/file_table.c:430 ____fput+0x15/0x20 fs/file_table.c:450 task_work_run+0x13a/0x1a0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xbe/0x130 kernel/entry/common.c:218 do_syscall_64+0xda/0x1d0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000001c -> 0x00000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9669 Comm: syz-executor.3 Not tainted 6.9.0-rc4-syzkaller-00038-g8cd26fd90c1a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ================================================================== EXT4-fs (loop3): unmounting filesystem 00000000-0000-0000-0000-000000000000.