Bug 2396522 (CVE-2022-50402) - CVE-2022-50402 kernel: drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
Summary: CVE-2022-50402 kernel: drivers/md/md-bitmap: check the return value of md_bit...
Keywords:
Status: NEW
Alias: CVE-2022-50402
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 17:03 UTC by OSIDB Bzimport
Modified: 2025-09-23 09:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-18 17:03:12 UTC
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


Note You need to log in before you can comment on or make changes to this bug.