What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.270, 5.10.163, 5.15.86, 5.4.229. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50402 or the next vulnerability affects your stack