linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] vfio: Fix coverity found issues
@ 2014-04-07 22:28 Alex Williamson
  2014-04-07 22:28 ` [PATCH 1/3] vfio/pci: Fix sizing of DPA and THP express capabilities Alex Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alex Williamson @ 2014-04-07 22:28 UTC (permalink / raw)
  To: alex.williamson; +Cc: linux-kernel, kvm

Overall nothing very serious here.  We botch the size of a PCIe
capability due to a cut-n-paste error, but nobody has noticed due to
the rarity of the capability.  A 32bit host could possibly see some
overflows attempting to do a DMA map, but all of the parameters are
also validated elsewhere, so while this may cause unexepected behavior
for the user, there doesn't appear to be any risk to the host.
Thanks,

Alex

---

Alex Williamson (3):
      vfio/pci: Fix sizing of DPA and THP express capabilities
      vfio/pci: Fix unchecked return value
      vfio/iommu_type1: Avoid overflow


 drivers/vfio/pci/vfio_pci.c        |    3 ++
 drivers/vfio/pci/vfio_pci_config.c |    7 ++----
 drivers/vfio/vfio_iommu_type1.c    |   45 ++++++++++++++----------------------
 3 files changed, 23 insertions(+), 32 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-07 22:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 22:28 [PATCH 0/3] vfio: Fix coverity found issues Alex Williamson
2014-04-07 22:28 ` [PATCH 1/3] vfio/pci: Fix sizing of DPA and THP express capabilities Alex Williamson
2014-04-07 22:28 ` [PATCH 2/3] vfio/pci: Fix unchecked return value Alex Williamson
2014-04-07 22:29 ` [PATCH 3/3] vfio/iommu_type1: Avoid overflow Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).