================================================================== BUG: KCSAN: data-race in exec_mmap / unmap_region write to 0xffff888103fae5b0 of 8 bytes by task 2814 on cpu 0: update_hiwater_rss include/linux/mm.h:2608 [inline] unmap_region+0x105/0x210 mm/mmap.c:2312 do_vmi_align_munmap+0x61c/0x970 mm/mmap.c:2555 do_vmi_munmap+0x1ea/0x230 mm/mmap.c:2623 __vm_munmap+0xf8/0x1e0 mm/mmap.c:2908 __do_sys_munmap mm/mmap.c:2925 [inline] __se_sys_munmap mm/mmap.c:2922 [inline] __x64_sys_munmap+0x36/0x40 mm/mmap.c:2922 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888103fae5b0 of 8 bytes by task 30739 on cpu 1: get_mm_hiwater_rss include/linux/mm.h:2595 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2625 [inline] exec_mmap+0x2b7/0x430 fs/exec.c:1035 begin_new_exec+0x6b4/0xf20 fs/exec.c:1296 load_elf_binary+0x647/0x1960 fs/binfmt_elf.c:1001 search_binary_handler fs/exec.c:1739 [inline] exec_binprm fs/exec.c:1781 [inline] bprm_execve+0x6d3/0xef0 fs/exec.c:1856 do_execveat_common+0x75f/0x7d0 fs/exec.c:1964 do_execve fs/exec.c:2038 [inline] __do_sys_execve fs/exec.c:2114 [inline] __se_sys_execve fs/exec.c:2109 [inline] __x64_sys_execve+0x5a/0x70 fs/exec.c:2109 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0000000000000227 -> 0x0000000000000247 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 30739 Comm: dhcpcd Not tainted 6.6.0-rc2-syzkaller-00143-gb5cbe7c00aa0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 ==================================================================