projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb7018
)
vfio-pci: Fix use after free
author
Alex Williamson
<alex.williamson@redhat.com>
Wed, 8 Apr 2015 14:11:51 +0000
(08:11 -0600)
committer
Alex Williamson
<alex.williamson@redhat.com>
Wed, 8 Apr 2015 14:11:51 +0000
(08:11 -0600)
Reported by 0-day test infrastructure.
Fixes:
ecaa1f6a0154
("vfio-pci: Add VGA arbiter client")
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c
patch
|
blob
|
history
diff --git
a/drivers/vfio/pci/vfio_pci.c
b/drivers/vfio/pci/vfio_pci.c
index
049b9e9
..
69fab0f
100644
(file)
--- a/
drivers/vfio/pci/vfio_pci.c
+++ b/
drivers/vfio/pci/vfio_pci.c
@@
-953,6
+953,7
@@
static int vfio_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
if (ret) {
iommu_group_put(group);
kfree(vdev);
+ return ret;
}
if (vfio_pci_is_vga(pdev)) {