summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/module.lds.h
diff options
context:
space:
mode:
authorqiuguorui1 <qiuguorui1@huawei.com>2021-02-18 13:59:00 +0100
committerWill Deacon <will@kernel.org>2021-02-19 18:57:40 +0100
commit656d1d58d8e0958d372db86c24f0b2ea36f50888 (patch)
treebb5eb10bb29bf51c58215bab4557073248cb5606 /arch/arm64/include/asm/module.lds.h
parentarm64: spectre: Prevent lockdep splat on v4 mitigation enable path (diff)
downloadlinux-656d1d58d8e0958d372db86c24f0b2ea36f50888.tar.xz
linux-656d1d58d8e0958d372db86c24f0b2ea36f50888.zip
arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
in function create_dtb(), if fdt_open_into() fails, we need to vfree buf before return. Fixes: 52b2a8af7436 ("arm64: kexec_file: load initrd and device-tree") Cc: stable@vger.kernel.org # v5.0 Signed-off-by: qiuguorui1 <qiuguorui1@huawei.com> Link: https://lore.kernel.org/r/20210218125900.6810-1-qiuguorui1@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/module.lds.h')
0 files changed, 0 insertions, 0 deletions