CVE-2022-48724
iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
Check your servers for CVE-2022-48724
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48724 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 03992c88d71ba79d956f2ed54e370e630b8750f4, before a0c685ba99961b1dd894b2e470e692a539770f6d affected from c0c489e5430530a7021f4c889cd5931597e4b200, before a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9 affected from 36f7355545725c5e9400520ae33e6ee16cf78c0e, before 5c43d46daa0d2928234dd2792ebebc35d29ee2d1 affected from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb, before 9d9995b0371e4e8c18d4f955479e5d47efe7b2d4 affected from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb, before 336d096b62bdc673e852b6b80d5072d7888ce85d affected from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb, before b62eceb5f8f08815fe3f945fc55bbf997c344ecd affected from e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb, before 99e675d473eb8cf2deac1376a0f840222fc1adcf affected b4198ecddb87cd955aa9e024dd656af5ceaf6196 affected from 4.14.190, before 4.14.265 affected from 4.19.135, before 4.19.228 affected from 5.4.54, before 5.4.178 affected from 5.7.11, before 5.8
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 4.14.265 up to and including 4.14.* unaffected from 4.19.228 up to and including 4.19.* unaffected from 5.4.178 up to and including 5.4.* unaffected from 5.10.99 up to and including 5.10.* unaffected from 5.15.22 up to and including 5.15.* unaffected from 5.16.8 up to and including 5.16.* unaffected 5.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48724 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48724
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-48724
trivy image --scanners vuln IMAGE | grep CVE-2022-48724
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a0c685ba99961b1dd894b2e470e692a539770f6d git.kernel.org
- https://git.kernel.org/stable/c/a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9 git.kernel.org
- https://git.kernel.org/stable/c/5c43d46daa0d2928234dd2792ebebc35d29ee2d1 git.kernel.org
- https://git.kernel.org/stable/c/9d9995b0371e4e8c18d4f955479e5d47efe7b2d4 git.kernel.org
- https://git.kernel.org/stable/c/336d096b62bdc673e852b6b80d5072d7888ce85d git.kernel.org
- https://git.kernel.org/stable/c/b62eceb5f8f08815fe3f945fc55bbf997c344ecd git.kernel.org
- https://git.kernel.org/stable/c/99e675d473eb8cf2deac1376a0f840222fc1adcf git.kernel.org
Source: the record CVE-2022-48724 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse