From: Kees Cook <kees@kernel.org>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org, Eric Biggers <ebiggers@kernel.org>,
Ingo Saitz <ingo@hannover.ccc.de>,
kernel test robot <oliver.sang@intel.com>,
Marco Elver <elver@google.com>,
Nathan Chancellor <nathan@kernel.org>,
Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Subject: Re: [GIT PULL] hardening fixes for v6.16-rc1
Date: Sun, 1 Jun 2025 11:56:59 -0700 [thread overview]
Message-ID: <202506011152.6D1E4F33B@keescook> (raw)
In-Reply-To: <20250601-electric-olivine-wren-d8c5ca@lemur>
On Sun, Jun 01, 2025 at 01:58:27PM -0400, Konstantin Ryabitsev wrote:
> On Sun, Jun 01, 2025 at 08:38:10AM -0700, Kees Cook wrote:
> > > I don't yet know why it wants to rewrite 39 commits when we're updating a
> > > commit that's only 3 away from the tip. If you manage to rerun this with b4 -d
> > > and send me the output, I will be glad to look at it. Alternatively, if you
> > > can let me know the steps to get my tree in the same state as yours, I can run
> > > it locally.
> >
> > This shows the same problem (using Linus's tree and linux-next):
> >
> > $ git checkout 9d230d500b0e -b test/repro/before
> > $ git cherry-pick 368556dd234d
> > $ git cherry-pick eef1355c269b
> > $ b4 trailers -u https://lore.kernel.org/all/CANpmjNPpyJn++DVZmO89ms_HkJ0OvQzkps0GjCFbWkk0F+_8Xg@mail.gmail.com
>
> Thanks, I was able to recreate it and will use it as my test case. I suggest
Okay, great.
> that until I have a fix in place, that you always use `br trailers -u` with a
> `--since-commit` flag, to restrict the range we're looking at. The solution
> I'll work on is to iterate the range of commits we get back and further
> restrict it to just the contiguous range matching the current committer, going
> backwards from the HEAD. This would have avoided the problem by restricting
> the commits being considered to just the handful that were cherry-picked on
> top of the latest merges from Linus.
Yeah, that would solve my use-case entirely. I actually thought that's
roughly how it was already working, and it has worked for me fine before
this, so I'm not sure what was different here for it.
Thank you!
-Kees
--
Kees Cook
next prev parent reply other threads:[~2025-06-01 18:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-31 15:00 Kees Cook
2025-05-31 18:20 ` Linus Torvalds
2025-05-31 19:21 ` Konstantin Ryabitsev
2025-05-31 19:57 ` Konstantin Ryabitsev
2025-05-31 21:36 ` Al Viro
2025-06-01 1:06 ` Kees Cook
2025-06-01 2:22 ` Stephen Rothwell
2025-06-01 2:35 ` Linus Torvalds
2025-06-01 5:42 ` Kees Cook
2025-06-01 7:42 ` Kees Cook
2025-06-01 14:40 ` Konstantin Ryabitsev
2025-06-01 15:38 ` Kees Cook
2025-06-01 17:58 ` Konstantin Ryabitsev
2025-06-01 18:56 ` Kees Cook [this message]
2025-06-03 12:55 ` Vlastimil Babka
2025-06-01 17:12 ` Linus Torvalds
2025-06-01 17:49 ` Konstantin Ryabitsev
2025-06-01 18:24 ` Linus Torvalds
2025-06-03 12:42 ` Christian Brauner
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=202506011152.6D1E4F33B@keescook \
--to=kees@kernel.org \
--cc=ebiggers@kernel.org \
--cc=elver@google.com \
--cc=ingo@hannover.ccc.de \
--cc=konstantin@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=oliver.sang@intel.com \
--cc=thiago.bauermann@linaro.org \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®