CVE-2022-50402

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

MEDIUM
5.5
CVSS Score
Published: September 18, 2025 at 04:03 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.5 ≤ v < 4.19.2703.5 ≤ v < 5.10.1633.5 ≤ v < 5.15.863.5 ≤ v < 5.4.2293.5 ≤ v < 6.0.163.5 ≤ v < 6.1.23.5 ≤ v < 6.24.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.23.5d60b479d177a5735b6b4db6ee5280ef6653f50e7
Vendor states this is fixed in 100caacfa0ed26e061954c90cdc835d42f709536 (fixed)
Vendor states this is fixed in 21e9aac9a74d30907d44bae0d24c036cb3819406 (fixed)
Vendor states this is fixed in 3bd548e5b819b8c0f2c9085de775c5c7bff9052f (fixed)
Vendor states this is fixed in 5d8d046f3dba939e74e2414f009df426700430ed (fixed)
Vendor states this is fixed in 99bef41f8e8d1d52b5cb34f2f193f1346192752b (fixed)
Vendor states this is fixed in b621d17fe8b079574c773800148fb86907f3445d (fixed)
Vendor states this is fixed in ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1 (fixed)
Vendor states this is fixed in 3.5 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card