CVE-2022-50402

published 18 Sep 2025 · updated 11 May 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 100caacfa0ed26e061954c90cdc835d42f709536, Kernel 21e9aac9a74d30907d44bae0d24c036cb3819406, Kernel 3bd548e5b819b8c0f2c9085de775c5c7bff9052f and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.5, >=d60b479d177a5735b6b4db6ee5280ef6653f50e7 <100caacfa0ed26e061954c90cdc835d42f709536, >=d60b479d177a5735b6b4db6ee5280ef6653f50e7 <21e9aac9a74d30907d44bae0d24c036cb3819406, >=d60b479d177a5735b6b4db6ee5280ef6653f50e7 <3bd548e5b819b8c0f2c9085de775c5c7bff9052f, >=d60b479d177a5735b6b4db6ee5280ef6653f50e7 <5d8d046f3dba939e74e2414f009df426700430ed, >=d60b479d177a5735b6b4db6ee5280ef6653f50e7 <99bef41f8e8d1d52b5cb34f2f193f1346192752b, >=d60b479d177a5735b6b4db6ee5280ef6653f50e7 <b621d17fe8b079574c773800148fb86907f3445d, >=d60b479d177a5735b6b4db6ee5280ef6653f50e7 <ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1100caacfa0ed26e061954c90cdc835d42f709536, 21e9aac9a74d30907d44bae0d24c036cb3819406, 3bd548e5b819b8c0f2c9085de775c5c7bff9052f, 5d8d046f3dba939e74e2414f009df426700430ed, 99bef41f8e8d1d52b5cb34f2f193f1346192752b, b621d17fe8b079574c773800148fb86907f3445d, ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50402 severity on Zeptric[![CVE-2022-50402](https://zeptric.io/badge/cve/CVE-2022-50402.svg)](https://zeptric.io/cve/CVE-2022-50402)