CVE-2022-49896

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability6. percentile0.2%
ProductLinux Kernel
PublishedMay 1, 2025
First seenMay 1, 2025

How to fix

Update
  • linux linux_kernel6.0.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.0 ≤ v < 6.0.8, 6.16.0.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.