CVE-2022-49526
kernel: md/bitmap: don't set sb values if can't pass sanity check
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 26, 2025
Updated · June 30, 2026
Description
This vulnerability arises from improper validation of a bitmap superblock in the Linux MD subsystem when operating in clustered RAID arrays. If a corrupted or invalid bitmap is injected (e.g., manually tampering with bytes), the kernel may proceed to process a file chunk size of zero. This leads to a divide-by-zero error within the DIV_ROUND_UP_SECTOR_T() macro, causing a kernel crash and segmentation fault in mdadm
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-99 · Improper Control of Resource Identifiers ('Resource Injection')