Skip to content
Commit 05d3ed0a authored by Prarit Bhargava's avatar Prarit Bhargava Committed by Ingo Molnar
Browse files

x86, pci: iommu fix potential overflow in alloc_iommu()



It is possible that alloc_iommu()'s boundary_size overflows as
dma_get_seg_boundary can return 0xffffffff.  In that case, further usage of
boundary_size triggers a BUG_ON() in the iommu code.

Signed-off-by: default avatarPrarit Bhargava <prarit@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c010b2f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment