================================================================== BUG: KCSAN: data-race in exec_mmap / vms_clear_ptes write to 0xffff888101fd4638 of 8 bytes by task 3059 on cpu 0: update_hiwater_rss include/linux/mm.h:2666 [inline] vms_clear_ptes+0x1a7/0x300 mm/vma.c:1135 vms_complete_munmap_vmas+0x16c/0x470 mm/vma.c:1185 do_vmi_align_munmap+0x344/0x390 mm/vma.c:1444 do_vmi_munmap+0x1eb/0x230 mm/vma.c:1492 __vm_munmap+0xfd/0x220 mm/mmap.c:1367 __do_sys_munmap mm/mmap.c:1384 [inline] __se_sys_munmap mm/mmap.c:1381 [inline] __x64_sys_munmap+0x36/0x40 mm/mmap.c:1381 x64_sys_call+0xe14/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:12 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff888101fd4638 of 8 bytes by task 4086 on cpu 1: get_mm_hiwater_rss include/linux/mm.h:2653 [inline] setmax_mm_hiwater_rss include/linux/mm.h:2683 [inline] exec_mmap+0x35c/0x4d0 fs/exec.c:1012 begin_new_exec+0xaf9/0x10b0 fs/exec.c:1270 load_elf_binary+0x63b/0x19e0 fs/binfmt_elf.c:1002 search_binary_handler fs/exec.c:1742 [inline] exec_binprm fs/exec.c:1784 [inline] bprm_execve+0x4e6/0xc30 fs/exec.c:1835 do_execveat_common+0x793/0x800 fs/exec.c:1942 do_execve fs/exec.c:2016 [inline] __do_sys_execve fs/exec.c:2092 [inline] __se_sys_execve fs/exec.c:2087 [inline] __x64_sys_execve+0x5a/0x70 fs/exec.c:2087 x64_sys_call+0x1333/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:60 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000000262 -> 0x0000000000000282 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 4086 Comm: dhcpcd Not tainted 6.12.0-syzkaller-09435-g2c22dc1ee3a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================