summaryrefslogtreecommitdiff
path: root/kernels/xen/xsa78.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-25 12:45:40 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-25 12:45:40 -0300
commit27cd560baa49d7eb685a5789cb915c5cdbdaf305 (patch)
tree03f7fdcdfa62b05dd9793f2809c20d6357c991c0 /kernels/xen/xsa78.patch
parent88e1da204a82b0e8c0fa1a9e42ecd1b86a08eab8 (diff)
parentc86852f13787f259167b1df6d3762ef78980cad3 (diff)
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to 'kernels/xen/xsa78.patch')
-rw-r--r--kernels/xen/xsa78.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/kernels/xen/xsa78.patch b/kernels/xen/xsa78.patch
deleted file mode 100644
index 180506cdd..000000000
--- a/kernels/xen/xsa78.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-VT-d: fix TLB flushing in dma_pte_clear_one()
-
-The third parameter of __intel_iommu_iotlb_flush() is to indicate
-whether the to be flushed entry was a present one. A few lines before,
-we bailed if !dma_pte_present(*pte), so there's no need to check the
-flag here again - we can simply always pass TRUE here.
-
-This is CVE-2013-6375 / XSA-78.
-
-Suggested-by: Cheng Yueqiang <yqcheng.2008@phdis.smu.edu.sg>
-Signed-off-by: Jan Beulich <jbeulich@suse.com>
-
---- a/xen/drivers/passthrough/vtd/iommu.c
-+++ b/xen/drivers/passthrough/vtd/iommu.c
-@@ -646,7 +646,7 @@ static void dma_pte_clear_one(struct dom
- iommu_flush_cache_entry(pte, sizeof(struct dma_pte));
-
- if ( !this_cpu(iommu_dont_flush_iotlb) )
-- __intel_iommu_iotlb_flush(domain, addr >> PAGE_SHIFT_4K , 0, 1);
-+ __intel_iommu_iotlb_flush(domain, addr >> PAGE_SHIFT_4K, 1, 1);
-
- unmap_vtd_domain_page(page);
-