-
Jann Horn authored
We need to take the mmap lock around find_vma() and subsequent use of the VMA. Otherwise, we can race with concurrent operations like munmap(), which can lead to use-after-free accesses to freed VMAs. Fixes: 1000197d ("nios2: System calls handling") Signed-off-by:
Jann Horn <jannh@google.com> Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com>
c26958cbJann Horn authoredWe need to take the mmap lock around find_vma() and subsequent use of the VMA. Otherwise, we can race with concurrent operations like munmap(), which can lead to use-after-free accesses to freed VMAs. Fixes: 1000197d ("nios2: System calls handling") Signed-off-by:
Jann Horn <jannh@google.com> Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com>
Loading