Go to file
Liviu Dudau 6ade20327d 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: f3c01d2f3a ("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>
2019-03-05 21:07:14 -08:00
arch sh: remove nargs from __SYSCALL 2019-03-05 21:07:13 -08:00
block
certs
crypto
Documentation mm: convert PG_balloon to PG_offline 2019-03-05 21:07:14 -08:00
drivers vmw_balloon: mark inflated pages PG_offline 2019-03-05 21:07:14 -08:00
firmware
fs mm: convert PG_balloon to PG_offline 2019-03-05 21:07:14 -08:00
include mm: convert PG_balloon to PG_offline 2019-03-05 21:07:14 -08:00
init
ipc
kernel PM/Hibernate: exclude all PageOffline() pages 2019-03-05 21:07:14 -08:00
lib
LICENSES
mm mm/vmalloc.c: don't dereference possible NULL pointer in __vunmap() 2019-03-05 21:07:14 -08:00
net
samples
scripts scripts/decode_stacktrace.sh: handle RIP address with segment 2019-03-05 21:07:13 -08:00
security
sound
tools mm: convert PG_balloon to PG_offline 2019-03-05 21:07:14 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.