From: Arve Hjønnevåg Date: Thu, 8 Mar 2012 23:43:36 +0000 (-0800) Subject: Staging: android: binder: Fix use-after-free bug X-Git-Tag: v3.4-rc1~186^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a90957f2cfc2bf0b705a62a97830cf0d42a5a40;p=pandora-kernel.git Staging: android: binder: Fix use-after-free bug binder_update_page_range could read freed memory if the vma of the selected process was freed right before the check that the vma belongs to the mm struct it just locked. If the vm_mm pointer in that freed vma struct had also been rewritten with a value that matched the locked mm struct, then the code would proceed and possibly modify the freed vma. Signed-off-by: Arve Hjønnevåg Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed