CVEvulnerability
CVE-2024-40936
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-07-12
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Fix memregion leaks in devm_cxl_add_region()
Move the mode verification to __create_region() before allocating the
memregion to avoid the memregion leaks.
Affected configurations
• linux linux kernel (>= 6.3 < 6.6.35)
• linux linux kernel (>= 6.7 < 6.9.6)
• linux linux kernel 6.10
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1 Patch
- https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266 Patch
- https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a Patch
- https://git.kernel.org/stable/c/49ba7b515c4c0719b866d16f068e62d16a8a3dd1 Patch
- https://git.kernel.org/stable/c/bbb5d8746381c82f7e0fb6171094d375b492f266 Patch
- https://git.kernel.org/stable/c/d8316838aa0686da63a8be4194b7a17b0103ae4a Patch