Re: [PATCH] x86, relocs: Ignore relocations in .notes section on walk_relocs

From: Kees Cook
Date: Mon Mar 25 2024 - 17:50:21 EST


On Sat, Mar 23, 2024 at 11:38:27AM +0100, Borislav Petkov wrote:
> On Fri, Mar 22, 2024 at 04:40:11PM -0700, Kees Cook wrote:
> > The earlier patch, commit aaa8736370db ("x86, relocs: Ignore relocations
> > in .notes section"), landed via my tree. It was sent out on Feb 22nd
> > (v1[1]) and got a suggestion from HPA and a Review from Juergen Gross.
> > I sent v2 Feb 27th[2] and it sat ignored for two weeks.
>
> s/ignored for two weeks/missed in the avalance of patches/
>
> > Since it was a 10 year old kernel address exposure, I sent it to Linus
> > on Mar 12th[3].
>
> So is there some unwritten understanding somewhere which says that you
> should take tip patches through your tree?
>
> Maybe I've missed it.
>
> If there isn't, should we agree on something?
>
> Because there clearly is a need for clarification here...

Yeah, happy to figure this out. How should I handle x86 patches that
maintainers haven't responded to when they have security bug fix
implications? For all the security hardening stuff I usually just ping
every few weeks, but those don't usually tend to be urgent.

In this case, I felt like since it was a trivial fix, HPA had already
implied it was a sensible change, and Juergen had reviewed it, it seemed
like it wouldn't be disruptive to take it, given the timing of the merge
window, etc.

--
Kees Cook