{"id":"CVE-2026-99469","published":"2026-11-19T14:42:55Z","modified":"2026-11-23T08:03:13Z","title":"media: gspca: use vb2_video_unregister_device() on disconnect","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->dev. 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00218,"percentile":0.1217,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/aa3d73c8f24eca700a3278985b61f8a437f59805","tags":[]},{"url":"https://git.kernel.org/stable/c/99ce88b7439d2bb2e5da774a9c9e9c38a8b3dde5","tags":[]},{"url":"https://git.kernel.org/stable/c/a80e1fba874ca71f328094c8c5276e8be0f091cc","tags":[]},{"url":"https://git.kernel.org/stable/c/e87a2571054aad561d028fee9b85c000af022726","tags":[]},{"url":"https://git.kernel.org/stable/c/fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2","tags":[]},{"url":"https://git.kernel.org/stable/c/d02a2ed057372d3739ab23d778fc4e04d3330513","tags":[]},{"url":"https://git.kernel.org/stable/c/f6b21af3e32f142bf3e591dbb10044c60472f716","tags":[]},{"url":"https://git.kernel.org/stable/c/3dbbbc3cafa2de377d9b97af4e35b8b6b5282047","tags":[]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":2.43}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < aa3d73c8f24eca700a3278985b61f8a437f59805",">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < 99ce88b7439d2bb2e5da774a9c9e9c38a8b3dde5",">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < a80e1fba874ca71f328094c8c5276e8be0f091cc",">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < e87a2571054aad561d028fee9b85c000af022726",">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2",">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < d02a2ed057372d3739ab23d778fc4e04d3330513",">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < f6b21af3e32f142bf3e591dbb10044c60472f716",">= f729ef5796d82a95758d9edc7eea5879a3a12b25, < 3dbbbc3cafa2de377d9b97af4e35b8b6b5282047"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"euvd":{"id":"EUVD-2026-130140","exploited":false,"provenance":"source"}}