# CVE-2022-48904: iommu/amd: Fix I/O page table memory leak

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-08-22T01:30:28.907Z
- Modified: 2026-06-17T05:16:34.380Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e42ba0633064ef23eb1c8c21edf96bac1541bd4b before 378e2fe1eb58d5c2ed55c8fe5e11f9db5033cdd6; from e42ba0633064ef23eb1c8c21edf96bac1541bd4b before c78627f757e37c2cf386b59c700c4e1574988597; from e42ba0633064ef23eb1c8c21edf96bac1541bd4b before 6b0b2d9a6a308bcd9300c2d83000a82812c56cea; 5.12 (not affected: before 5.12; from 5.15.27 up to 5.15.*; from 5.16.13 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.12 before 5.15.27; from 5.16 before 5.16.13; 5.17

## References

- <https://git.kernel.org/stable/c/378e2fe1eb58d5c2ed55c8fe5e11f9db5033cdd6> (patch)
- <https://git.kernel.org/stable/c/c78627f757e37c2cf386b59c700c4e1574988597> (patch)
- <https://git.kernel.org/stable/c/6b0b2d9a6a308bcd9300c2d83000a82812c56cea> (patch)

## Sources

- CVE List: [CVE-2022-48904](https://www.cve.org/CVERecord?id=CVE-2022-48904), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48904](https://nvd.nist.gov/vuln/detail/CVE-2022-48904), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48904 · Whole record: https://cve.day/CVE-2022-48904.json · Rebuilt by cve.day 2026-11-25T22:58:19.953Z
