diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-13 08:07:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-13 08:07:28 -0700 |
commit | a626ca6a656450e9f4df91d0dda238fff23285f4 (patch) | |
tree | 7de7fabc83baf1312805d9b5f28f01d1adf3f7fd /usr | |
parent | 60d48c1e67dc8de0676453de18adba1768fb6fab (diff) | |
download | lwn-a626ca6a656450e9f4df91d0dda238fff23285f4.tar.gz lwn-a626ca6a656450e9f4df91d0dda238fff23285f4.zip |
vm: fix vm_pgoff wrap in stack expansion
Commit 982134ba6261 ("mm: avoid wrapping vm_pgoff in mremap()") fixed
the case of a expanding mapping causing vm_pgoff wrapping when you used
mremap. But there was another case where we expand mappings hiding in
plain sight: the automatic stack expansion.
This fixes that case too.
This one also found by Robert Święcki, using his nasty system call
fuzzer tool. Good job.
Reported-and-tested-by: Robert Święcki <robert@swiecki.net>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions