Vulnerability · Published Jun 20, 2024 · Assigned by Linux

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

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.2%top 85.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.16.10-1DEBIAN-CVE-2022-48724
Debian:13linux5.16.10-1DEBIAN-CVE-2022-48724
Debian:14linux5.16.10-1DEBIAN-CVE-2022-48724
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2022-48724
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2022-48724
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2022-48724

Affected products (as reported)

VendorProductVersions
Linux Linux 03992c88d71ba79d956f2ed54e370e630b8750f4 – before a0c685ba99961b1dd894b2e470e692a539770f6dc0c489e5430530a7021f4c889cd5931597e4b200 – before a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d936f7355545725c5e9400520ae33e6ee16cf78c0e – before 5c43d46daa0d2928234dd2792ebebc35d29ee2d1e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb – before 9d9995b0371e4e8c18d4f955479e5d47efe7b2d4e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb – before 336d096b62bdc673e852b6b80d5072d7888ce85de3beca48a45b5e0e6e6a4e0124276b8248dcc9bb – before b62eceb5f8f08815fe3f945fc55bbf997c344ecde3beca48a45b5e0e6e6a4e0124276b8248dcc9bb – before 99e675d473eb8cf2deac1376a0f840222fc1adcfb4198ecddb87cd955aa9e024dd656af5ceaf6196
Linux Linux 5.8

References