CVE-2026-68211 (GCVE-0-2026-68211)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:00 – Updated: 2026-08-17 05:00
VLAI
Title
media: stm32-dcmipp: Return queued buffers on start_streaming() failure
Summary
In the Linux kernel, the following vulnerability has been resolved: media: stm32-dcmipp: Return queued buffers on start_streaming() failure The vb2 framework hands buffers to the driver via buf_queue() before calling start_streaming(). If start_streaming() returns an error without first returning those buffers via vb2_buffer_done(), vb2_start_streaming() fires WARN_ON(owned_by_drv_count) and the queued buffers leak. dcmipp_bytecap_start_streaming() returned -EINVAL when the source subdevice could not be resolved from the media graph, before pm_runtime_resume_and_get() and media_pipeline_start() had been called. The remaining error paths already converge on the err_buffer_done label, which calls dcmipp_bytecap_all_buffers_done(..., VB2_BUF_STATE_QUEUED). Jump to that label directly: the intermediate err_pm_put / err_media_pipeline_stop labels are skipped, which is correct because nothing they would undo has happened yet. This mirrors the uvcvideo fix in commit 4cf3b6fd54eb ("media: uvcvideo: Return queued buffers on start_streaming() failure").
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 28e0f37722965fa150af31d82101c95fd21aef60 , < ed342a86bb2f9c1b44a0fc4f6b08c14073946e4f (git)
Affected: 28e0f37722965fa150af31d82101c95fd21aef60 , < 624af2d4b5e9d3dd366538e4fb4a2a037792a7e3 (git)
Affected: 28e0f37722965fa150af31d82101c95fd21aef60 , < ffc8eec06378a340d708c889184ab3e14b57d540 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ed342a86bb2f9c1b44a0fc4f6b08c14073946e4f",
              "status": "affected",
              "version": "28e0f37722965fa150af31d82101c95fd21aef60",
              "versionType": "git"
            },
            {
              "lessThan": "624af2d4b5e9d3dd366538e4fb4a2a037792a7e3",
              "status": "affected",
              "version": "28e0f37722965fa150af31d82101c95fd21aef60",
              "versionType": "git"
            },
            {
              "lessThan": "ffc8eec06378a340d708c889184ab3e14b57d540",
              "status": "affected",
              "version": "28e0f37722965fa150af31d82101c95fd21aef60",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: stm32-dcmipp: 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\ndcmipp_bytecap_start_streaming() returned -EINVAL when the source\nsubdevice could not be resolved from the media graph, before\npm_runtime_resume_and_get() and media_pipeline_start() had been called.\nThe remaining error paths already converge on the err_buffer_done\nlabel, which calls dcmipp_bytecap_all_buffers_done(...,\nVB2_BUF_STATE_QUEUED).  Jump to that label directly: the intermediate\nerr_pm_put / err_media_pipeline_stop labels are skipped, which is\ncorrect because nothing they would undo has happened yet.\n\nThis mirrors the uvcvideo fix in commit 4cf3b6fd54eb (\"media: uvcvideo:\nReturn queued buffers on start_streaming() failure\")."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:00:55.902Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ed342a86bb2f9c1b44a0fc4f6b08c14073946e4f"
        },
        {
          "url": "https://git.kernel.org/stable/c/624af2d4b5e9d3dd366538e4fb4a2a037792a7e3"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffc8eec06378a340d708c889184ab3e14b57d540"
        }
      ],
      "title": "media: stm32-dcmipp: Return queued buffers on start_streaming() failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68211",
    "datePublished": "2026-08-10T12:00:30.502Z",
    "dateReserved": "2026-07-30T09:28:09.375Z",
    "dateUpdated": "2026-08-17T05:00:55.902Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68211",
      "date": "2026-08-20",
      "epss": "0.00173",
      "percentile": "0.07082"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68211\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:08.887\",\"lastModified\":\"2026-08-17T05:18:23.200\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: stm32-dcmipp: 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\\ndcmipp_bytecap_start_streaming() returned -EINVAL when the source\\nsubdevice could not be resolved from the media graph, before\\npm_runtime_resume_and_get() and media_pipeline_start() had been called.\\nThe remaining error paths already converge on the err_buffer_done\\nlabel, which calls dcmipp_bytecap_all_buffers_done(...,\\nVB2_BUF_STATE_QUEUED).  Jump to that label directly: the intermediate\\nerr_pm_put / err_media_pipeline_stop labels are skipped, which is\\ncorrect because nothing they would undo has happened yet.\\n\\nThis mirrors the uvcvideo fix in commit 4cf3b6fd54eb (\\\"media: uvcvideo:\\nReturn queued buffers on start_streaming() failure\\\").\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"28e0f37722965fa150af31d82101c95fd21aef60\",\"lessThan\":\"ed342a86bb2f9c1b44a0fc4f6b08c14073946e4f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"28e0f37722965fa150af31d82101c95fd21aef60\",\"lessThan\":\"624af2d4b5e9d3dd366538e4fb4a2a037792a7e3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"28e0f37722965fa150af31d82101c95fd21aef60\",\"lessThan\":\"ffc8eec06378a340d708c889184ab3e14b57d540\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.8\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.8\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/624af2d4b5e9d3dd366538e4fb4a2a037792a7e3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ed342a86bb2f9c1b44a0fc4f6b08c14073946e4f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ffc8eec06378a340d708c889184ab3e14b57d540\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-14T14:01:05+00:00",
      "cve": "CVE-2026-68211",
      "id": "CVE-2026-68211",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "275",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: media: stm32-dcmipp: Return queued buffers on start_streaming() failure",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68211.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-14T00:53:19Z",
      "cve": "CVE-2026-68211",
      "id": "CVE-2026-68211",
      "initial_release_date": "2026-08-13T16:22:55Z",
      "product_status:known_affected": "29",
      "product_status:known_not_affected": "267",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68211",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68211.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…