From: Jessica Yu <jeyu@redhat.com>
To: Kees Cook <keescook@chromium.org>
Cc: 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>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 0/2] module: Add module name to modinfo
Date: Tue, 23 May 2017 20:26:52 -0700 [thread overview]
Message-ID: <20170524032652.rp334dlkvmljzgot@jeyu> (raw)
In-Reply-To: <CAGXu5jLbNNon9QAE4qsf1=GP47BDOVJ2KbeuLh1WC98KCCHzQQ@mail.gmail.com>
+++ Kees Cook [25/04/17 21:43 -0700]:
>On Tue, Apr 25, 2017 at 7:32 PM, Jessica Yu <jeyu@redhat.com> wrote:
>> +++ Kees Cook [21/04/17 15:35 -0700]:
>>
>>> 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
>>
>>
>> Hi Kees!
>>
>> These patches look fine to me, would you mind if I held on to them
>> until after the upcoming merge window? (Since we're at -rc8, and I'd
>> still like for them to sit in -next for a while)
>
>Sure thing; I'm in no rush. :)
These have been applied to modules-next, thanks!
Jessica
>Thanks!
>
>-Kees
prev parent reply other threads:[~2017-05-24 3:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 22:35 Kees Cook
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 [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=20170524032652.rp334dlkvmljzgot@jeyu \
--to=jeyu@redhat.com \
--cc=ard.biesheuvel@linaro.org \
--cc=cmetcalf@mellanox.com \
--cc=jpoimboe@redhat.com \
--cc=keescook@chromium.org \
--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®