{"id":"CVE-2022-50402","aliases":["CVE-2022-50402"],"related":[],"kind":"vulnerability","state":"published","title":"drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/md/md-bitmap: check the return value of md_bitmap_get_counter()\n\nCheck the return value of md_bitmap_get_counter() in case it returns\nNULL pointer, which will result in a null pointer dereference.\n\nv2: update the check to include other dereference","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/md/md-bitmap: check the return value of md_bitmap_get_counter()\n\nCheck the return value of md_bitmap_get_counter() in case it returns\nNULL pointer, which will result in a null pointer dereference.\n\nv2: update the check to include other dereference","source":"cvelist"}],"published":"2025-09-18T16:03:48.184Z","modified":"2026-06-17T05:23:27.893Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"d60b479d177a5735b6b4db6ee5280ef6653f50e7","fixed":"21e9aac9a74d30907d44bae0d24c036cb3819406","status":"affected"},{"type":"git","introduced":"d60b479d177a5735b6b4db6ee5280ef6653f50e7","fixed":"5d8d046f3dba939e74e2414f009df426700430ed","status":"affected"},{"type":"git","introduced":"d60b479d177a5735b6b4db6ee5280ef6653f50e7","fixed":"100caacfa0ed26e061954c90cdc835d42f709536","status":"affected"},{"type":"git","introduced":"d60b479d177a5735b6b4db6ee5280ef6653f50e7","fixed":"b621d17fe8b079574c773800148fb86907f3445d","status":"affected"},{"type":"git","introduced":"d60b479d177a5735b6b4db6ee5280ef6653f50e7","fixed":"ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1","status":"affected"},{"type":"git","introduced":"d60b479d177a5735b6b4db6ee5280ef6653f50e7","fixed":"99bef41f8e8d1d52b5cb34f2f193f1346192752b","status":"affected"},{"type":"git","introduced":"d60b479d177a5735b6b4db6ee5280ef6653f50e7","fixed":"3bd548e5b819b8c0f2c9085de775c5c7bff9052f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.5","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/21e9aac9a74d30907d44bae0d24c036cb3819406","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d8d046f3dba939e74e2414f009df426700430ed","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/100caacfa0ed26e061954c90cdc835d42f709536","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b621d17fe8b079574c773800148fb86907f3445d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99bef41f8e8d1d52b5cb34f2f193f1346192752b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bd548e5b819b8c0f2c9085de775c5c7bff9052f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T19:06:53.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50402","url":"https://www.cve.org/CVERecord?id=CVE-2022-50402","licence":"CVE Terms of Use","modified":"2026-05-11T19:18:49.322Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50402","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50402","licence":"Public domain","modified":"2026-06-17T05:23:27.893Z"}],"updatedAt":"2026-11-25T22:58:21.202Z","epss":{"score":0.00168,"percentile":0.06306,"date":"2026-12-01T12:00:22.000Z"}}