# CVE-2026-99469: media: gspca: use vb2_video_unregister_device() on disconnect

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:42:55.312Z
- Modified: 2026-11-23T08:17:50.550Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from f729ef5796d82a95758d9edc7eea5879a3a12b25 before aa3d73c8f24eca700a3278985b61f8a437f59805; from f729ef5796d82a95758d9edc7eea5879a3a12b25 before 99ce88b7439d2bb2e5da774a9c9e9c38a8b3dde5; from f729ef5796d82a95758d9edc7eea5879a3a12b25 before a80e1fba874ca71f328094c8c5276e8be0f091cc; from f729ef5796d82a95758d9edc7eea5879a3a12b25 before e87a2571054aad561d028fee9b85c000af022726; from f729ef5796d82a95758d9edc7eea5879a3a12b25 before fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2; from f729ef5796d82a95758d9edc7eea5879a3a12b25 before d02a2ed057372d3739ab23d778fc4e04d3330513; from f729ef5796d82a95758d9edc7eea5879a3a12b25 before f6b21af3e32f142bf3e591dbb10044c60472f716; from f729ef5796d82a95758d9edc7eea5879a3a12b25 before 3dbbbc3cafa2de377d9b97af4e35b8b6b5282047; 5.10 (not affected: before 5.10; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/aa3d73c8f24eca700a3278985b61f8a437f59805>
- <https://git.kernel.org/stable/c/99ce88b7439d2bb2e5da774a9c9e9c38a8b3dde5>
- <https://git.kernel.org/stable/c/a80e1fba874ca71f328094c8c5276e8be0f091cc>
- <https://git.kernel.org/stable/c/e87a2571054aad561d028fee9b85c000af022726>
- <https://git.kernel.org/stable/c/fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2>
- <https://git.kernel.org/stable/c/d02a2ed057372d3739ab23d778fc4e04d3330513>
- <https://git.kernel.org/stable/c/f6b21af3e32f142bf3e591dbb10044c60472f716>
- <https://git.kernel.org/stable/c/3dbbbc3cafa2de377d9b97af4e35b8b6b5282047>

## Sources

- CVE List: [CVE-2026-99469](https://www.cve.org/CVERecord?id=CVE-2026-99469), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99469](https://nvd.nist.gov/vuln/detail/CVE-2026-99469), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99469 · Whole record: https://cve.day/CVE-2026-99469.json · Rebuilt by cve.day 2026-11-25T22:59:52.082Z
