vdpasim: fix memory leak when freeing IOTLBs
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 |
|
|
6.0.196.1.56.2In the Linux kernel, the following vulnerability has been resolved:
vdpasim: fix memory leak when freeing IOTLBs
After commit bda324fd037a ("vdpasim: control virtqueue support"), vdpasim->iommu became an array of IOTLB, so we should clean the mappings of each free one by one instead of just deleting the ranges in the first IOTLB which may leak maps.
From the CVE record · Linux
The Linux kernel's vdpasim component may leak IOTLB mappings when freeing IOTLBs because it cleans only the first IOTLB in an array. The input does not establish how an attacker could trigger the leak or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with vdpasim should check whether their kernel includes the affected change; affected versions are not specified.