Files
twx-linux/mm
Johannes Weiner de15f7b048 mm: fix possible off-by-one in walk_pte_range()
commit 556637cdab upstream


After the loop in walk_pte_range() pte might point to the first address after
the pmd it walks.  The pte_unmap() is then applied to something bad.

Spotted by Roel Kluin and Andreas Schwab.

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Cc: Roel Kluin <12o3l@tiscali.nl>
Cc: Andreas Schwab <schwab@suse.de>
Acked-by: Matt Mackall <mpm@selenic.com>
Acked-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-01 14:44:38 -07:00
..
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00
2008-04-08 18:25:53 -07:00
2008-02-08 18:57:39 -08:00
2008-04-15 19:35:40 -07:00
2008-02-05 09:44:19 -08:00
2008-03-19 18:53:35 -07:00
2008-04-15 19:30:19 -07:00
2008-03-19 18:53:35 -07:00
2008-03-19 18:53:35 -07:00