From: Linus Torvalds Date: Fri, 15 May 2026 22:13:02 +0000 (-0700) Subject: Merge tag 'vfio-v7.1-rc4' of https://github.com/awilliam/linux-vfio X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bf83e47b497d2630d2dcb408ec14ad95050cead;p=thirdparty%2Flinux.git Merge tag 'vfio-v7.1-rc4' of https://github.com/awilliam/linux-vfio Pull VFIO fixes from Alex Williamson: - Convert vfio-pci BAR resource requests and iomaps initialization from a lazy, on-demand model to an eager pre-allocation model to avoid races while preserving legacy error behavior. Fix unchecked barmap access in dma-buf export path (Matt Evans) - Introduce an implicit unsigned cast in converting vfio-pci device offsets to region indexes, closing a potential out-of-bounds access through the vfio_pci_ioeventfd() interface (Matt Evans) - Fix a dma-buf kref underflow and stuck wait_for_completion() when closing a previously revoked dma-buf (Alex Williamson) * tag 'vfio-v7.1-rc4' of https://github.com/awilliam/linux-vfio: vfio/pci: Check BAR resources before exporting a DMABUF vfio/pci: Set up BAR resources and maps in vfio_pci_core_enable() vfio/pci: Make VFIO_PCI_OFFSET_TO_INDEX() return unsigned vfio/pci: fix dma-buf kref underflow after revoke --- 3bf83e47b497d2630d2dcb408ec14ad95050cead