]> 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:28:33 +0000 (14:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Oct 2015 13:28:33 +0000 (14:28 +0100)
commit9f359c61e3927f94bb280ffb200155dd20465fda
tree946939be1536cd1a4863f0f557b57f44cf780cdc
parent7f28d311a80e9d33d8270d6fb7b949dd4eef37f0
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