================================================================== BUG: KCSAN: data-race in exec_mmap / unmap_region write to 0xffff8881014c88b0 of 8 bytes by task 1479 on cpu 0: update_hiwater_rss include/linux/mm.h:2074 [inline] unmap_region+0x12b/0x1e0 mm/mmap.c:2667 __do_munmap+0xd85/0x11b0 mm/mmap.c:2882 __vm_munmap mm/mmap.c:2905 [inline] __do_sys_munmap+0x97/0x150 mm/mmap.c:2930 __se_sys_munmap mm/mmap.c:2927 [inline] __x64_sys_munmap+0x2d/0x40 mm/mmap.c:2927 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+0x46/0xb0 read to 0xffff8881014c88b0 of 8 bytes by task 1974 on cpu 1: get_mm_hiwater_rss include/linux/mm.h:2061 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2091 [inline] exec_mmap+0x1e3/0x360 fs/exec.c:1036 begin_new_exec+0x7a2/0x1010 fs/exec.c:1297 load_elf_binary+0x62a/0x1970 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1728 [inline] exec_binprm+0x1d9/0x800 fs/exec.c:1769 bprm_execve+0x379/0x4e0 fs/exec.c:1838 do_execveat_common+0x853/0x960 fs/exec.c:1943 do_execve fs/exec.c:2017 [inline] __do_sys_execve fs/exec.c:2093 [inline] __se_sys_execve fs/exec.c:2088 [inline] __x64_sys_execve+0x56/0x70 fs/exec.c:2088 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+0x46/0xb0 value changed: 0x00000000000002a3 -> 0x00000000000002a4 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1974 Comm: dhcpcd Not tainted 5.19.0-rc5-syzkaller-00200-ga471da3100ef-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 ==================================================================