mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] module: Add module name to modinfo
@ 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
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Kees Cook @ 2017-04-21 22:35 UTC (permalink / raw)
  To: Jessica Yu
  Cc: Kees Cook, Rusty Russell, Peter Zijlstra (Intel),
	Josh Poimboeuf, Ard Biesheuvel, Heinrich Schuchardt,
	Nicholas Piggin, Chris Metcalf, linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-05-24  3:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21 22:35 [PATCH v2 0/2] module: Add module name to modinfo 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 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®