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

From: Peter Zijlstra
Date: Tue Apr 07 2020 - 07:13:12 EST


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.