{"id":"CVE-2026-68216","summary":"media: pwc: Return queued buffers on start_streaming() failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pwc: Return queued buffers on start_streaming() failure\n\nThe vb2 framework hands buffers to the driver via buf_queue() before\ncalling start_streaming().  If start_streaming() returns an error\nwithout first returning those buffers via vb2_buffer_done(),\nvb2_start_streaming() fires WARN_ON(owned_by_drv_count) and the queued\nbuffers leak.\n\npwc's start_streaming() had two early returns that hit this trap:\n-ENODEV when the USB device was already disconnected, and -ERESTARTSYS\nwhen mutex_lock_interruptible() was interrupted by a signal.  Call the\nexisting pwc_cleanup_queued_bufs() helper with VB2_BUF_STATE_QUEUED\nbefore returning (matching the state already used by the\npwc_isoc_init() error path in the same function).\n\nThis mirrors the uvcvideo fix in commit 4cf3b6fd54eb (\"media: uvcvideo:\nReturn queued buffers on start_streaming() failure\").","modified":"2026-08-12T04:18:46.616204945Z","published":"2026-08-10T12:00:35.592Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68216.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5d7cc2634c3843a1414a0f6407aa17f1f91dee60"},{"type":"WEB","url":"https://git.kernel.org/stable/c/975b2ee20e569d47821e4f6c9761b4664d48a6a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4f8f629983f643333e49df90557805469bcbb25"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb16b79a2be2cec9c3ebe4147490817c4d8b1de3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2f9fcacd81953dde6cb86312ab13ca13e689664"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68216.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68216"},{"type":"PACKAGE","url":"https://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":"ceede9fa8939e40ad0ddb4ad1355f45c6f1d3478"},{"fixed":"f2f9fcacd81953dde6cb86312ab13ca13e689664"},{"fixed":"5d7cc2634c3843a1414a0f6407aa17f1f91dee60"},{"fixed":"cb16b79a2be2cec9c3ebe4147490817c4d8b1de3"},{"fixed":"a4f8f629983f643333e49df90557805469bcbb25"},{"fixed":"975b2ee20e569d47821e4f6c9761b4664d48a6a4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68216.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68216.json"}}],"schema_version":"1.9.0"}