================================================================== BUG: KCSAN: data-race in getrusage / unmap_region write to 0xffff8881040d7028 of 8 bytes by task 15149 on cpu 1: update_hiwater_rss include/linux/mm.h:2696 [inline] unmap_region+0x105/0x230 mm/mmap.c:2364 do_vmi_align_munmap+0x6df/0xa60 mm/mmap.c:2683 do_vmi_munmap+0x1fb/0x250 mm/mmap.c:2759 mmap_region+0x52a/0x1620 mm/mmap.c:2810 do_mmap+0x6f9/0xb10 mm/mmap.c:1397 vm_mmap_pgoff+0x133/0x290 mm/util.c:573 ksys_mmap_pgoff+0x292/0x340 mm/mmap.c:1443 x64_sys_call+0x1835/0x2d70 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 0xffff8881040d7028 of 8 bytes by task 15151 on cpu 0: get_mm_hiwater_rss include/linux/mm.h:2683 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2713 [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: 0x000000000000086a -> 0x0000000000000d19 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 15151 Comm: iou-sqp-15149 Tainted: G W 6.10.0-rc3-syzkaller-00174-ga3e18a540541 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 ==================================================================