# CVE-2022-49896: cxl/pmem: Fix cxl_pmem_region and cxl_memdev leak

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-02)
- Published: 2025-05-01T14:10:38.336Z
- Modified: 2026-06-17T05:19:27.080Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cxl/pmem: Fix cxl_pmem_region and cxl_memdev leak

When a cxl_nvdimm object goes through a ->remove() event (device
physically removed, nvdimm-bridge disabled, or nvdimm device disabled),
then any associated regions must also be disabled. As highlighted by the
cxl-create-region.sh test [1], a single device may host multiple
regions, but the driver was only tracking one region at a time. This
leads to a situation where only the last enabled region per nvdimm
device is cleaned up properly. Other regions are leaked, and this also
causes cxl_memdev reference leaks.

Fix the tracking by allowing cxl_nvdimm objects to track multiple region
associations.

(As written by CVE List.)

## Affected

- Linux Linux: from 04ad63f086d1a9649b8b082748cbc7a570ade461 before f43b6bfdbab78606735ba81185cf0602b81e40b6; from 04ad63f086d1a9649b8b082748cbc7a570ade461 before 4d07ae22e79ebc2d7528bbc69daa53b86981cb3a; 6.0 (not affected: before 6.0; from 6.0.8 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 6.0 before 6.0.8; 6.1

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f43b6bfdbab78606735ba81185cf0602b81e40b6> (patch)
- <https://git.kernel.org/stable/c/4d07ae22e79ebc2d7528bbc69daa53b86981cb3a> (patch)

## Sources

- CVE List: [CVE-2022-49896](https://www.cve.org/CVERecord?id=CVE-2022-49896), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49896](https://nvd.nist.gov/vuln/detail/CVE-2022-49896), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49896 · Whole record: https://cve.day/CVE-2022-49896.json · Rebuilt by cve.day 2026-11-25T22:58:20.925Z
