]> xenbits.xensource.com Git - xen.git/commit
x86: rate-limit logging in do_xen{oprof,pmu}_op()
authorJan Beulich <jbeulich@suse.com>
Thu, 29 Oct 2015 13:15:22 +0000 (14:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Oct 2015 13:15:22 +0000 (14:15 +0100)
commit0613780df68c4a35a0bde1584daea0697666ef01
tree8d474b324adc821029c0a914c631945fb38f3f13
parent76782e03f49d0ac79451db92a11877d2add8e811
x86: rate-limit logging in do_xen{oprof,pmu}_op()

Some of the sub-ops are acessible to all guests, and hence should be
rate-limited. In the xenoprof case, just like for XSA-146, include them
only in debug builds. Since the vPMU code is rather new, allow them to
be always present, but downgrade them to (rate limited) guest messages.

This is CVE-2015-7971 / XSA-152.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Ian Campbell <ian.campbell@citrix.com>
master commit: 95e7415843b94c346e5ba8682665f508f220e04b
master date: 2015-10-29 13:37:19 +0100
xen/common/xenoprof.c