CVE-2022-50402 Details
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
A null pointer dereference vulnerability has been identified in the Linux kernel's MD bitmap driver. This issue arises because the function 'md_bitmap_get_counter()' can return a NULL pointer, leading to a dereference that causes a crash. The vulnerability has been addressed by adding a check to ensure the return value is valid before proceeding, thus preventing the null pointer dereference.
Users can upgrade to the patched version of the Linux kernel available in the Linux Kernel Stable Tree. Instructions for downloading the latest stable kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/100caacfa0ed26e061954c90cdc835d42f709536 | kernel.org | Patch |
| https://git.kernel.org/stable/c/21e9aac9a74d30907d44bae0d24c036cb3819406 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3bd548e5b819b8c0f2c9085de775c5c7bff9052f | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d8d046f3dba939e74e2414f009df426700430ed | kernel.org | Patch |
| https://git.kernel.org/stable/c/99bef41f8e8d1d52b5cb34f2f193f1346192752b | kernel.org | Patch |
| https://git.kernel.org/stable/c/b621d17fe8b079574c773800148fb86907f3445d | kernel.org | Patch |
| https://git.kernel.org/stable/c/ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.5, < 4.19.270 >= 4.20, < 5.4.229 >= 5.5, < 5.10.163 >= 5.11, < 5.15.86 >= 5.16, < 6.0.16 >= 6.1, < 6.1.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 11, 2025 | Initial Analysis | [email protected] |
| Sep 18, 2025 | New CVE Received | kernel.org |