{"id":"CVE-2026-68231","aliases":["CVE-2026-68231"],"related":[],"kind":"vulnerability","state":"published","title":"media: airspy: Return queued buffers on start_streaming() failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: airspy: 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\nairspy_start_streaming() returned -ENODEV early when the USB device had\nbeen disconnected (s->udev == NULL) without returning any buffers that\nbuf_queue() had already accepted.  Take v4l2_lock first and jump to the\nexisting err_clear_bit label, which already drains s->queued_bufs via\nvb2_buffer_done(..., VB2_BUF_STATE_QUEUED) before unlocking.\n\nThis mirrors the uvcvideo fix in commit 4cf3b6fd54eb (\"media: uvcvideo:\nReturn queued buffers on start_streaming() failure\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: airspy: 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\nairspy_start_streaming() returned -ENODEV early when the USB device had\nbeen disconnected (s->udev == NULL) without returning any buffers that\nbuf_queue() had already accepted.  Take v4l2_lock first and jump to the\nexisting err_clear_bit label, which already drains s->queued_bufs via\nvb2_buffer_done(..., VB2_BUF_STATE_QUEUED) before unlocking.\n\nThis mirrors the uvcvideo fix in commit 4cf3b6fd54eb (\"media: uvcvideo:\nReturn queued buffers on start_streaming() failure\").","source":"cvelist"}],"published":"2026-08-10T12:00:54.801Z","modified":"2026-12-01T17:02:39.433Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"badceeb82a9d8d8e98d07859f3c89130ae1998b9","status":"affected"},{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"122ce0c0af629a8765ddf1adf6fb85c6db3d47cb","status":"affected"},{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"bcdf261c4c29077fc3da6449f7eda77357046205","status":"affected"},{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"877686a74ecdc93dcaee09dbac566e819059c9e7","status":"affected"},{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"cd42623d698b59f1fe5768f78a4101c28d5feb2e","status":"affected"},{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"73bd2779865372b1017d4f555b45270aa2d0d710","status":"affected"},{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"170fcc945bc094b1c956bf555c070692826a3eff","status":"affected"},{"type":"git","introduced":"634fe5033951b80ef4b98d8f047cb1083d29170d","fixed":"04344d0b4929caa94c0df72f767752aa0935ef5d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.17","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.17","fixed":"5.10.265"},{"status":"affected","introduced":"5.11","fixed":"5.15.216"},{"status":"affected","introduced":"5.16","fixed":"6.1.183"},{"status":"affected","introduced":"6.2","fixed":"6.6.148"},{"status":"affected","introduced":"6.7","fixed":"6.12.101"},{"status":"affected","introduced":"6.13","fixed":"6.18.42"},{"status":"affected","introduced":"6.19","fixed":"7.1.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/badceeb82a9d8d8e98d07859f3c89130ae1998b9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/122ce0c0af629a8765ddf1adf6fb85c6db3d47cb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bcdf261c4c29077fc3da6449f7eda77357046205","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/877686a74ecdc93dcaee09dbac566e819059c9e7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd42623d698b59f1fe5768f78a4101c28d5feb2e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73bd2779865372b1017d4f555b45270aa2d0d710","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/170fcc945bc094b1c956bf555c070692826a3eff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/04344d0b4929caa94c0df72f767752aa0935ef5d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68231","url":"https://www.cve.org/CVERecord?id=CVE-2026-68231","licence":"CVE Terms of Use","modified":"2026-08-19T16:32:04.017Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68231","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68231","licence":"Public domain","modified":"2026-12-01T17:02:39.433Z"}],"updatedAt":"2026-12-01T17:17:32.455Z","epss":{"score":0.0022,"percentile":0.13335,"date":"2026-12-01T12:00:22.000Z"}}