================================================================== BUG: KCSAN: data-race in exec_mmap / unmap_region write to 0xffff88810451b4b0 of 8 bytes by task 1474 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 0xffff88810451b4b0 of 8 bytes by task 8958 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+0x226/0x3a0 fs/exec.c:1039 begin_new_exec+0x7b2/0x1050 fs/exec.c:1300 load_elf_binary+0x62a/0x1970 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1734 [inline] exec_binprm+0x1d9/0x800 fs/exec.c:1775 bprm_execve+0x379/0x4e0 fs/exec.c:1844 do_execveat_common+0x853/0x960 fs/exec.c:1949 do_execve fs/exec.c:2023 [inline] __do_sys_execve fs/exec.c:2099 [inline] __se_sys_execve fs/exec.c:2094 [inline] __x64_sys_execve+0x56/0x70 fs/exec.c:2094 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: 0x00000000000002ad -> 0x00000000000002ae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8958 Comm: dhcpcd Not tainted 6.0.0-rc4-syzkaller-00062-g0066f1b0e275-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ==================================================================