CVE-2026-99469

Source
https://cve.org/CVERecord?id=CVE-2026-99469
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99469.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99469
Downstream
Published
2026-11-19T14:42:55Z
Modified
2026-11-19T17:01:19Z
Summary
media: gspca: use vb2_video_unregister_device() on disconnect
Details

In 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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99469.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f729ef5796d82a95758d9edc7eea5879a3a12b25
Fixed
fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2
Fixed
d02a2ed057372d3739ab23d778fc4e04d3330513
Fixed
f6b21af3e32f142bf3e591dbb10044c60472f716
Fixed
3dbbbc3cafa2de377d9b97af4e35b8b6b5282047

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99469.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99469.json"