================================================================== BUG: KCSAN: data-race in exec_mmap / unmap_region write to 0xffff8881043888b0 of 8 bytes by task 1472 on cpu 1: update_hiwater_rss include/linux/mm.h:2031 [inline] unmap_region+0x12b/0x1e0 mm/mmap.c:2621 __do_munmap+0xd85/0x11b0 mm/mmap.c:2836 __vm_munmap mm/mmap.c:2859 [inline] __do_sys_munmap+0x97/0x150 mm/mmap.c:2884 __se_sys_munmap mm/mmap.c:2881 [inline] __x64_sys_munmap+0x2d/0x40 mm/mmap.c:2881 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff8881043888b0 of 8 bytes by task 19166 on cpu 0: get_mm_hiwater_rss include/linux/mm.h:2018 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2048 [inline] exec_mmap+0x1e3/0x360 fs/exec.c:1031 begin_new_exec+0x7a4/0xff0 fs/exec.c:1292 load_elf_binary+0x637/0x1970 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1725 [inline] exec_binprm+0x1d9/0x800 fs/exec.c:1766 bprm_execve+0x379/0x4e0 fs/exec.c:1835 do_execveat_common+0x853/0x960 fs/exec.c:1940 do_execve fs/exec.c:2014 [inline] __do_sys_execve fs/exec.c:2090 [inline] __se_sys_execve fs/exec.c:2085 [inline] __x64_sys_execve+0x56/0x70 fs/exec.c:2085 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000000000029b -> 0x000000000000029c Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 19166 Comm: dhcpcd Not tainted 6.0.0-syzkaller-07362-g62e6e5940c0c-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 ==================================================================