GHSA-22XR-7RJQ-H6Q3
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-19 15:31In the Linux kernel, the following vulnerability has been resolved:
media: gspca: use vb2_video_unregister_device() on disconnect
gspca uses vb2_fop_release(), but gspca_disconnect() only unregisters the video device. If the queue owner closes the device after USB disconnect, vb2_fop_release() releases the queue and invokes gspca_stop_streaming() at that point.
gspca_stream_off() calls subdriver stop callbacks and usb_set_interface() through gspca_dev->dev. By the time the late close runs, the USB core can have freed the usb_device, resulting in a use-after-free. This was observed as a KASAN use-after-free in sd_stopN().
Use vb2_video_unregister_device() so the queue is released and streaming is stopped synchronously during disconnect, while the usb_device is still valid. Since the helper takes the queue lock, which is usb_lock, call it after dropping that lock.
{
"affected": [],
"aliases": [
"CVE-2026-99469"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:18:01Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: gspca: use vb2_video_unregister_device() on disconnect\n\ngspca uses vb2_fop_release(), but gspca_disconnect() only unregisters\nthe video device. If the queue owner closes the device after USB\ndisconnect, vb2_fop_release() releases the queue and invokes\ngspca_stop_streaming() at that point.\n\ngspca_stream_off() calls subdriver stop callbacks and\nusb_set_interface() through gspca_dev-\u003edev. By the time the late close\nruns, the USB core can have freed the usb_device, resulting in a\nuse-after-free. This was observed as a KASAN use-after-free in sd_stopN().\n\nUse vb2_video_unregister_device() so the queue is released and streaming\nis stopped synchronously during disconnect, while the usb_device is still\nvalid. Since the helper takes the queue lock, which is usb_lock, call it\nafter dropping that lock.",
"id": "GHSA-22xr-7rjq-h6q3",
"modified": "2026-11-19T15:31:25Z",
"published": "2026-11-19T15:31:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99469"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3dbbbc3cafa2de377d9b97af4e35b8b6b5282047"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d02a2ed057372d3739ab23d778fc4e04d3330513"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f6b21af3e32f142bf3e591dbb10044c60472f716"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2"
}
],
"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.