Skip to content

x86/module: Out-of-tree module decode and sanitize

Peter Zijlstra lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 68 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4module: Expose load_info to arch module loader codeinclude/linux/moduleloader.h kernel/module-internal.h kernel/module_signing.c+21 -241 reply
2/4module: Convert module_finalize() to load_infoarch/arc/kernel/module.c arch/arm/kernel/module.c arch/arm64/kernel/module.c +14 more+38 -461 reply
3/4x86,module: Detect VMX vs SLD conflictsarch/x86/include/asm/cpu.h arch/x86/kernel/cpu/intel.c arch/x86/kernel/module.c +2 more+99 -318 replies
4/4x86,module: Detect CRn and DRn manipulationarch/x86/kernel/module.c+21 -041 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchKees Cook
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] x86/module: Out-of-tree module decode and sanitize

Hi all,

Driven by the SLD vs VMX interaction, here are some patches that provide means to analyze the text of out-of-tree modules.

The first user of that is refusing to load modules on VMX-SLD conflicts, but it also has a second patch that refulses to load any module that tries to modify CRn/DRn.

I'm thinking people will quickly come up with more and more elaborate tests to which to subject out-of-tree modules.