Menu

Star on GitHub · 3.2k

CVE-2022-49894

5.5 · MEDIUM

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.

Published May 1, 2025CWE-476EPSS 0.17%

Overview

CVE-2022-49894 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49894?

CVE-2022-49894 is a medium-severity vulnerability. It was published on May 1, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49894?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49894?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49894?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49894 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all