CVE-2022-48904: iommu/amd: Fix I/O page table memory leak
In 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.16.14-1 - Compensating control
In the AMD IOMMU logic, free the memory used for the I/O page table before updating the domain's I/O page table mode to prevent the memory leak.
Event History
Frequently Asked Questions
What is the severity of CVE-2022-48904?
CVE-2022-48904 has a moderate severity rating due to potential memory leaks in the I/O page table management.
How do I fix CVE-2022-48904?
To fix CVE-2022-48904, update your Linux kernel to versions 5.15.27, 5.16.13, or any version above 5.17-rc6.
Which versions of the Linux kernel are affected by CVE-2022-48904?
CVE-2022-48904 affects the Linux kernel versions from 5.12 to 5.15.27 and the 5.17 release candidates.
What type of vulnerability is CVE-2022-48904?
CVE-2022-48904 is a vulnerability involving a memory leak in the IOMMU page table management.
Is CVE-2022-48904 a local or remote vulnerability?
CVE-2022-48904 is considered a local vulnerability that requires access to the affected system.