Bug 2297520 (CVE-2024-40936) - CVE-2024-40936 kernel: cxl/region: Fix memregion leaks in devm_cxl_add_region()
Summary: CVE-2024-40936 kernel: cxl/region: Fix memregion leaks in devm_cxl_add_region()
Keywords:
Status: NEW
Alias: CVE-2024-40936
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-12 13:35 UTC by OSIDB Bzimport
Modified: 2024-08-03 12:48 UTC (History)
5 users (show)

Fixed In Version: kernel 6.6.35, kernel 6.9.6, kernel 6.10-rc3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-12 13:35:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.