{"id":"CVE-2022-49896","published":"2025-05-01T14:10:38Z","modified":"2026-05-11T19:08:50Z","title":"cxl/pmem: Fix cxl_pmem_region and cxl_memdev leak","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/pmem: Fix cxl_pmem_region and cxl_memdev leak\n\nWhen a cxl_nvdimm object goes through a ->remove() event (device\nphysically removed, nvdimm-bridge disabled, or nvdimm device disabled),\nthen any associated regions must also be disabled. As highlighted by the\ncxl-create-region.sh test [1], a single device may host multiple\nregions, but the driver was only tracking one region at a time. This\nleads to a situation where only the last enabled region per nvdimm\ndevice is cleaned up properly. Other regions are leaked, and this also\ncauses cxl_memdev reference leaks.\n\nFix the tracking by allowing cxl_nvdimm objects to track multiple region\nassociations.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0017,"percentile":0.06582,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f43b6bfdbab78606735ba81185cf0602b81e40b6","tags":[]},{"url":"https://git.kernel.org/stable/c/4d07ae22e79ebc2d7528bbc69daa53b86981cb3a","tags":[]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.32},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 04ad63f086d1a9649b8b082748cbc7a570ade461, < f43b6bfdbab78606735ba81185cf0602b81e40b6",">= 04ad63f086d1a9649b8b082748cbc7a570ade461, < 4d07ae22e79ebc2d7528bbc69daa53b86981cb3a"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T16:01:51.295116Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-12900","exploited":false,"provenance":"source"}}