This is the second version of the patch to prevent access to a foreign tasks user space in copy_code(). It addresses the review comments from Boris and adds a new patch which provides documentation for copy_from_user_nmi() to avoid further confusion about it's usage.
V1 can be found here: https://lore.kernel.org/r/[email protected] Thanks, tglx

