linux/drivers/vfio/pci
Miaoqian Lin c15e20a219 hisi_acc_vfio_pci: Fix reference leak in hisi_acc_vfio_debug_init
commit eaba58355e upstream.

The debugfs_lookup() function returns a dentry with an increased reference
count that must be released by calling dput().

Fixes: b398f91779 ("hisi_acc_vfio_pci: register debugfs for hisilicon migration driver")
Cc: stable@vger.kernel.org
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Longfang Liu <liulongfang@huawei.com>
Link: https://lore.kernel.org/r/20250901081809.2286649-1-linmq006@gmail.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-10-15 12:04:15 +02:00
..
hisilicon hisi_acc_vfio_pci: Fix reference leak in hisi_acc_vfio_debug_init 2025-10-15 12:04:15 +02:00
mlx5 vfio/pci: Do vf_token checks for VFIO_DEVICE_BIND_IOMMUFD 2025-08-05 15:41:14 -06:00
nvgrace-gpu vfio/pci: Do vf_token checks for VFIO_DEVICE_BIND_IOMMUFD 2025-08-05 15:41:14 -06:00
pds vfio/pds: replace bitmap_free with vfree 2025-10-15 12:04:04 +02:00
qat vfio/qat: add support for intel QAT 6xxx virtual functions 2025-08-05 15:41:18 -06:00
virtio vfio/pci: Do vf_token checks for VFIO_DEVICE_BIND_IOMMUFD 2025-08-05 15:41:14 -06:00
Kconfig PCI: Add CONFIG_MMU dependency 2025-04-23 15:40:30 -05:00
Makefile vfio/qat: Add vfio_pci driver for Intel QAT SR-IOV VF devices 2024-04-29 13:25:41 -06:00
trace.h vfio/pci: Cleanup license mess 2019-01-22 11:06:05 -07:00
vfio_pci.c vfio/pci: Do vf_token checks for VFIO_DEVICE_BIND_IOMMUFD 2025-08-05 15:41:14 -06:00
vfio_pci_config.c vfio/pci: Virtualize zero INTx PIN if no pdev->irq 2025-04-14 08:31:45 -06:00
vfio_pci_core.c VFIO updates for v6.17-rc1 v2 2025-08-07 07:32:50 +03:00
vfio_pci_igd.c vfio/pci: Use pci_is_display() 2025-07-17 15:30:13 -05:00
vfio_pci_intrs.c irqbypass: Require producers to pass in Linux IRQ number during registration 2025-06-20 13:52:41 -07:00
vfio_pci_priv.h vfio/pci: match IGD devices in display controller class 2025-02-27 11:30:07 -07:00
vfio_pci_rdwr.c vfio/pci: Expose setup ROM at ROM bar when needed 2025-01-06 08:09:54 -07:00
vfio_pci_zdev.c Merge remote-tracking branch 'mlx5/mlx5-vfio' into v6.1/vfio/next 2022-09-08 10:44:34 -06:00