Thread (9 messages) 9 messages, 3 authors, 2021-08-04

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

From: Marc Zyngier <maz@kernel.org>
Date: 2021-08-04 12:28:55
Also in: kvmarm, linux-arm-kernel

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.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help