diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2017-02-08 18:30:56 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-15 10:02:52 +0800 |
commit | 182ff0ebbdab926578728784299cc9d9c195d515 (patch) | |
tree | f944c534d5705f4b31f0193d695d2356e2625557 /lib/lcm.c | |
parent | 63e873679ba99649bf22cc7b964315591cedf4c5 (diff) |
drivers: hv: Turn off write permission on the hypercall page
commit 372b1e91343e657a7cc5e2e2bcecd5140ac28119 upstream.
The hypercall page only needs to be executable but currently it is setup to
be writable as well. Fix the issue.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: Kees Cook <keescook@chromium.org>
Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Tested-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions