CVE-2022-48724

Source
https://cve.org/CVERecord?id=CVE-2022-48724
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48724.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48724
Downstream
Related
Published
2024-06-20T11:13:14.644Z
Modified
2026-03-13T05:40:28.374021Z
Summary
iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

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

Besides free fn, irqdomain and irmsidomain need to be removed as well if intelsetupirqremapping fails to enable queued invalidation.

Improve the rewinding path by add outfreeirdomain and outfree_fwnode lables per Baolu's suggestion.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48724.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
03992c88d71ba79d956f2ed54e370e630b8750f4
Fixed
a0c685ba99961b1dd894b2e470e692a539770f6d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c0c489e5430530a7021f4c889cd5931597e4b200
Fixed
a31cb1f0fb6caf46ffe88c41252b6b7a4ee062d9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
36f7355545725c5e9400520ae33e6ee16cf78c0e
Fixed
5c43d46daa0d2928234dd2792ebebc35d29ee2d1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e3beca48a45b5e0e6e6a4e0124276b8248dcc9bb
Fixed
9d9995b0371e4e8c18d4f955479e5d47efe7b2d4
Fixed
336d096b62bdc673e852b6b80d5072d7888ce85d
Fixed
b62eceb5f8f08815fe3f945fc55bbf997c344ecd
Fixed
99e675d473eb8cf2deac1376a0f840222fc1adcf
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
b4198ecddb87cd955aa9e024dd656af5ceaf6196

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48724.json"