x86/crash: Correct the address boundary of function parameters
authorLianbo Jiang <lijiang@redhat.com>
Tue, 4 Aug 2020 04:49:31 +0000 (12:49 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 6 Aug 2020 23:32:00 +0000 (01:32 +0200)
commita3e1c3bb24e2ff2927af5e30c2bebe669bb84196
tree5d9c604dee52a56c20e9c55b2f21b8af349643d4
parent4c7bfa383efd837d4ab8f86ef05886959ed8bfe5
x86/crash: Correct the address boundary of function parameters

Let's carefully handle the boundary of the function parameter to make
sure that the arguments passed doesn't exceed the address range.

Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Dave Young <dyoung@redhat.com>
Link: https://lore.kernel.org/r/20200804044933.1973-2-lijiang@redhat.com
arch/x86/kernel/crash.c