{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-50402", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-09-17T14:53:06.999Z", "datePublished": "2025-09-18T16:03:48.184Z", "dateUpdated": "2026-05-11T19:18:49.322Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T19:18:49.322Z" }, "descriptions": [ { "lang": "en", "value": "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" } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/md/md-bitmap.c" ], "versions": [ { "version": "d60b479d177a5735b6b4db6ee5280ef6653f50e7", "lessThan": "21e9aac9a74d30907d44bae0d24c036cb3819406", "status": "affected", "versionType": "git" }, { "version": "d60b479d177a5735b6b4db6ee5280ef6653f50e7", "lessThan": "5d8d046f3dba939e74e2414f009df426700430ed", "status": "affected", "versionType": "git" }, { "version": "d60b479d177a5735b6b4db6ee5280ef6653f50e7", "lessThan": "100caacfa0ed26e061954c90cdc835d42f709536", "status": "affected", "versionType": "git" }, { "version": "d60b479d177a5735b6b4db6ee5280ef6653f50e7", "lessThan": "b621d17fe8b079574c773800148fb86907f3445d", "status": "affected", "versionType": "git" }, { "version": "d60b479d177a5735b6b4db6ee5280ef6653f50e7", "lessThan": "ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1", "status": "affected", "versionType": "git" }, { "version": "d60b479d177a5735b6b4db6ee5280ef6653f50e7", "lessThan": "99bef41f8e8d1d52b5cb34f2f193f1346192752b", "status": "affected", "versionType": "git" }, { "version": "d60b479d177a5735b6b4db6ee5280ef6653f50e7", "lessThan": "3bd548e5b819b8c0f2c9085de775c5c7bff9052f", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/md/md-bitmap.c" ], "versions": [ { "version": "3.5", "status": "affected" }, { "version": "0", "lessThan": "3.5", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.270", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.229", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.163", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.86", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.0.16", "lessThanOrEqual": "6.0.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.2", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.2", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "4.19.270" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.4.229" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.10.163" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.15.86" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "6.0.16" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "6.1.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "6.2" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/21e9aac9a74d30907d44bae0d24c036cb3819406" }, { "url": "https://git.kernel.org/stable/c/5d8d046f3dba939e74e2414f009df426700430ed" }, { "url": "https://git.kernel.org/stable/c/100caacfa0ed26e061954c90cdc835d42f709536" }, { "url": "https://git.kernel.org/stable/c/b621d17fe8b079574c773800148fb86907f3445d" }, { "url": "https://git.kernel.org/stable/c/ff3b7e12bc9f50de05c9d82b5b79e23e5be888f1" }, { "url": "https://git.kernel.org/stable/c/99bef41f8e8d1d52b5cb34f2f193f1346192752b" }, { "url": "https://git.kernel.org/stable/c/3bd548e5b819b8c0f2c9085de775c5c7bff9052f" } ], "title": "drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 5.5, "attackVector": "LOCAL", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "NONE" } }, { "other": { "type": "ssvc", "content": { "id": "CVE-2022-50402", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2026-01-14T19:06:53.418034Z" } } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-476", "description": "CWE-476 NULL Pointer Dereference" } ] } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-01-14T19:13:07.931Z" } } ] } }