CVE-2022-49894: cxl/region: Fix region HPA ordering validation
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Fix region HPA ordering validation
Some regions may not have any address space allocated. Skip them when
validating HPA order otherwise a crash like the following may result:
devm_cxl_add_region: cxl_acpi cxl_acpi.0: decoder3.4: created region9
BUG: kernel NULL pointer dereference, address: 0000000000000000
[..]
RIP: 0010:store_targetN+0x655/0x1740 [cxl_core]
[..]
Call Trace:
<TASK>
kernfs_fop_write_iter+0x144/0x200
vfs_write+0x24a/0x4d0
ksys_write+0x69/0xf0
do_syscall_64+0x3a/0x90
store_targetN+0x655/0x1740:
alloc_region_ref at drivers/cxl/core/region.c:676
(inlined by) cxl_port_attach_region at drivers/cxl/core/region.c:850
(inlined by) cxl_region_attach at drivers/cxl/core/region.c:1290
(inlined by) attach_target at drivers/cxl/core/region.c:1410
(inlined by) store_targetN at drivers/cxl/core/region.c:1453
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel crash bug in CXL region handling. A local user with limited privileges may be able to trigger a null pointer dereference, causing system availability loss. The sources do not indicate data theft, remote access, or active exploitation.
Executive priority
Treat this as a targeted availability risk, not a broad remote compromise. Patch CXL-capable Linux systems during normal vulnerability maintenance, faster where shared local access or uptime sensitivity is high.
Technical view
The flaw is a CWE-476 null pointer dereference in Linux CXL region HPA ordering validation. Regions without allocated address space were not skipped, which could crash in cxl_core during target attachment through store_targetN. CVSS is 5.5, local attack vector, low complexity, low privileges, no confidentiality or integrity impact, high availability impact.
Likely exposure
Exposure is most relevant to Linux systems running affected 6.0 or 6.1-era kernels with CXL region support. Hosts without CXL functionality or without local users able to configure CXL regions are less likely to be exposed.
Exploitation context
The CVE record says KEV is false, and the provided sources do not claim active exploitation. The described trigger is local and tied to CXL region configuration paths, not remote network attack.
Researcher notes
The public description identifies the crash path and fix direction but does not provide full downstream version mapping. Validate against vendor kernel backports rather than raw upstream version strings alone.
Mitigation direction
Apply a vendor kernel update containing the referenced Linux stable fixes.
Prioritize systems using CXL memory or CXL region management.
Restrict CXL region configuration access to trusted local administrators.
Monitor vendor advisories for exact downstream fixed package versions.
Validation and detection
Inventory Linux kernel versions across CXL-capable systems.
Check whether vendor kernels include the referenced stable commits.
Review kernel logs for cxl_core NULL pointer dereference crashes.
Confirm untrusted users cannot modify CXL region target settings.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.