/* * kvm asynchronous fault support * * Copyright 2010 Red Hat, Inc. * * Author: * Gleb Natapov * * This file is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __KVM_ASYNC_PF_H__ #define __KVM_ASYNC_PF_H__ #ifdef CONFIG_KVM_ASYNC_PF int kvm_async_pf_init(void); void kvm_async_pf_deinit(void); void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu); #else #define kvm_async_pf_init() (0) #define kvm_async_pf_deinit() do {} while (0) #define kvm_async_pf_vcpu_init(C) do {} while (0) #endif #endif selected='selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation/arm/tcm.txt
diff options
context:
space:
mode:
authorAshutosh Dixit <ashutosh.dixit@intel.com>2016-04-27 14:36:05 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-27 15:30:58 -0700
commit82dc4afd7e65455464f0fc2fe6976efde54fe451 (patch)
tree8d84c648ca1e8f0684ac16435dfa9f5c91c30747 /Documentation/arm/tcm.txt
parentc3b46c73264b03000d1e18b22f5caf63332547c9 (diff)
misc: mic: Fix for double fetch security bug in VOP driver
The MIC VOP driver does two successive reads from user space to read a variable length data structure. Kernel memory corruption can result if the data structure changes between the two reads. This patch disallows the chance of this happening. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=116651 Reported by: Pengfei Wang <wpengfeinudt@gmail.com> Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/arm/tcm.txt')