GHSA-GF8H-9QPM-2GF3
Vulnerability from github – Published: 2026-09-16 12:30 – Updated: 2026-09-16 12:30In the Linux kernel, the following vulnerability has been resolved:
USB: gadget: fix NULL pointer dereference in gadget_dev_ioctl()
gadget_dev_ioctl() reads dev->gadget before acquiring dev->lock, but dev->state is checked after acquiring the lock. Therefore a concurrent bind can change the device state between these operations, which can leave ioctl with a stale NULL gadget pointer and causing a NULL pointer dereference at gadget->ops->ioctl.
Read dev->gadget while holding dev->lock so that the gadget pointer and device state are sampled consistently.
{
"affected": [],
"aliases": [
"CVE-2026-90020"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-16T11:17:14Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: gadget: fix NULL pointer dereference in gadget_dev_ioctl()\n\ngadget_dev_ioctl() reads dev-\u003egadget before acquiring dev-\u003elock, but\ndev-\u003estate is checked after acquiring the lock. Therefore a concurrent\nbind can change the device state between these operations, which can\nleave ioctl with a stale NULL gadget pointer and causing a NULL pointer\ndereference at gadget-\u003eops-\u003eioctl.\n\nRead dev-\u003egadget while holding dev-\u003elock so that the gadget pointer\nand device state are sampled consistently.",
"id": "GHSA-gf8h-9qpm-2gf3",
"modified": "2026-09-16T12:30:45Z",
"published": "2026-09-16T12:30:45Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90020"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/162178ca83c3de986900385a0477eb539f8e1a7e"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/64ec019bf9a8b12f53b9f2777d65aadb730b5a84"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/87cbf9410b12f5c2d659bb01e8ecf6517cb9f28c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8be30959be31b4205e3bdd2e2a6221f3a2ee7ea1"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c29a83c1ff3f06d5751f6d365b606c9f81ccc4cb"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/dd0eed9e165b1a6292f49e622e3dd0b7d99b106d"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e8219accce2f6d3502ed71f5b5e854ecf27249a6"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ebd916fdfefaacbc0e577f7037ec96b31a105e5f"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.