Re: [PATCH v2 0/2] module: Add module name to modinfo
From: Jessica Yu
Date: Tue Apr 25 2017 - 22:32:24 EST
+++ 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)
Thanks,
Jessica