Re: CVE-2023-52451: powerpc/pseries/memhp: Fix access beyond end of drmem array

From: Jiri Kosina
Date: Thu Feb 29 2024 - 12:36:21 EST


On Thu, 29 Feb 2024, Jiri Kosina wrote:

> - you pointed to a fix for UAF in BPF, which definitely is a good fix to
> have, I don't even dispute that CVE is justified in this particular
> case. What I haven't yet seen though how this connects to in my view
> rather serious 'trivial to get root' statement

To elaborate on this a little bit more -- I completely agree that this fix
is completely in-line with what Kees is, in my view, quite nicely
describing at [1]. You pointed to a weakness (for which a fix *is* in our
queue), sure.

But I see a HUGE leap from "fixes a weakness" to bold, aggressive and in
my view exaggerating statements a-la "I am able to trivially pwn any
kernel which is not -stable".

[1] https://lore.kernel.org/all/D06F40E5-0DBC-4FF2-BAF5-2373BDF3815C@xxxxxxxxxx/

--
Jiri Kosina
SUSE Labs