From: Dan Moulding <dan@danm.net>
To: dan@danm.net
Cc: fw@strlen.de, netfilter-devel@vger.kernel.org,
pablo@netfilter.org, regressions@lists.linux.dev
Subject: Re: [REGRESSION] v6.16 system hangs (bisected to nf_conntrack fix)
Date: Fri, 29 Aug 2025 21:48:10 -0600 [thread overview]
Message-ID: <20250830034810.11329-1-dan@danm.net> (raw)
In-Reply-To: <20250731194901.7156-1-dan@danm.net>
> For some reason, I can no longer reproduce the problem in new kernels
> that I build. I can still reproduce it in the kernels that I built
> last week. But if I build a new one, from the same commit as I was
> able to reproduce it from before, the new kernel build can't reproduce
> it. I didn't change anything (like compiler version) since. So I'm
> stumped.
Well, I finally figured out why I couldn't reproduce the problem in
some builds. It turns out structure layout randomization was affecting
whether there was a bug or not. So every build I did had a chance of
not having the bug. This also led my bisection effort down the wrong
path and wrongly indicated that this nf_conntrack fix was the first
bad commit (and also by pure chance of randstruct made it look like
the problem went away when the change was reverted).
Now that I know that it's a randstruct problem, I was able to use a
"known bad" randstruct.seed to reliably make reproducible builds that
always have the bug, and this time correctly bisected it to a problem
in compression code in the cpypto API[1]. netfilter had nothing to do
with it. nf_conntrack is exonerated :)
So, Florian, sorry for taking up some of your valuable cycles on this
wild goose chase. But thank you for your attention and quick responses.
Cheers,
-- Dan
[1] https://lore.kernel.org/linux-crypto/20250830032839.11005-1-dan@danm.net/T/#t
prev parent reply other threads:[~2025-08-30 3:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-28 23:25 [REGRESSION] v6.16 system hangs (bisected to nf_conntrack fix) Dan Moulding
2025-07-28 23:47 ` Florian Westphal
2025-07-29 0:25 ` Florian Westphal
2025-07-29 17:02 ` Dan Moulding
2025-07-29 17:38 ` Florian Westphal
2025-07-31 15:49 ` Florian Westphal
2025-07-31 19:49 ` Dan Moulding
2025-08-30 3:48 ` Dan Moulding [this message]
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=20250830034810.11329-1-dan@danm.net \
--to=dan@danm.net \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=regressions@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.