[PATCH] arm64: kdump: update ppos when reading elfcorehdr
Will Deacon
will at kernel.org
Mon Mar 22 13:19:57 GMT 2021
On Fri, 19 Mar 2021 16:50:54 -0400, Pavel Tatashin wrote:
> The ppos points to a position in the old kernel memory (and in case of
> arm64 in the crash kernel since elfcorehdr is passed as a segment). The
> function should update the ppos by the amount that was read. This bug is
> not exposed by accident, but other platforms update this value properly.
> So, fix it in ARM64 version of elfcorehdr_read() as well.
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: kdump: update ppos when reading elfcorehdr
https://git.kernel.org/arm64/c/141f8202cfa4
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list