================================================================== BUG: KCSAN: data-race in getrusage / vms_clear_ptes write to 0xffff888108a463f8 of 8 bytes by task 19340 on cpu 0: update_hiwater_rss include/linux/mm.h:2669 [inline] vms_clear_ptes+0x1a2/0x300 mm/vma.c:1136 vms_complete_munmap_vmas+0x17b/0x480 mm/vma.c:1186 do_vmi_align_munmap+0x344/0x390 mm/vma.c:1445 do_vmi_munmap+0x1eb/0x230 mm/vma.c:1493 do_munmap+0x8b/0xc0 mm/mmap.c:1072 mremap_to mm/mremap.c:978 [inline] __do_sys_mremap mm/mremap.c:1134 [inline] __se_sys_mremap+0xa72/0xf10 mm/mremap.c:1045 __x64_sys_mremap+0x67/0x80 mm/mremap.c:1045 x64_sys_call+0x27e8/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:26 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888108a463f8 of 8 bytes by task 19335 on cpu 1: get_mm_hiwater_rss include/linux/mm.h:2656 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2686 [inline] getrusage+0xa15/0xb70 kernel/sys.c:1872 io_sq_thread+0x5f9/0x1100 io_uring/sqpoll.c:310 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000000016b0 -> 0x00000000000016d0 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 19335 Comm: iou-sqp-19334 Not tainted 6.14.0-rc2-syzkaller-00039-g09fbf3d50205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================