summaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm
diff options
context:
space:
mode:
authorLiviu Dudau <liviu@dudau.co.uk>2019-03-06 00:42:54 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-06 06:07:14 +0100
commit6ade20327dbb808882888ed8ccded71e93067cf9 (patch)
tree91f168af07d0bd54d5df81835ace554a64b1c0c1 /arch/ia64/mm
parentPM/Hibernate: exclude all PageOffline() pages (diff)
downloadlinux-6ade20327dbb808882888ed8ccded71e93067cf9.tar.xz
linux-6ade20327dbb808882888ed8ccded71e93067cf9.zip
mm/vmalloc.c: don't dereference possible NULL pointer in __vunmap()
find_vmap_area() can return a NULL pointer and we're going to dereference it without checking it first. Use the existing find_vm_area() function which does exactly what we want and checks for the NULL pointer. Link: http://lkml.kernel.org/r/20181228171009.22269-1-liviu@dudau.co.uk Fixes: f3c01d2f3ade ("mm: vmalloc: avoid racy handling of debugobjects in vunmap") Signed-off-by: Liviu Dudau <liviu@dudau.co.uk> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Chintan Pandya <cpandya@codeaurora.org> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/mm')
0 files changed, 0 insertions, 0 deletions