# CVE-2022-48724: iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()

- 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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-06-20T11:13:14.644Z
- Modified: 2026-06-17T05:16:01.393Z
- 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/vt-d: Fix potential memory leak in intel_setup_irq_remapping()

After commit e3beca48a45b ("irqdomain/treewide: Keep firmware node
unconditionally allocated"). For tear down scenario, fn is only freed
after fail to allocate ir_domain, though it also should be freed in case
dmar_enable_qi returns error.

Besides free fn, irq_domain and ir_msi_domain need to be removed as well
if intel_setup_irq_remapping fails to enable queued invalidation.

Improve the rewinding path by add out_free_ir_domain and out_free_fwnode
lables per Baolu's suggestion.

(As written by CVE List.)

## Affected

- Linux Linux: from 03992c88d71ba79d956f2ed54e370e630b8750f4 before a0c685ba99961b1dd894b2e470e692a539770f6d; from c0c489e5430530a7021f4c889cd5931597e4b200 before a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9; from 36f7355545725c5e9400520ae33e6ee16cf78c0e before 5c43d46daa0d2928234dd2792ebebc35d29ee2d1; from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb before 9d9995b0371e4e8c18d4f955479e5d47efe7b2d4; from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb before 336d096b62bdc673e852b6b80d5072d7888ce85d; from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb before b62eceb5f8f08815fe3f945fc55bbf997c344ecd; from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb before 99e675d473eb8cf2deac1376a0f840222fc1adcf; b4198ecddb87cd955aa9e024dd656af5ceaf6196; from 4.14.190 before 4.14.265; from 4.19.135 before 4.19.228; from 5.4.54 before 5.4.178; from 5.7.11 before 5.8; and 1 more (not affected: before 5.8; from 4.14.265 up to 4.14.*; from 4.19.228 up to 4.19.*; from 5.4.178 up to 5.4.*; from 5.10.99 up to 5.10.*; from 5.15.22 up to 5.15.*; from 5.16.8 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 4.14.190 before 4.14.265; from 4.19.135 before 4.19.228; from 5.4.54 before 5.4.178; from 5.7.11 before 5.8; from 5.8 before 5.10.99; from 5.11 before 5.15.22; from 5.16 before 5.16.8; 5.17

## References

- <https://git.kernel.org/stable/c/a0c685ba99961b1dd894b2e470e692a539770f6d> (patch)
- <https://git.kernel.org/stable/c/a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9> (patch)
- <https://git.kernel.org/stable/c/5c43d46daa0d2928234dd2792ebebc35d29ee2d1> (patch)
- <https://git.kernel.org/stable/c/9d9995b0371e4e8c18d4f955479e5d47efe7b2d4> (patch)
- <https://git.kernel.org/stable/c/336d096b62bdc673e852b6b80d5072d7888ce85d> (patch)
- <https://git.kernel.org/stable/c/b62eceb5f8f08815fe3f945fc55bbf997c344ecd> (patch)
- <https://git.kernel.org/stable/c/99e675d473eb8cf2deac1376a0f840222fc1adcf> (patch)

## Sources

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

---

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