================================================================== BUG: KCSAN: data-race in getrusage / vms_clear_ptes write to 0xffff8881117e95e8 of 8 bytes by task 3131 on cpu 1: update_hiwater_rss include/linux/mm.h:2655 [inline] vms_clear_ptes+0x1a7/0x300 mm/vma.c:1088 vms_complete_munmap_vmas+0x170/0x480 mm/vma.c:1140 mmap_region+0x8b8/0x16e0 mm/mmap.c:1533 do_mmap+0x718/0xb60 mm/mmap.c:496 vm_mmap_pgoff+0x133/0x290 mm/util.c:588 ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 x64_sys_call+0x1884/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:10 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 0xffff8881117e95e8 of 8 bytes by task 3129 on cpu 0: get_mm_hiwater_rss include/linux/mm.h:2642 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2672 [inline] getrusage+0xa35/0xb90 kernel/sys.c:1870 io_sq_thread+0x539/0x1000 io_uring/sqpoll.c:313 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x0000000000000e99 -> 0x0000000000001021 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3129 Comm: iou-sqp-3127 Not tainted 6.12.0-rc2-syzkaller-00058-g75b607fab38d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================