Re: [PATCH v2 0/2] KVM: arm64: Prevent kmemleak from accessing HYP data

2021-08-04 Thread Marc Zyngier
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

[PATCH v2 0/2] KVM: arm64: Prevent kmemleak from accessing HYP data

2021-08-02 Thread Marc Zyngier
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