In the Linux kernel, the following vulnerability has been resolved: net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources() In mlx4_en_try_alloc_resources(), mlx4_en_copy_priv() is called and tmp->tx_cq will be freed on the error path of mlx4_en_copy_priv().
Overview
In the Linux kernel, the following vulnerability has been resolved: net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources() In mlx4_en_try_alloc_resources(), mlx4_en_copy_priv() is called and tmp->tx_cq will be freed on the error path of mlx4_en_copy_priv(). After that mlx4_en_alloc_resources() is called and there is a dereference of &tmp->tx_cq[t][i] in mlx4_en_alloc_resources(), which could lead to a use after free problem on failure of mlx4_en_copy_priv(). Fix this bug by adding a check of mlx4_en_copy_priv() This bug was found by a static analyzer. The analysis employs differential checking to identify inconsistent security operations (e.g., checks or kfrees) between two code paths and confirms that the inconsistent operations are not recovered in the current function or the callers, so they constitute bugs. Note that, as a bug found by static analysis, it can be a false positive or hard to trigger. Multiple researchers have cross-reviewed the bug. Builds with CONFIG_MLX4_EN=m show no new warnings, and our static analyzer no longer warns about this code.
- Published
- 5/24/2024
- Last modified
- 8/4/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 4.7, < 4.14.257 | Verify advisory | Source |
linux kernel linux | ≥ 4.15, < 4.19.220 | Verify advisory | Source |
linux kernel linux | ≥ 4.20, < 5.4.164 | Verify advisory | Source |
linux kernel linux | ≥ 5.5, < 5.10.84 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.7 | Verify advisory | Source |
Linux Linux | ≥ ec25bc04ed8e12947738468cbe2191f1529f9e39, < be12572c5ddc8ad7453bada4eec8fa46967dc757 | Verify advisory | Source |
Linux Linux | ≥ ec25bc04ed8e12947738468cbe2191f1529f9e39, < 676dc7d9b15bf8733233a2db1ec3f9091ab34275 | Verify advisory | Source |
Linux Linux | ≥ ec25bc04ed8e12947738468cbe2191f1529f9e39, < e461a9816a1ac5b4aeb61621b817225b61e46a68 | Verify advisory | Source |
Linux Linux | ≥ ec25bc04ed8e12947738468cbe2191f1529f9e39, < f1d43efa59f1edd3e7eca0e94559b4c6b1cd4e2b | Verify advisory | Source |
Linux Linux | ≥ ec25bc04ed8e12947738468cbe2191f1529f9e39, < 75917372eef0dbfb290ae45474314d35f97aea18 | Verify advisory | Source |
Linux Linux | ≥ ec25bc04ed8e12947738468cbe2191f1529f9e39, < addad7643142f500080417dd7272f49b7a185570 | Verify advisory | Source |
Linux Linux | 4.7 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.