{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-68231",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-68231"
  ],
  "published": "2026-08-10T12:08:00Z",
  "summary": "media: airspy: Return queued buffers on start_streaming() failure",
  "details": "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\").",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.183",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-68231"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/badceeb82a9d8d8e98d07859f3c89130ae1998b9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/122ce0c0af629a8765ddf1adf6fb85c6db3d47cb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bcdf261c4c29077fc3da6449f7eda77357046205"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/877686a74ecdc93dcaee09dbac566e819059c9e7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/cd42623d698b59f1fe5768f78a4101c28d5feb2e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/73bd2779865372b1017d4f555b45270aa2d0d710"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/170fcc945bc094b1c956bf555c070692826a3eff"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/04344d0b4929caa94c0df72f767752aa0935ef5d"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-19T16:47:12Z"
  }
}
