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. CREATE(Triage):(User=admin) CVE-2024-40936 (https://nvd.nist.gov/vuln/detail/CVE-2024-40936)