CVE-2022-48724
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.
How to fix
- linux linux_kernel4.14.265, 4.19.228, 5.4.178, 5.8, 5.10.99, 5.15.22, 5.16.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 4.14.190 ≤ v < 4.14.265, 4.19.135 ≤ v < 4.19.228, 5.4.54 ≤ v < 5.4.178, 5.7.11 ≤ v < 5.8, 5.8 ≤ v < 5.10.99, 5.11 ≤ v < 5.15.22, 5.16 ≤ v < 5.16.8, 5.17 | 4.14.265, 4.19.228, 5.4.178, 5.8, 5.10.99, 5.15.22, 5.16.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.