CVE-2022-50402

MEDIUM EPSS 4.3%
Published Sep 18, 20259mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Sep 18, 2025 9mo ago
Last Modified Jun 17, 2026 1w ago

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 Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
4.3% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 6

VendorProductVersionRange
linuxlinux_kernel*≥3.5  –  <4.19.270
linuxlinux_kernel*≥4.20  –  <5.4.229
linuxlinux_kernel*≥5.5  –  <5.10.163
linuxlinux_kernel*≥5.11  –  <5.15.86
linuxlinux_kernel*≥5.16  –  <6.0.16
linuxlinux_kernel*≥6.1  –  <6.1.2

References 7

  • git.kernel.org https://git.kernel.org/stable/c/100caacfa0ed26e061954c90cdc835d42f709536
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/21e9aac9a74d30907d44bae0d24c036cb3819406
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3bd548e5b819b8c0f2c9085de775c5c7bff9052f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5d8d046f3dba939e74e2414f009df426700430ed
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/99bef41f8e8d1d52b5cb34f2f193f1346192752b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b621d17fe8b079574c773800148fb86907f3445d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/100caacfa0ed26e061954c90cdc835d42f709536
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/21e9aac9a74d30907d44bae0d24c036cb3819406
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3bd548e5b819b8c0f2c9085de775c5c7bff9052f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5d8d046f3dba939e74e2414f009df426700430ed
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/99bef41f8e8d1d52b5cb34f2f193f1346192752b
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b621d17fe8b079574c773800148fb86907f3445d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1
    Patch