{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2021-47331", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-05-21T14:28:16.975Z", "datePublished": "2024-05-21T14:35:42.435Z", "dateUpdated": "2026-05-11T13:52:24.869Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T13:52:24.869Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: common: usb-conn-gpio: fix NULL pointer dereference of charger\n\nWhen power on system with OTG cable, IDDIG's interrupt arises before\nthe charger registration, it will cause a NULL pointer dereference,\nfix the issue by registering the power supply before requesting\nIDDIG/VBUS irq." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/usb/common/usb-conn-gpio.c" ], "versions": [ { "version": "e3ee0e740c3887d2293e8d54a8707218d70d86ca", "lessThan": "8e8d910e9a3a7fba86140aff4924c30955ab228b", "status": "affected", "versionType": "git" }, { "version": "e3ee0e740c3887d2293e8d54a8707218d70d86ca", "lessThan": "436906fd248e018403bcda61a9311d9af02912f1", "status": "affected", "versionType": "git" }, { "version": "e3ee0e740c3887d2293e8d54a8707218d70d86ca", "lessThan": "1a133a0996d6b4c83509d570ed4edcba34c44f25", "status": "affected", "versionType": "git" }, { "version": "e3ee0e740c3887d2293e8d54a8707218d70d86ca", "lessThan": "880287910b1892ed2cb38977893b947382a09d21", "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/usb/common/usb-conn-gpio.c" ], "versions": [ { "version": "5.9", "status": "affected" }, { "version": "0", "lessThan": "5.9", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.52", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.12.19", "lessThanOrEqual": "5.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.13.4", "lessThanOrEqual": "5.13.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.14", "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": "5.9", "versionEndExcluding": "5.10.52" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.9", "versionEndExcluding": "5.12.19" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.9", "versionEndExcluding": "5.13.4" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.9", "versionEndExcluding": "5.14" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/8e8d910e9a3a7fba86140aff4924c30955ab228b" }, { "url": "https://git.kernel.org/stable/c/436906fd248e018403bcda61a9311d9af02912f1" }, { "url": "https://git.kernel.org/stable/c/1a133a0996d6b4c83509d570ed4edcba34c44f25" }, { "url": "https://git.kernel.org/stable/c/880287910b1892ed2cb38977893b947382a09d21" } ], "title": "usb: common: usb-conn-gpio: fix NULL pointer dereference of charger", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CISA ADP Vulnrichment", "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2021-47331", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-05-23T18:02:23.364624Z" } } } ], "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-04T17:14:01.897Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-04T05:32:08.436Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/8e8d910e9a3a7fba86140aff4924c30955ab228b", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/436906fd248e018403bcda61a9311d9af02912f1", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/1a133a0996d6b4c83509d570ed4edcba34c44f25", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/880287910b1892ed2cb38977893b947382a09d21", "tags": [ "x_transferred" ] } ] } ] } }