summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-02-19 16:46:57 +0000
committerWill Deacon <will.deacon@arm.com>2018-02-19 17:07:12 +0000
commita06f818a70de21b4b3b4186816094208fc7accf9 (patch)
tree4b5ec2e02b5589b5ed8b7541b465c64985ae729d /arch/arm/mach-ux500
parent1962682d2b2fbe6cfa995a85c53c069fadda473e (diff)
arm64: __show_regs: Only resolve kernel symbols when running at EL1
__show_regs pretty prints PC and LR by attempting to map them to kernel function names to improve the utility of crash reports. Unfortunately, this mapping is applied even when the pt_regs corresponds to user mode, resulting in a KASLR oracle. Avoid this issue by only looking up the function symbols when the register state indicates that we're actually running at EL1. Cc: <stable@vger.kernel.org> Reported-by: NCSC Security <security@ncsc.gov.uk> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/mach-ux500')
0 files changed, 0 insertions, 0 deletions