Menu

Star on GitHub · 3.2k

CVE-2022-49674

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: dm raid: fix accesses beyond end of raid member array On dm-raid table load (using raid_ctr), dm-raid allocates an array rs->de…

Published Feb 26, 2025CWE-125EPSS 0.29%

Overview

CVE-2022-49674 is a high-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. 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:

dm raid: fix accesses beyond end of raid member array

On dm-raid table load (using raid_ctr), dm-raid allocates an array

rs->devs[rs->raid_disks] for the raid device members. rs->raid_disks

is defined by the number of raid metadata and image tupples passed

into the target's constructor.

In the case of RAID layout changes being requested, that number can be

different from the current number of members for existing raid sets as

defined in their superblocks. Example RAID layout changes include:

- raid1 legs being added/removed

- raid4/5/6/10 number of stripes changed (stripe reshaping)

- takeover to higher raid level (e.g. raid5 -> raid6)

When accessing array members, rs->raid_disks must be used in control

loops instead of the potentially larger value in rs->md.raid_disks.

Otherwise it will cause memory access beyond the end of the rs->devs

array.

Fix this by changing code that is prone to out-of-bounds access.

Also

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-49674?

CVE-2022-49674 is a high-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2022-49674?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. 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-49674?

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-49674?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49674 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 HIGH CVEs from 2022

View all