[PATCH v2 0/2] KVM: arm64: Prevent kmemleak from accessing HYP data
Marc Zyngier
maz at kernel.org
Wed Aug 4 05:26:37 PDT 2021
On Mon, 2 Aug 2021 13:38:28 +0100, Marc Zyngier wrote:
> This is a rework of the patch previously posted at [1].
>
> The gist of the problem is that kmemleak can legitimately access data
> that has been removed from the kernel view, for two reasons:
>
> (1) .hyp.rodata is lumped together with the BSS
> (2) there is no separation of the HYP BSS from the kernel BSS
>
> [...]
Applied to next, thanks!
[1/2] arm64: Move .hyp.rodata outside of the _sdata.._edata range
commit: eb48d154cd0dade56a0e244f0cfa198ea2925ed3
[2/2] KVM: arm64: Unregister HYP sections from kmemleak in protected mode
commit: 47e6223c841e029bfc23c3ce594dac5525cebaf8
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list