CVEvulnerability
CVE-2022-50402
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-09-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 3.5 < 4.19.270)
• linux linux kernel (>= 4.20 < 5.4.229)
• linux linux kernel (>= 5.5 < 5.10.163)
• linux linux kernel (>= 5.11 < 5.15.86)
• linux linux kernel (>= 5.16 < 6.0.16)
• linux linux kernel (>= 6.1 < 6.1.2)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/100caacfa0ed26e061954c90cdc835d42f709536 Patch
- https://git.kernel.org/stable/c/21e9aac9a74d30907d44bae0d24c036cb3819406 Patch
- https://git.kernel.org/stable/c/3bd548e5b819b8c0f2c9085de775c5c7bff9052f Patch
- https://git.kernel.org/stable/c/5d8d046f3dba939e74e2414f009df426700430ed Patch
- https://git.kernel.org/stable/c/99bef41f8e8d1d52b5cb34f2f193f1346192752b Patch
- https://git.kernel.org/stable/c/b621d17fe8b079574c773800148fb86907f3445d Patch
- https://git.kernel.org/stable/c/ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1 Patch