LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50402: drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()

In the Linux kernel, the following vulnerability has been resolved: drivers/md/md-bitmap: check the return value of md_bitmap_get_counter() Check the return value of md_bitmap_get_counter() in case it returns NULL pointer, which will result in a null pointer dereference. v2: update the check to include other dereference

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This Linux kernel flaw can crash an affected system when md bitmap handling dereferences a missing counter. It requires local, low-privileged access and mainly affects availability, not data theft or integrity. Treat it as operational risk for Linux systems using md software RAID or exposed to untrusted local users.

Executive priority

Schedule remediation through normal kernel patching, with faster handling for shared or storage-critical systems. This is not evidenced as internet-exploitable or actively exploited, but a kernel crash can still cause service interruption and recovery work.

Technical view

CVE-2022-50402 is a CWE-476 null pointer dereference in drivers/md/md-bitmap. md_bitmap_get_counter() can return NULL, and the vulnerable code dereferences it. CVSS 3.1 is 5.5, with local attack vector, low complexity, low privileges, no user interaction, and high availability impact only.

Likely exposure

Exposure is likely limited to Linux kernels in the affected version ranges and configurations exercising md bitmap code. Highest concern is multi-user, shared-hosting, CI, virtualization, or storage servers where low-privileged local users may influence workloads. The bundle does not identify specific distributions or appliances.

Exploitation context

The source bundle does not report active exploitation, and KEV is false. The CVSS vector indicates exploitation requires local low-privileged access, not remote network access. The expected impact is denial of service through kernel crash behavior, not confidentiality or integrity compromise.

Researcher notes

The key evidence is the kernel fix rationale: check md_bitmap_get_counter() before dereference. Affected-version data in the bundle is broad and does not map fixes to distribution package names. Validate exposure through kernel build provenance, backport status, and md bitmap usage.

Mitigation direction

  • Update affected Linux kernels through the distribution or vendor-supported kernel channel.
  • Confirm the update includes the md-bitmap NULL check fixes referenced by the kernel commits.
  • Prioritize shared systems, storage servers, and environments with untrusted local users.
  • Review vendor guidance for any configuration-specific mitigations or backported package versions.

Validation and detection

  • Inventory Linux kernel versions across systems running md software RAID or related storage workloads.
  • Compare installed kernel packages against distribution advisories for CVE-2022-50402.
  • Check whether local kernel source or package changelogs include the referenced md-bitmap fix.
  • Review crash logs for md-bitmap or md_bitmap_get_counter NULL dereference indicators.
Prepared
Confidence
medium
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-50402 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
8Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2022-50402Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxd60b479d177a5735b6b4db6ee5280ef6653f50e7, d60b479d177a5735b6b4db6ee5280ef6653f50e7, d60b479d177a5735b6b4db6ee5280ef6653f50e7, d60b479d177a5735b6b4db6ee5280ef6653f50e7, d60b479d177a5735b6b4db6ee5280ef6653f50e7, d60b479d177a5735b6b4db6ee5280ef6653f50e7, d60b479d177a5735b6b4db6ee5280ef6653f50e7unaffected
LinuxLinux3.5, 0, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.