GHSA-P2G2-5XG5-FJ3W
Vulnerability from github – Published: 2026-09-11 21:31 – Updated: 2026-09-14 15:32In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: uvc: fix dangling pointers in uvc_function_bind() and uvc_function_unbind()
In uvc_function_bind() error path, we use usb_ep_free_request which uses uvc->control_req but does not set it to NULL afterwards. Thus, uvc->control_req is a dangling pointer causing a UAF. Also we do not set the uvc->control_buf pointer to NULL after freeing it, which is another dangling pointer. Fix it by setting uvc->control_req to NULL after we run usb_ep_free_request() and uvc->control_buf to NULL after kfree. Do the same for uvc_function_unbind().
{
"affected": [],
"aliases": [
"CVE-2026-89733"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-11T20:20:03Z",
"severity": "HIGH"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uvc: fix dangling pointers in uvc_function_bind() and uvc_function_unbind()\n\nIn uvc_function_bind() error path, we use usb_ep_free_request which\nuses uvc-\u003econtrol_req but does not set it to NULL afterwards. Thus,\nuvc-\u003econtrol_req is a dangling pointer causing a UAF. Also we do not set\nthe uvc-\u003econtrol_buf pointer to NULL after freeing it, which is another\ndangling pointer. Fix it by setting uvc-\u003econtrol_req to NULL after we run\nusb_ep_free_request() and uvc-\u003econtrol_buf to NULL after kfree. Do the\nsame for uvc_function_unbind().",
"id": "GHSA-p2g2-5xg5-fj3w",
"modified": "2026-09-14T15:32:35Z",
"published": "2026-09-11T21:31:38Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89733"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/38f822ddce9355893d734279a26ddec45182197e"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/502a7f5b79b7ba751988789e982924f8f496129f"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/85dd5e8bd6776d02854f2847d83429f1f712e99c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8e88ed8a374de67270d38689f2a81018909cafbb"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/9897b7da8c0ad8356c1b8649379fcb5a689462cb"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/bdab5605259ba5d6ff927c1a85cc83eb3ecfdacc"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/bec7708eb3b5295d12e931db24381b7c94c72953"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ddb1b0d5d858584ed0d3a5aaa042ee693998c7e2"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
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.