diff options
author | 2023-07-08 12:12:10 -0700 | |
---|---|---|
committer | 2023-07-08 14:08:02 -0700 | |
commit | c137381f71aec755fbf47cd4e9bd4dce752c054c (patch) | |
tree | 13f8dc7926e331b638e943a6759f9be7c87b7484 /lib/string_helpers.c | |
parent | Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (diff) | |
download | wireguard-linux-c137381f71aec755fbf47cd4e9bd4dce752c054c.tar.xz wireguard-linux-c137381f71aec755fbf47cd4e9bd4dce752c054c.zip |
mm: lock a vma before stack expansion
With recent changes necessitating mmap_lock to be held for write while
expanding a stack, per-VMA locks should follow the same rules and be
write-locked to prevent page faults into the VMA being expanded. Add
the necessary locking.
Cc: stable@vger.kernel.org
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions