From: Dan Moulding <dan@danm.net>
To: sam@gentoo.org
Cc: dan@danm.net, linux-hardening@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
toralf.foerster@gmx.de
Subject: Re: 6.5.13 regression: BUG: kernel NULL pointer dereference, address: 0000000000000020
Date: Tue, 28 Nov 2023 15:48:16 -0700 [thread overview]
Message-ID: <20231128224816.6563-1-dan@danm.net> (raw)
In-Reply-To: <87jzq1lflc.fsf@gentoo.org>
Thanks, Sam. Yes it does look like that's the same issue.
I applied that patch to v6.6.3 instead of reverting the change to the
randomize_layout plugin and the problem also goes away with the patch
applied.
In that thread with the patch, Gustavo does mention that many other
zero-length arrays, besides this one in struct neighbor, were found in
the kernel source. But a quick (and possibly imperfect) grepping seems
to show that struct neighbor was the only one used with
__randomize_layout. So, I *think* it might be the only one that could
cause a problem with the recent change to the randomize_layout plugin.
-- Dan
next prev parent reply other threads:[~2023-11-28 22:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-28 20:29 6.5.13 regression: BUG: kernel NULL pointer dereference, address: 0000000000000020 Toralf Förster
2023-11-28 21:30 ` dan
2023-11-28 21:42 ` Sam James
2023-11-28 21:42 ` Sam James
2023-11-28 22:48 ` Dan Moulding [this message]
2023-11-29 18:59 ` Gustavo A. R. Silva
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=20231128224816.6563-1-dan@danm.net \
--to=dan@danm.net \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@gentoo.org \
--cc=stable@vger.kernel.org \
--cc=toralf.foerster@gmx.de \
/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.