CVE-2022-48707
publishedcxl/region: Fix null pointer dereference for resetting decoder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < a04c7d062b537ff787d00da95bdfe343260d4beb · 176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 4fa4302d6dc7de7e8e74dc7405611a2efb4bf54b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.1.12 through 6.1.* (unaffected · semver) · 6.2 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/region: Fix null pointer dereference for resetting decoder Not all decoders have a reset callback. The CXL specification allows a host bridge with a single root port to have no explicit HDM decoders. Currently the region driver assumes there are none. As such the CXL core creates a special pass through decoder instance without a commit/reset callback. Prior to this patch, the ->reset() callback was called unconditionally when calling cxl_region_decode_reset. Thus a configuration with 1 Host Bridge, 1 Root Port, and one directly attached CXL type 3 device or multiple CXL type 3 devices attached to downstream ports of a switch can cause a null pointer dereference. Before the fix, a kernel crash was observed when we destroy the region, and a pass through decoder is reset. The issue can be reproduced as below, 1) create a region with a CXL setup which includes a HB with a single root port under which a memdev is attached directly. 2) destroy the region with cxl destroy-region regionX -f.
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < a04c7d062b537ff787d00da95bdfe343260d4beb (affected · git)176baefb2eb5d7a3ddebe3ff803db1fce44574b5 to < 4fa4302d6dc7de7e8e74dc7405611a2efb4bf54b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.1.12 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
cxl/region: Fix null pointer dereference for resetting decoder
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a6c59d14a32b88c38683af8deb2af1960fcd66ace3908fa5f398a018638e0169
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record