iommu/amd: Fix I/O page table memory leak
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 |
|
|
5.15.275.16.135.17In the Linux kernel, the following vulnerability has been resolved:
iommu/amd: Fix I/O page table memory leak
The current logic updates the I/O page table mode for the domain before calling the logic to free memory used for the page table. This results in IOMMU page table memory leak, and can be observed when launching VM w/ pass-through devices.
Fix by freeing the memory used for page table before updating the mode.
From the CVE record · Linux
The Linux kernel can leak AMD IOMMU page-table memory because it updates a domain’s page-table mode before freeing the old table. The leak can be observed when launching a VM with pass-through devices. The input does not specify an attacker path, authentication requirement, or other user interaction.
Operators running the Linux kernel with AMD IOMMU and VMs using pass-through devices should check their installations; affected versions were not provided.