================================================================== BUG: KCSAN: data-race in getrusage / vms_clear_ptes write to 0xffff888104207578 of 8 bytes by task 4045 on cpu 0: update_hiwater_rss include/linux/mm.h:2668 [inline] vms_clear_ptes+0x1a7/0x300 mm/vma.c:1135 vms_clean_up_area mm/vma.c:1155 [inline] __mmap_prepare mm/vma.c:2278 [inline] __mmap_region+0x4fb/0x1400 mm/vma.c:2443 mmap_region+0x164/0x1e0 mm/mmap.c:1348 do_mmap+0x718/0xb60 mm/mmap.c:496 vm_mmap_pgoff+0x133/0x290 mm/util.c:580 ksys_mmap_pgoff+0xd0/0x330 mm/mmap.c:542 x64_sys_call+0x1940/0x2dc0 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 0xffff888104207578 of 8 bytes by task 4046 on cpu 1: get_mm_hiwater_rss include/linux/mm.h:2655 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2685 [inline] getrusage+0xa24/0xb80 kernel/sys.c:1870 io_sq_thread+0x5ea/0x10b0 io_uring/sqpoll.c:306 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: 0x00000000000014c5 -> 0x0000000000001677 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 4046 Comm: iou-sqp-4045 Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================