CVE-2022-48724

iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()

MEDIUM
5.5
CVSS Score
Published: June 20, 2024 at 11:13 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.7.114.14.190 ≤ v < 4.14.2654.19.135 ≤ v < 4.19.2285.11 ≤ v < 5.15.225.16 ≤ v < 5.16.85.4.54 ≤ v < 5.4.1785.7.11 ≤ v < 5.85.8 ≤ v < 5.10.995.8 ≤ v < 5.15.225.8 ≤ v < 5.16.85.8 ≤ v < 5.1736f7355545725c5e9400520ae33e6ee16cf78c0e3992c88d71ba79d956f2ed54e370e630b8750f44.14.1904.19.1355.17 rc15.17 rc25.4.545.7.11b4198ecddb87cd955aa9e024dd656af5ceaf6196c0c489e5430530a7021f4c889cd5931597e4b200e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb
Vendor states this is fixed in 336d096b62bdc673e852b6b80d5072d7888ce85d (fixed)
Vendor states this is fixed in 5c43d46daa0d2928234dd2792ebebc35d29ee2d1 (fixed)
Vendor states this is fixed in 99e675d473eb8cf2deac1376a0f840222fc1adcf (fixed)
Vendor states this is fixed in 9d9995b0371e4e8c18d4f955479e5d47efe7b2d4 (fixed)
Vendor states this is fixed in a0c685ba99961b1dd894b2e470e692a539770f6d (fixed)
Vendor states this is fixed in a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9 (fixed)
Vendor states this is fixed in b62eceb5f8f08815fe3f945fc55bbf997c344ecd (fixed)
Vendor states this is fixed in 4.14.265 (unaffected)
Vendor states this is fixed in 4.19.228 (unaffected)
Vendor states this is fixed in 5.10.99 (unaffected)
Vendor states this is fixed in 5.15.22 (unaffected)
Vendor states this is fixed in 5.16.8 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.4.178 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/336d096b62bdc673e852b6b80d5072d7888ce85d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5c43d46daa0d2928234dd2792ebebc35d29ee2d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/99e675d473eb8cf2deac1376a0f840222fc1adcf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9d9995b0371e4e8c18d4f955479e5d47efe7b2d4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0c685ba99961b1dd894b2e470e692a539770f6d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b62eceb5f8f08815fe3f945fc55bbf997c344ecd

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card