]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: UEFI: asus-wmi: Restrict debugfs interface when module loading is...
authorMatthew Garrett <matthew.garrett@nebula.com>
Fri, 9 Mar 2012 13:46:50 +0000 (08:46 -0500)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
commit2b033c67409c282c788beb2a778253e97b7a746c
treef16933544b653cbdc65490d67d585675a8f687ad
parent3c2c82a33950b6aff79a12b66ba1202a2c39d229
UBUNTU: SAUCE: UEFI: asus-wmi: Restrict debugfs interface when module loading is restricted

We have no way of validating what all of the Asus WMI methods do on a
given machine, and there's a risk that some will allow hardware state to
be manipulated in such a way that arbitrary code can be executed in the
kernel, circumventing module loading restrictions. Prevent that if any of
these features are enabled.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/platform/x86/asus-wmi.c