summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAndy Honig <ahonig@google.com>2013-11-20 10:23:22 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2013-12-12 22:39:46 +0100
commitfda4e2e85589191b123d31cdc21fd33ee70f50fd (patch)
tree68cfbeb6ea9d06ffd164bcc8b692993a90367333 /tools/perf/scripts/python/task-analyzer.py
parentb963a22e6d1a266a67e9eecc88134713fd54775c (diff)
downloadkernel-fda4e2e85589191b123d31cdc21fd33ee70f50fd.tar.gz
KVM: x86: Convert vapic synchronization to _cached functions (CVE-2013-6368)
In kvm_lapic_sync_from_vapic and kvm_lapic_sync_to_vapic there is the potential to corrupt kernel memory if userspace provides an address that is at the end of a page. This patches concerts those functions to use kvm_write_guest_cached and kvm_read_guest_cached. It also checks the vapic_address specified by userspace during ioctl processing and returns an error to userspace if the address is not a valid GPA. This is generally not guest triggerable, because the required write is done by firmware that runs before the guest. Also, it only affects AMD processors and oldish Intel that do not have the FlexPriority feature (unless you disable FlexPriority, of course; then newer processors are also affected). Fixes: b93463aa59d6 ('KVM: Accelerated apic support') Reported-by: Andrew Honig <ahonig@google.com> Cc: stable@vger.kernel.org Signed-off-by: Andrew Honig <ahonig@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
an>media: i2c: ccs-core: return the right error code at suspendMauro Carvalho Chehab 2021-04-06media: v4l: fwnode: Rename v4l2_async_register_subdev_sensor_commonSakari Ailus 2021-04-06media: i2c/ccs: fix kernel-doc header issuesHans Verkuil 2021-04-06media: ccs: Fix sub-device functionSakari Ailus 2021-02-01Merge tag 'v5.11-rc6' into patchworkMauro Carvalho Chehab 2021-01-14media: ccs: Make (non-)use of uninitialised variables more robustSakari Ailus 2021-01-12media: ccs: Small definition cleanupSakari Ailus 2021-01-12media: ccs: Switch from standard integer types to kernel onesSakari Ailus 2021-01-12media: ccs: Support and default to auto PHY controlSakari Ailus 2021-01-12media: ccs: Add a sanity check for external clock frequencySakari Ailus 2021-01-12media: ccs: Hardware requires a delay after starting the clock of lifting resetSakari Ailus 2021-01-12media: ccs: Wait until software reset is doneSakari Ailus 2021-01-12media: ccs: Only do software reset if we have no hardware resetSakari Ailus 2021-01-12media: ccs: Don't change the I²C address just for software resetSakari Ailus 2021-01-12media: ccs: Get the endpoint by port rather than any next endpointSakari Ailus 2021-01-12media: ccs: Add shading correction and luminance correction level controlsSakari Ailus 2021-01-12media: ccs: Add debug prints for MSR registersSakari Ailus 2021-01-12media: ccs: Add support for alternate analogue global gainSakari Ailus 2021-01-12media: ccs: Add support for analogue gain coefficient controlsSakari Ailus 2021-01-12media: ccs: Only add analogue gain control if the device supports itSakari Ailus 2021-01-12media: ccs: Remove analogue gain fieldSakari Ailus 2021-01-12media: ccs: Add support for old-style SMIA digital gainSakari Ailus 2021-01-12media: ccs: Add digital gain supportSakari Ailus 2021-01-07media: ccs: Get static data version minor correctlySakari Ailus