Home
last modified time | relevance | path

Searched hist:a626ca6a656450e9f4df91d0dda238fff23285f4 (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dmmap.cdiff a626ca6a656450e9f4df91d0dda238fff23285f4 Wed Apr 13 17:07:28 CEST 2011 Linus Torvalds <torvalds@linux-foundation.org> 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>