libnvdimm/btt: Fix a kmemdup failure check
Aditya Pakki authored
[ Upstream commit 486fa92d

 ]

In case kmemdup fails, the fix releases resources and returns to
avoid the NULL pointer dereference.
Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
32423424
Name Last commit Last update
Documentation x86/speculation/mds: Fix documentation typo
arch x86/speculation/mds: Add 'mitigations=' support for MDS
block block: do not leak memory in bio_copy_user_iov()
certs Replace magic for trusting the secondary keyring with #define
crypto crypto: x86/poly1305 - fix overflow during partial reduction
drivers libnvdimm/btt: Fix a kmemdup failure check
firmware License cleanup: add SPDX GPL-2.0 license identifier to files with no license
fs kernfs: fix barrier usage in __kernfs_new_node()
include cpu/speculation: Add 'mitigations=' cmdline option
init Revert "mm: use early_pfn_to_nid in page_ext_init"
ipc ipc/sem.c: prevent queue.status tearing in semop
kernel cpu/speculation: Add 'mitigations=' cmdline option
lib ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
mm slab: fix a crash by reading /proc/slab_allocators
net netfilter: compat: initialize all fields in xt_init
samples samples: mei: use /dev/mei0 instead of /dev/mei
scripts kconfig/[mn]conf: handle backspace (^H) key
security selinux: never allow relabeling on context mounts
sound ASoC: Intel: avoid Oops if DMA setup fails
tools x86/msr-index: Cleanup bit defines
usr initramfs: fix initramfs rebuilds w/ compression after disabling
virt KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address
COPYING [PATCH] update FSF address in COPYING
CREDITS MAINTAINERS: update TPM driver infrastructure changes
Kbuild License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license
MAINTAINERS MAINTAINERS: Add Sasha as a stable branch maintainer
Makefile Linux 4.14.119
README README: add a new README file, pointing to the Documentation/
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

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.