================================================================== BUG: KCSAN: data-race in getrusage / unmap_region write to 0xffff8881193d95f0 of 8 bytes by task 25195 on cpu 0: update_hiwater_rss include/linux/mm.h:2657 [inline] unmap_region+0x105/0x230 mm/mmap.c:2309 do_vmi_align_munmap+0x650/0x9c0 mm/mmap.c:2628 do_vmi_munmap+0x1eb/0x230 mm/mmap.c:2696 mmap_region+0x523/0x1550 mm/mmap.c:2747 do_mmap+0x6a6/0xac0 mm/mmap.c:1385 vm_mmap_pgoff+0x12f/0x250 mm/util.c:573 ksys_mmap_pgoff+0x2f8/0x340 mm/mmap.c:1431 x64_sys_call+0x1815/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881193d95f0 of 8 bytes by task 25196 on cpu 1: get_mm_hiwater_rss include/linux/mm.h:2644 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2674 [inline] getrusage+0xa35/0xb90 kernel/sys.c:1861 io_sq_thread+0x4d3/0xef0 io_uring/sqpoll.c:305 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: 0x0000000000000861 -> 0x0000000000000901 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 25196 Comm: iou-sqp-25195 Tainted: G W 6.9.0-syzkaller-01049-g8815da98e06a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ==================================================================