================================================================== BUG: KCSAN: data-race in exec_mmap / unmap_region write to 0xffff8881064dd0b0 of 8 bytes by task 1475 on cpu 1: update_hiwater_rss include/linux/mm.h:2102 [inline] unmap_region+0x12b/0x1e0 mm/mmap.c:2648 __do_munmap+0xeb5/0x1310 mm/mmap.c:2883 __vm_munmap mm/mmap.c:2906 [inline] __do_sys_munmap+0x9f/0x160 mm/mmap.c:2932 __se_sys_munmap mm/mmap.c:2928 [inline] __x64_sys_munmap+0x2d/0x40 mm/mmap.c:2928 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881064dd0b0 of 8 bytes by task 16190 on cpu 0: get_mm_hiwater_rss include/linux/mm.h:2089 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2119 [inline] exec_mmap+0x1e3/0x360 fs/exec.c:1026 begin_new_exec+0x73e/0x12c0 fs/exec.c:1286 load_elf_binary+0x54d/0x2750 fs/binfmt_elf.c:1001 search_binary_handler fs/exec.c:1723 [inline] exec_binprm+0x1d9/0x720 fs/exec.c:1764 bprm_execve+0x3b5/0x520 fs/exec.c:1833 do_execveat_common+0x63b/0x700 fs/exec.c:1922 do_execve fs/exec.c:1990 [inline] __do_sys_execve fs/exec.c:2066 [inline] __se_sys_execve fs/exec.c:2061 [inline] __x64_sys_execve+0x56/0x70 fs/exec.c:2061 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000000000000029f -> 0x00000000000002a0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 16190 Comm: dhcpcd Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================