CVE-2022-49894
published medium CVSS 3.1 · 5.5cxl/region: Fix region HPA ordering validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux384e624bb211b406db40edc900bb51af8bb267d0 to < 12316b9f7c18138ae656050cfd716728e27b7e2f · 384e624bb211b406db40edc900bb51af8bb267d0 to < a90accb358ae33ea982a35595573f7a045993f8b · 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/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
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 | 384e624bb211b406db40edc900bb51af8bb267d0 to < 12316b9f7c18138ae656050cfd716728e27b7e2f (affected · git)384e624bb211b406db40edc900bb51af8bb267d0 to < a90accb358ae33ea982a35595573f7a045993f8b (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-476 CWE-476 NULL Pointer Dereference
References
2Provider assertions
2Linux · cna
cxl/region: Fix region HPA ordering validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dd73e53ab68d41889a8c5e88c83a4cebe0718c0e8eef503423bf5e60473589ad
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record