vfio/pci: Check BAR resources before exporting a DMABUF
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
vfio/pci: Check BAR resources before exporting a DMABUF
A DMABUF exports access to BAR resources and, although they are requested at startup time, we need to ensure they really were reserved before exporting. Otherwise, it's possible to access unreserved resources through the export.
Add a check to the DMABUF-creation path.
From the CVE record · Linux
The Linux kernel’s vfio/pci DMABUF-creation path can export access to BAR resources without confirming they were reserved. This could allow access to unreserved resources through the export; the input does not specify whether authentication, local or network access, or user interaction is required.
Engineers running Linux kernels with vfio/pci DMABUF export should check their systems; affected versions were not provided.