CVEvulnerability
CVE-2022-48724
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-06-20
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 4.14.190 < 4.14.265)
• linux linux kernel (>= 4.19.135 < 4.19.228)
• linux linux kernel (>= 5.4.54 < 5.4.178)
• linux linux kernel (>= 5.7.11 < 5.8)
• linux linux kernel (>= 5.8 < 5.10.99)
• linux linux kernel (>= 5.11 < 5.15.22)
• linux linux kernel (>= 5.16 < 5.16.8)
• linux linux kernel 5.17
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/336d096b62bdc673e852b6b80d5072d7888ce85d Patch
- https://git.kernel.org/stable/c/5c43d46daa0d2928234dd2792ebebc35d29ee2d1 Patch
- https://git.kernel.org/stable/c/99e675d473eb8cf2deac1376a0f840222fc1adcf Patch
- https://git.kernel.org/stable/c/9d9995b0371e4e8c18d4f955479e5d47efe7b2d4 Patch
- https://git.kernel.org/stable/c/a0c685ba99961b1dd894b2e470e692a539770f6d Patch
- https://git.kernel.org/stable/c/a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9 Patch
- https://git.kernel.org/stable/c/b62eceb5f8f08815fe3f945fc55bbf997c344ecd Patch
- https://git.kernel.org/stable/c/336d096b62bdc673e852b6b80d5072d7888ce85d Patch
- https://git.kernel.org/stable/c/5c43d46daa0d2928234dd2792ebebc35d29ee2d1 Patch
- https://git.kernel.org/stable/c/99e675d473eb8cf2deac1376a0f840222fc1adcf Patch
- https://git.kernel.org/stable/c/9d9995b0371e4e8c18d4f955479e5d47efe7b2d4 Patch
- https://git.kernel.org/stable/c/a0c685ba99961b1dd894b2e470e692a539770f6d Patch
- https://git.kernel.org/stable/c/a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9 Patch
- https://git.kernel.org/stable/c/b62eceb5f8f08815fe3f945fc55bbf997c344ecd Patch