From: Kees Cook <keescook@chromium.org>
To: Jessica Yu <jeyu@redhat.com>
Cc: Kees Cook <keescook@chromium.org>,
Rusty Russell <rusty@rustcorp.com.au>,
"Peter Zijlstra (Intel)" <peterz@infradead.org>,
Josh Poimboeuf <jpoimboe@redhat.com>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Nicholas Piggin <npiggin@gmail.com>,
Chris Metcalf <cmetcalf@mellanox.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] module: Add module name to modinfo
Date: Fri, 21 Apr 2017 15:35:25 -0700 [thread overview]
Message-ID: <1492814127-66318-1-git-send-email-keescook@chromium.org> (raw)
The mod structure is accessed for the "name" field prior to validating
sanity in check_modstruct_version(). This becomes very obvious once
struct layout randomization is happening, so instead add the module
name to modinfo and use that until the mod struct has been sanity-checked.
-Kees
v2:
- adjusted for more odd name load failure cases; jeyu
next reply other threads:[~2017-04-21 22:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 22:35 Kees Cook [this message]
2017-04-21 22:35 ` [PATCH v2 1/2] module: Pass struct load_info into symbol checks Kees Cook
2017-04-21 22:35 ` [PATCH v2 2/2] module: Add module name to modinfo Kees Cook
2017-04-25 7:00 ` Jon Masters
2017-04-25 7:04 ` Jon Masters
2017-04-26 2:58 ` Jessica Yu
2017-04-26 2:32 ` [PATCH v2 0/2] " Jessica Yu
2017-04-26 4:43 ` Kees Cook
2017-05-24 3:26 ` Jessica Yu
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=1492814127-66318-1-git-send-email-keescook@chromium.org \
--to=keescook@chromium.org \
--cc=ard.biesheuvel@linaro.org \
--cc=cmetcalf@mellanox.com \
--cc=jeyu@redhat.com \
--cc=jpoimboe@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=npiggin@gmail.com \
--cc=peterz@infradead.org \
--cc=rusty@rustcorp.com.au \
--cc=xypron.glpk@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 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®