summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-11-16 13:39:37 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2023-11-16 13:39:37 +0100
commit372bed5fbb87314abf410c3916e51578cd382cd1 (patch)
tree884d46f9a3456f6155d4ec2c91c89aa56b2c5700 /drivers/vhost
parentMerge tag 'hardening-v6.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
parentvhost-vdpa: fix use after free in vhost_vdpa_probe() (diff)
downloadlinux-372bed5fbb87314abf410c3916e51578cd382cd1.tar.xz
linux-372bed5fbb87314abf410c3916e51578cd382cd1.zip
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio fixes from Michael Tsirkin: "Bugfixes all over the place" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: vhost-vdpa: fix use after free in vhost_vdpa_probe() virtio_pci: Switch away from deprecated irq_set_affinity_hint riscv, qemu_fw_cfg: Add support for RISC-V architecture vdpa_sim_blk: allocate the buffer zeroed virtio_pci: move structure to a header
Diffstat (limited to 'drivers/vhost')
-rw-r--r--drivers/vhost/vdpa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c
index 30df5c58db73..da7ec77cdaff 100644
--- a/drivers/vhost/vdpa.c
+++ b/drivers/vhost/vdpa.c
@@ -1582,7 +1582,6 @@ static int vhost_vdpa_probe(struct vdpa_device *vdpa)
err:
put_device(&v->dev);
- ida_simple_remove(&vhost_vdpa_ida, v->minor);
return r;
}