« List of all CVEs

CVE-2022-50402

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

Published: 9/18/2025 Last updated: 10/29/2025 Reserved: 9/17/2025

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

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (27)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux 0.17.0
Linux Linux 9.5.2.2
Linux Linux Lantronix PremierWave 2050 8.9.0.0R4 (in QEMU)
Linux Linux WCD9390

References (14)