CVE-2022-49896
published medium CVSS 3.1 · 5.5cxl/pmem: Fix cxl_pmem_region and cxl_memdev leak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux04ad63f086d1a9649b8b082748cbc7a570ade461 to < f43b6bfdbab78606735ba81185cf0602b81e40b6 · 04ad63f086d1a9649b8b082748cbc7a570ade461 to < 4d07ae22e79ebc2d7528bbc69daa53b86981cb3a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.0.8 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 04ad63f086d1a9649b8b082748cbc7a570ade461 to < f43b6bfdbab78606735ba81185cf0602b81e40b6 (affected · git)04ad63f086d1a9649b8b082748cbc7a570ade461 to < 4d07ae22e79ebc2d7528bbc69daa53b86981cb3a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.0.8 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
2Provider assertions
2Linux · cna
cxl/pmem: Fix cxl_pmem_region and cxl_memdev leak
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 060d27213cc27af550d44d83ca832c1d90c3ac300e91994ad29819874d66f98a
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record