CVE-2022-49896

MEDIUM

Linux Kernel 6.0-6.0.7 - Memory Leak in CXL PMEM Region Handling

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 5.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (9)
linux/Kernel 6.0.0 - 6.0.8linux
Linux/Linux < 6.0
Linux/Linux 04ad63f086d1a9649b8b082748cbc7a570ade461 - 4d07ae22e79ebc2d7528bbc69daa53b86981cb3a
Linux/Linux 04ad63f086d1a9649b8b082748cbc7a570ade461 - f43b6bfdbab78606735ba81185cf0602b81e40b6
Linux/Linux 6.0
Linux/Linux 6.0.8 - 6.0.*
Linux/Linux 6.1
linux/linux_kernel 6.1 rc1 (3 CPE variants)
linux/linux_kernel 6.0 - 6.0.8
Published May 01, 2025
Tracked Since Feb 18, 2026