diff options
author | Wei Li <liwei391@huawei.com> | 2019-04-01 05:55:57 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-04-04 17:02:25 +0200 |
commit | 1c41860864c8ae0387ef7d44f0000e99cbb2e06d (patch) | |
tree | 3eb98c1d7d1707eefe047067f22cf3017460adf4 /arch/arm64/include/asm/syscall.h | |
parent | Linux 5.1-rc3 (diff) | |
download | linux-1c41860864c8ae0387ef7d44f0000e99cbb2e06d.tar.xz linux-1c41860864c8ae0387ef7d44f0000e99cbb2e06d.zip |
arm64: fix wrong check of on_sdei_stack in nmi context
When doing unwind_frame() in the context of pseudo nmi (need enable
CONFIG_ARM64_PSEUDO_NMI), reaching the bottom of the stack (fp == 0,
pc != 0), function on_sdei_stack() will return true while the sdei acpi
table is not inited in fact. This will cause a "NULL pointer dereference"
oops when going on.
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Wei Li <liwei391@huawei.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/syscall.h')
0 files changed, 0 insertions, 0 deletions