CVE Database›Document archive›CVE-2026-53322

CVE-2026-53322

kernel: vfio/pci: Clean up DMABUFs before disabling function

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 26, 2026

Updated · September 9, 2026

Description

A flaw was found in the Linux kernel's vfio/pci subsystem. During device shutdown, an improper order of operations in cleaning up Direct Memory Access Buffers (DMABUFs) before disabling the function creates a brief window. In this window, a device's Base Address Registers (BARs) could still be accessed via DMABUFs even after memory space enable (MSE) is cleared. This could potentially allow a different driver to access freed resources, leading to information disclosure or unauthorized resource access.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, if PCI device passthrough is not required, the vfio_pci kernel module can be blacklisted to prevent it from loading. This can be achieved by creating a file such as /etc/modprobe.d/blacklist-vfio-pci.conf with the content blacklist vfio_pci. A system reboot is required for this change to take effect. Disabling this module may impact functionality that relies on PCI device passthrough.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-826 · Premature Release of Resource During Expected Lifetime