================================================================== BUG: KCSAN: data-race in getrusage / unmap_region write to 0xffff8881131cfaa8 of 8 bytes by task 10401 on cpu 1: update_hiwater_rss include/linux/mm.h:2661 [inline] unmap_region+0x105/0x230 mm/mmap.c:2435 do_vmi_align_munmap+0x6df/0xa60 mm/mmap.c:2754 do_vmi_munmap+0x1fb/0x250 mm/mmap.c:2830 __vm_munmap+0xec/0x210 mm/mmap.c:3109 __do_sys_munmap mm/mmap.c:3126 [inline] __se_sys_munmap mm/mmap.c:3123 [inline] __x64_sys_munmap+0x36/0x40 mm/mmap.c:3123 x64_sys_call+0xe1b/0x2e00 arch/x86/include/generated/asm/syscalls_64.h:12 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 0xffff8881131cfaa8 of 8 bytes by task 10402 on cpu 0: get_mm_hiwater_rss include/linux/mm.h:2648 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2678 [inline] getrusage+0xa35/0xb90 kernel/sys.c:1870 io_sq_thread+0x544/0xff0 io_uring/sqpoll.c:315 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: 0x0000000000000e71 -> 0x00000000000011e0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 10402 Comm: iou-sqp-10401 Not tainted 6.10.0-syzkaller-12562-g1722389b0d86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 ==================================================================