From: Eduardo Valentin <edubezval@gmail.com>
To: Jiri Kosina <jikos@kernel.org>
Cc: ksummit <ksummit-discuss@lists.linuxfoundation.org>
Subject: Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] Handling of embargoed security issues
Date: Thu, 6 Sep 2018 15:51:04 -0700 [thread overview]
Message-ID: <20180906225103.GA2251@localhost.localdomain> (raw)
In-Reply-To: <nycvar.YFH.7.76.1809062301480.15880@cbobk.fhfr.pm>
Hello,
On Thu, Sep 06, 2018 at 11:14:08PM +0200, Jiri Kosina wrote:
> On Thu, 6 Sep 2018, Linus Torvalds wrote:
>
> > > I am not completely sure what we could do to improve this, especially with
> > > our kernel community hats on -- I am pretty sure a lot is happening on the
> > > corporate level between individual "corporate stakeholders".
> >
> > One particular pain point this last time around were the stable
> > backports, I feel.
> >
Totally agree.
> > A lot of that was that the actual *fixes* were marked for stable, but
> > quite often they were preceded by cleanups and other updates that
> > didn't actually fix things directly, and that weren't in themselves
> > explicitly marked for stable and didn't have a Fixes: tag, because
> > they were prep-work.
> >
> > So we had _several_ nasty regressions in stable that never showed up
> > in mainline, because there was some non-obvious dependency that didn't
> > cause a merge conflict, but did cause a "this commit needed that other
> > commit to work right".
>
Yeah, I think the later case of hidden dependencies is nastier to
deal with than the first case of long patchset with lots of rework.
And I remember the meltdown spectre case required quite a lot of elbow
grease from different involved developers to find those hidden patches,
specially on backports to kernels older than 4.14. Obviously with help
from more experienced x86 maintainers, eventually things were fixed.
Now, one thing that really helped was the fact that 4.14.y backport was
done by the x86 maintainers. However, it is not feasible to expect that
happening for all stable branches, like it did not happen during the
spectre/meltdown story.
> I fully agree that this is an issue for stable. On the other hand, I would
> be reasonably sure this has been equally painful issue for stable even
> before this particular disaster (and all the preceeding stable discussions
> on this very ML sort of do support that).
>
> > We should probably at least think about having a way to mark those.
> > Something like a "for-stable-because-of-subsequent-patches" tag?
> >
> > Or just more eager use of the table cc? I often feel bad about adding
> > "cc: stable" to preparatory patches that don't actually fix the bug,
> > but I think it was bad this time around.
>
> Maybe at least partial solution (or first step) to this would be to
> somehow make sure that "these patches form an actual patchset that belongs
> together and is in fact one single thing" information somehow gets
> preserved in maintainer's / your tree.
>
> It's sort-of achievable if everybody (not only the patchset producers, but
> also the consumers) would be very familiar with the idea of strictly topic
> git branches, but that's probably not realistic.
>
> I currently have no good idea how exactly this should be done technically,
> but certainly it's doable and would be of a tremendous help to downstream,
> older-codebase consumers of your tree.
Well, keeping the topic branch for future reference can help yes. Now,
the more problematic part is the dependencies needed due to changes that
happened after the target backport kernel (say 4.9.y) and the reference
backport / topic branch (say 4.15), but that were not necessarily part
of the original patch set that either prepare the code or really fixes
the issue finally.
And that even brings the question if all of those should be brought to
stable, or if some other version of the fix should be considered.
>
> > Of course, I also hope that we're over the worst.
>
> Fully agreed. Also, I hope that world is flat :)
>
hehe..
> Thanks,
>
> --
> Jiri Kosina
> SUSE Labs
>
> _______________________________________________
> Ksummit-discuss mailing list
> Ksummit-discuss@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss
next prev parent reply other threads:[~2018-09-06 22:51 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-06 19:18 Jiri Kosina
2018-09-06 20:56 ` Linus Torvalds
2018-09-06 21:14 ` Jiri Kosina
2018-09-06 22:51 ` Eduardo Valentin [this message]
2018-09-07 9:17 ` Jani Nikula
2018-09-07 14:43 ` David Woodhouse
2018-09-06 22:55 ` Eduardo Valentin
2018-09-07 8:21 ` Geert Uytterhoeven
2018-09-10 23:26 ` Eduardo Valentin
2018-09-11 8:45 ` Greg KH
2018-09-11 17:10 ` Dave Hansen
2018-09-11 18:28 ` Greg KH
2018-09-11 18:44 ` Thomas Gleixner
2018-09-07 13:30 ` Jiri Kosina
2018-09-09 12:55 ` Greg KH
2018-09-09 19:48 ` Jiri Kosina
2018-09-10 4:04 ` Eduardo Valentin
2018-09-12 7:03 ` Greg KH
2018-09-10 4:12 ` Eduardo Valentin
2018-09-10 11:10 ` Mark Brown
2018-09-12 4:22 ` Balbir Singh
2018-09-08 4:21 ` Andy Lutomirski
2018-09-08 8:56 ` Thomas Gleixner
2018-09-08 11:21 ` Mauro Carvalho Chehab
2018-09-08 11:34 ` Greg KH
2018-09-08 14:20 ` Andy Lutomirski
2018-09-08 15:29 ` Greg KH
2018-09-08 15:00 ` James Bottomley
2018-09-08 15:32 ` Greg KH
2018-09-08 15:54 ` James Bottomley
2018-09-08 19:49 ` Linus Torvalds
2018-09-08 21:24 ` James Bottomley
2018-09-08 22:33 ` Andy Lutomirski
2018-09-09 12:18 ` Mauro Carvalho Chehab
2018-09-10 22:59 ` Dave Hansen
2018-09-11 8:48 ` Greg KH
2018-09-09 12:51 ` Greg KH
2018-09-09 14:20 ` Linus Torvalds
2018-09-09 14:38 ` James Bottomley
2018-09-09 14:51 ` Andy Lutomirski
2018-09-09 17:20 ` Theodore Y. Ts'o
2018-09-09 17:48 ` David Woodhouse
2018-09-09 18:17 ` Andy Lutomirski
2018-09-09 18:56 ` Theodore Y. Ts'o
2018-09-09 19:19 ` Andy Lutomirski
2018-09-09 20:20 ` Jiri Kosina
2018-09-09 21:36 ` James Bottomley
2018-09-10 9:25 ` Thomas Gleixner
2018-09-10 14:40 ` James Bottomley
2018-09-11 8:20 ` Jiri Kosina
2018-09-11 9:03 ` Thomas Gleixner
2018-09-09 19:41 ` Jiri Kosina
2018-09-08 19:26 ` Jiri Kosina
2018-09-08 19:47 ` James Bottomley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180906225103.GA2251@localhost.localdomain \
--to=edubezval@gmail.com \
--cc=jikos@kernel.org \
--cc=ksummit-discuss@lists.linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox