Linux
vfio/pci: Check BAR resources before exporting a DMABUF
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5d74781ebc86c5fa9e9d6934024c505412de9b52, < 8443cd4497a4498c4b01058d76a92116244cb605
- >= 5d74781ebc86c5fa9e9d6934024c505412de9b52, < 702809dabdecca807bdd50cfdcc1c980feb2ba62
Fixed in 8443cd4497a4498c4b01058d76a92116244cb605, 702809dabdecca807bdd50cfdcc1c980feb2ba62
- 6.19
Fixed in 0, 7.0.11, 7.1
Mitigation
Upgrade Linux to 8443cd4497a4498c4b01058d76a92116244cb605 or 702809dabdecca807bdd50cfdcc1c980feb2ba62 or later.
Upgrade Linux to 0 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.