mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] module: Add module name to modinfo
@ 2017-04-12 23:16 Kees Cook
  2017-04-12 23:16 ` [PATCH 1/2] module: Pass struct load_info into symbol checks Kees Cook
  2017-04-12 23:16 ` [PATCH 2/2] module: Add module name to modinfo Kees Cook
  0 siblings, 2 replies; 5+ messages in thread
From: Kees Cook @ 2017-04-12 23:16 UTC (permalink / raw)
  To: Jessica Yu
  Cc: Kees Cook, Rusty Russell, Nicholas Piggin, Josh Poimboeuf,
	Heinrich Schuchardt, Peter Zijlstra (Intel),
	Andrew Morton, Ard Biesheuvel, 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

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

end of thread, other threads:[~2017-04-21 22:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12 23:16 [PATCH 0/2] module: Add module name to modinfo Kees Cook
2017-04-12 23:16 ` [PATCH 1/2] module: Pass struct load_info into symbol checks Kees Cook
2017-04-12 23:16 ` [PATCH 2/2] module: Add module name to modinfo Kees Cook
2017-04-21  6:27   ` Jessica Yu
2017-04-21 22:32     ` Kees Cook

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®