CVE Database›Document archive›CVE-2022-50402

CVE-2022-50402

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

Loading…

Severity

Moderate

Red Hat Product Security

5.2

CVSS 3.1

Review impact separately from score.

Published · September 18, 2025

Updated · June 30, 2026

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

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 · 5.2
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H

CWE-476 · NULL Pointer Dereference