
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49526 affects the Linux kernel's bitmap handling in clustered environments. The vulnerability arises when bitmap area contains invalid data, which can lead to a kernel crash when mdadm triggers a "Segmentation fault". This is specifically a cluster-md bug that occurs because in clustered arrays, only kernel space handles bitmap slot info, unlike non-clustered environments where mdadm handles broken metadata cases (Kernel Commit).
The vulnerability occurs in md_bitmap_read_sb (called by md_bitmap_create), where bad bitmap magic doesn't block chunksize assignment. When the chunksize value is zero, it triggers a "divide error" in DIV_ROUND_UP_SECTOR_T(). The issue manifests when the bitmap superblock contains invalid data, particularly when the magic number verification fails but the code continues to process other superblock values (Kernel Commit).
When exploited, this vulnerability causes a kernel crash and mdadm to output "Segmentation fault". This affects system stability and availability, particularly in clustered environments using MD (Multiple Device) RAID configurations (Kernel Commit).
The fix involves restructuring the code to ensure that superblock values are only set after proper sanity checks pass. The patch moves the cluster name and nodes setup after the bitmap-specific field validation, and only assigns bitmap information when no errors are detected (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."