original_kernel/mm
Johannes Weiner 556637cdab mm: fix possible off-by-one in walk_pte_range()
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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:16 -07:00
..
Kconfig
Makefile uaccess: add probe_kernel_write() 2008-04-17 20:05:36 +02:00
allocpercpu.c cpumask: Cleanup more uses of CPU_MASK and NODE_MASK 2008-04-19 19:44:58 +02:00
backing-dev.c
bootmem.c mm: allow reserve_bootmem() cross nodes 2008-04-26 22:51:08 +02:00
bounce.c
dmapool.c
fadvise.c
filemap.c
filemap_xip.c
fremap.c
highmem.c
hugetlb.c hugetlb: fix potential livelock in return_unused_surplus_hugepages() 2008-03-26 15:01:33 -07:00
internal.h
maccess.c kgdb: fix optional arch functions and probe_kernel_* 2008-04-17 20:05:39 +02:00
madvise.c
memcontrol.c memcg: fix node_state handling 2008-04-08 18:25:53 -07:00
memory.c
memory_hotplug.c driver core: memory: semaphore to mutex 2008-04-19 19:10:19 -07:00
mempolicy.c
mempool.c
migrate.c
mincore.c
mlock.c
mmap.c
mmzone.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c memcg: fix oops in oom handling 2008-04-15 19:35:40 -07:00
page-writeback.c
page_alloc.c nodemask: use new node_to_cpumask_ptr function 2008-04-19 19:44:59 +02:00
page_io.c
page_isolation.c
pagewalk.c mm: fix possible off-by-one in walk_pte_range() 2008-04-28 08:58:16 -07:00
pdflush.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial 2008-04-21 16:36:46 -07:00
prio_tree.c
quicklist.c
readahead.c
rmap.c s390: KVM preparation: host memory management changes for s390 kvm 2008-04-27 12:00:40 +03:00
shmem.c
shmem_acl.c
slab.c nodemask: use new node_to_cpumask_ptr function 2008-04-19 19:44:59 +02:00
slob.c
slub.c slab_err: Pass parameters correctly to slab_bug 2008-04-23 12:47:48 -07:00
sparse-vmemmap.c NULL noise: fs/*, mm/*, kernel/* 2008-03-30 14:18:41 -07:00
sparse.c x86_64/mm: check and print vmemmap allocation continuous 2008-04-26 22:51:09 +02:00
swap.c
swap_state.c
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
util.c
vmalloc.c
vmscan.c nodemask: use new node_to_cpumask_ptr function 2008-04-19 19:44:59 +02:00
vmstat.c add "Isolate" migratetype name to /proc/pagetypeinfo 2008-04-15 19:35:41 -07:00