[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174660459083.2542293.85268453831284543.b4-ty@linux.dev>
Date: Wed, 7 May 2025 00:56:51 -0700
From: Oliver Upton <oliver.upton@...ux.dev>
To: Marc Zyngier <maz@...nel.org>,
Sebastian Ott <sebott@...hat.com>
Cc: Oliver Upton <oliver.upton@...ux.dev>,
Quentin Perret <qperret@...gle.com>,
Fuad Tabba <tabba@...gle.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Mark Brown <broonie@...nel.org>,
Mark Rutland <mark.rutland@....com>,
linux-arm-kernel@...ts.infradead.org,
kvmarm@...ts.linux.dev,
linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
On Mon, 05 May 2025 19:31:48 +0200, Sebastian Ott wrote:
> Commit fce886a60207 ("KVM: arm64: Plumb the pKVM MMU in KVM") made the
> initialization of the local memcache variable in user_mem_abort()
> conditional, leaving a codepath where it is used uninitialized via
> kvm_pgtable_stage2_map().
>
> This can fail on any path that requires a stage-2 allocation
> without transition via a permission fault or dirty logging.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
https://git.kernel.org/kvmarm/kvmarm/c/157dbc4a321f
--
Best,
Oliver
Powered by blists - more mailing lists