Menu

Star on GitHub · 3.2k

CVE-2022-49526

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: md/bitmap: don't set sb values if can't pass sanity check If bitmap area contains invalid data, kernel will crash then mdadm tr…

Published Feb 26, 2025CWE-476EPSS 0.32%

Overview

CVE-2022-49526 is a medium-severity vulnerability. It was published on February 26, 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:

md/bitmap: don't set sb values if can't pass sanity check

If bitmap area contains invalid data, kernel will crash then mdadm

triggers "Segmentation fault".

This is cluster-md speical bug. In non-clustered env, mdadm will

handle broken metadata case. In clustered array, only kernel space

handles bitmap slot info. But even this bug only happened in clustered

env, current sanity check is wrong, the code should be changed.

How to trigger: (faulty injection)

dd if=/dev/zero bs=1M count=1 oflag=direct of=/dev/sda

dd if=/dev/zero bs=1M count=1 oflag=direct of=/dev/sdb

mdadm -C /dev/md0 -b clustered -e 1.2 -n 2 -l mirror /dev/sda /dev/sdb

mdadm -Ss

echo aaa > magic.txt

== below modifying slot 2 bitmap data ==

dd if=magic.txt of=/dev/sda seek=16384 bs=1 count=3 <== destroy magic

dd if=/dev/zero of=/dev/sda seek=16436 bs=1 count=4 <== ZERO chunksize

mdadm -A /dev/md0 /dev/sda /dev/sdb

== kernel crashes. mdadm outputs "Segm

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

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

How severe is CVE-2022-49526?

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

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

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