Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1630240

Re: [PATCH v2 2/2] module: Add module name to modinfo

From Jon Masters <jcm@jonmasters.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] module: Add module name to modinfo
Date 2017-04-25 09:10 +0200
Message-ID <tA2LL-1un-5@gated-at.bofh.it> (permalink)
References <tyPnz-355-5@gated-at.bofh.it> <tyPnz-355-3@gated-at.bofh.it>
Organization World Organi{s,z}ation Of Broken Dreams

Show all headers | View raw


On 04/21/2017 06:35 PM, Kees Cook wrote:

> Accessing the mod structure (e.g. for mod->name) prior to having completed
> check_modstruct_version() can result in writing garbage to the error logs
> if the layout of the mod structure loaded from disk doesn't match the
> running kernel's mod structure layout. This kind of mismatch will become
> much more likely if a kernel is built with different randomization seed
> for the struct layout randomization plugin.
> 
> Instead, add and use a new modinfo string for logging the module name.

+Lucas - probably something that the modinfo kmod utility should track.

Jon.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/2] module: Add module name to modinfo Kees Cook <keescook@chromium.org> - 2017-04-22 00:40 +0200
  Re: [PATCH v2 2/2] module: Add module name to modinfo Jon Masters <jcm@jonmasters.org> - 2017-04-25 09:10 +0200
    Re: [PATCH v2 2/2] module: Add module name to modinfo Jessica Yu <jeyu@redhat.com> - 2017-04-26 05:00 +0200
  Re: [PATCH v2 2/2] module: Add module name to modinfo Jon Masters <jcm@jonmasters.org> - 2017-04-25 09:10 +0200

csiph-web