================================================================== BUG: KCSAN: data-race in exec_mmap / unmap_region write to 0xffff88810376a8b0 of 8 bytes by task 1473 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 0xffff88810376a8b0 of 8 bytes by task 10135 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+0x7b2/0x1050 fs/exec.c:1292 load_elf_binary+0x62a/0x1970 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1726 [inline] exec_binprm+0x1d9/0x800 fs/exec.c:1767 bprm_execve+0x379/0x4e0 fs/exec.c:1836 do_execveat_common+0x853/0x960 fs/exec.c:1941 do_execve fs/exec.c:2015 [inline] __do_sys_execve fs/exec.c:2091 [inline] __se_sys_execve fs/exec.c:2086 [inline] __x64_sys_execve+0x56/0x70 fs/exec.c:2086 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: 0x00000000000002b7 -> 0x00000000000002ba Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10135 Comm: dhcpcd Not tainted 6.0.0-syzkaller-00593-g725737e7c21d-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 ==================================================================