Linus Torvalds
a626ca6a65
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>
2011-04-13 08:07:28 -07:00
..
2011-03-31 11:26:23 -03:00
2011-03-23 19:47:19 -07:00
2010-09-09 18:57:25 -07:00
2011-03-22 17:44:05 -07:00
2009-04-01 08:59:13 -07:00
2011-01-13 17:32:48 -08:00
2010-03-06 11:26:25 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2011-03-24 19:01:30 -07:00
2010-09-25 09:34:58 -07:00
2010-10-27 18:03:05 -07:00
2011-03-22 17:44:05 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-08-09 20:44:54 -07:00
2011-03-31 11:26:23 -03:00
2011-01-26 10:50:02 +10:00
2011-03-22 17:44:02 -07:00
2010-03-30 22:02:32 +09:00
2011-01-27 18:31:51 +00:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-27 17:29:01 +01:00
2011-01-13 17:32:47 -08:00
2011-02-24 14:43:05 +01:00
2011-03-22 17:44:09 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:15:51 -07:00
2011-03-22 17:44:04 -07:00
2009-09-22 07:17:35 -07:00
2011-03-31 11:26:23 -03:00
2011-01-13 17:32:44 -08:00
2011-04-12 14:15:51 -07:00
2008-08-20 15:40:30 -07:00
2011-04-13 08:07:28 -07:00
2010-03-24 16:31:21 -07:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:31 -08:00
2011-01-13 17:32:44 -08:00
2011-04-07 07:35:51 -07:00
2010-05-21 18:31:21 -04:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:05:12 +01:00
2011-03-24 17:49:37 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-10 08:52:27 +01:00
2010-10-26 16:52:11 -07:00
2011-03-24 10:16:26 -07:00
2011-03-22 17:44:04 -07:00
2010-10-02 10:28:42 +03:00
2011-01-13 17:32:34 -08:00
2011-03-31 11:26:23 -03:00
2011-01-26 10:49:58 +10:00
2007-10-20 01:27:18 +02:00
2010-03-30 22:02:32 +09:00
2011-03-10 08:52:26 +01:00
2011-03-24 21:17:51 -04:00
2011-03-24 10:16:26 -07:00
2011-03-31 11:26:23 -03:00
2011-01-23 21:00:05 +02:00
2011-03-31 11:26:23 -03:00
2010-11-01 15:38:34 -04:00
2011-03-31 11:26:23 -03:00
2011-03-10 08:52:07 +01:00
2011-03-22 17:44:09 -07:00
2011-03-24 10:16:26 -07:00
2009-06-23 12:50:05 -07:00
2011-03-22 17:44:03 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:09 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:05 -07:00