summaryrefslogtreecommitdiffstats
path: root/drivers/dax/bus.h
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2021-02-19 14:59:35 +0800
committerLey Foon Tan <ley.foon.tan@intel.com>2021-02-19 15:01:59 +0800
commitc26958cb5a0d9053d1358258827638773f3d36ed (patch)
tree26c85414097e72c6a4462d50f7fe23a5044a134f /drivers/dax/bus.h
parentf40ddce88593482919761f74910f42f4b84c004b (diff)
downloadlinux-c26958cb5a0d9053d1358258827638773f3d36ed.tar.gz
linux-c26958cb5a0d9053d1358258827638773f3d36ed.tar.bz2
linux-c26958cb5a0d9053d1358258827638773f3d36ed.zip
Take mmap lock in cacheflush syscall
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: 1000197d8013 ("nios2: System calls handling") Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'drivers/dax/bus.h')
0 files changed, 0 insertions, 0 deletions