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

Published May 1, 2025
·
Updated

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

cxl/pmem: Fix cxlpmemregion and cxlmemdev leak

When a cxlnvdimm 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 cxlmemdev reference leaks.

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

Affected Software

5 affected components
Linux Linux kernel
Linux Linux kernel>=6.0<6.0.8
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3

Event History

May 1, 2025
CVE Published
via MITRE·02:10 PM
Data Sourced
via MITRE·02:10 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49896?

The severity of CVE-2022-49896 is categorized as a moderate vulnerability in the Linux kernel.

2

How do I fix CVE-2022-49896?

To fix CVE-2022-49896, update the Linux kernel to a version that has addressed this vulnerability.

3

What impact does CVE-2022-49896 have on affected systems?

CVE-2022-49896 can lead to resource leaks in cxl_nvdimm objects, potentially affecting system performance.

4

Which Linux kernel versions are affected by CVE-2022-49896?

CVE-2022-49896 affects various versions of the Linux kernel prior to the patch release that addresses this issue.

5

Is CVE-2022-49896 being actively exploited in the wild?

As of now, there are no public reports indicating that CVE-2022-49896 is being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203