binfmt: Fix error return code in load_elf_fdpic_binary()
stable inclusion from stable-v4.19.270 commit 72bd0b5cdbcbe31d6644960cdbcbc33d1b4b658d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6DPF8 CVE: NA -------------------------------- [ Upstream commit e7f703ff ] Fix to return a negative error code from create_elf_fdpic_tables() instead of 0. Fixes: 1da177e4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Signed-off-by:Wang Yufen <wangyufen@huawei.com> Signed-off-by:
Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/1669945261-30271-1-git-send-email-wangyufen@huawei.com Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>
Loading
Please sign in to comment