vfio/pci: Clean up DMABUFs before disabling function
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4f1000a30f67cf7d328059242776a858611d5ef9 and Kernel d97708701434ce72968e771976aaf9d3438fcafd.
In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Clean up DMABUFs before disabling function On device shutdown, make vfio_pci_core_close_device() call vfio_pci_dma_buf_cleanup() before the function is disabled via vfio_pci_core_disable(). This ensures that all access via DMABUFs is revoked before the function's BARs become inaccessible. This fixes an issue where, if the function is disabled first, a tiny window exists in which the function's MSE is cleared and yet BARs could still be accessed via the DMABUF. The resources would also be freed and up for grabs by a different driver.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=5d74781ebc86c5fa9e9d6934024c505412de9b52 <4f1000a30f67cf7d328059242776a858611d5ef9, >=5d74781ebc86c5fa9e9d6934024c505412de9b52 <d97708701434ce72968e771976aaf9d3438fcafd | 4f1000a30f67cf7d328059242776a858611d5ef9, d97708701434ce72968e771976aaf9d3438fcafd |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket