CVE-2026-68228 (GCVE-0-2026-68228)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:00 – Updated: 2026-08-17 05:01
VLAI
Title
media: chips-media: wave5: Move src_buf Removal to finish_encode
Summary
In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Move src_buf Removal to finish_encode During encoder processing, there is a case where the IRQ response could return the buffer back to userspace via v4l2_m2m_buf_done call. In this time, userspace could queue up this same buffer before start_encode removes the index from the ready queue. This would then lead to a case where the buffer in the ready queue could be a self loop due to the WRITE_ONCE(prev->next, new) call in __list_add. When __list_del is finally called, the loop is already made so nothing points back to ready queue list head and pointers are poisoned. A buffer should not be marked as DONE before the buffer is removed from m2m ready queue. Move removal entirely to finish_encode.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 9707a6254a8a6b978bde811a44fe07d86c229d1c , < 1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06 (git)
Affected: 9707a6254a8a6b978bde811a44fe07d86c229d1c , < f24ca8b53fe15db40957bdaa40c9aa68e1557bbe (git)
Affected: 9707a6254a8a6b978bde811a44fe07d86c229d1c , < d681227ce43bfd74b6eb69beecd9b0bec1fd8b48 (git)
Affected: 9707a6254a8a6b978bde811a44fe07d86c229d1c , < b20157147089a9c16a38c7810e2fe6f2df8e3277 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (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/chips-media/wave5/wave5-vpu-enc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06",
              "status": "affected",
              "version": "9707a6254a8a6b978bde811a44fe07d86c229d1c",
              "versionType": "git"
            },
            {
              "lessThan": "f24ca8b53fe15db40957bdaa40c9aa68e1557bbe",
              "status": "affected",
              "version": "9707a6254a8a6b978bde811a44fe07d86c229d1c",
              "versionType": "git"
            },
            {
              "lessThan": "d681227ce43bfd74b6eb69beecd9b0bec1fd8b48",
              "status": "affected",
              "version": "9707a6254a8a6b978bde811a44fe07d86c229d1c",
              "versionType": "git"
            },
            {
              "lessThan": "b20157147089a9c16a38c7810e2fe6f2df8e3277",
              "status": "affected",
              "version": "9707a6254a8a6b978bde811a44fe07d86c229d1c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/chips-media/wave5/wave5-vpu-enc.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.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "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.12.101",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "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: chips-media: wave5: Move src_buf Removal to finish_encode\n\nDuring encoder processing, there is a case where the IRQ response could\nreturn the buffer back to userspace via v4l2_m2m_buf_done call. In this\ntime, userspace could queue up this same buffer before start_encode removes\nthe index from the ready queue. This would then lead to a case where the\nbuffer in the ready queue could be a self loop due to the\nWRITE_ONCE(prev-\u003enext, new) call in __list_add.\n\nWhen __list_del is finally called, the loop is already made so nothing\npoints back to ready queue list head and pointers are poisoned.\n\nA buffer should not be marked as DONE before the buffer is removed from\nm2m ready queue. Move removal entirely to finish_encode."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The flaw is reached only through V4L2 ioctls (REQBUFS/QBUF/DQBUF/STREAMON) on the local Wave5 encoder device node /dev/videoX; no network or remote input path exists.\nAC:L - Although a race, the attacker controls both sides: it drives the QBUF timing against the encode-completion IRQ and can retry on every encoded frame in a tight loop until the window is hit, so triggering is reliable.\nPR:L - An unprivileged local process that can open the encoder video node (normal on Android/embedded TI platforms where media apps hold access, or any user in the video group) can drive the full encode sequence; no capabilities are checked.\nUI:N - The attacking process performs all encode setup and buffer queueing itself; no action by another user or victim is needed.\nS:U - Corruption is confined to kernel memory managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The m2m ready-queue list corruption plus a vb2 buffer simultaneously owned by userspace and the driver yields dangling/poisoned kernel pointers and buffer state confusion that can be leveraged to read kernel memory contents.\nI:H - Doubly-linked list corruption gives an attacker-influenced write through list_add/list_del on a self-looped node, and a freed-then-reused buffer object, both of which are classic primitives for controlled kernel memory modification.\nA:H - The self-loop and subsequent __list_del leave the ready queue head detached with poisoned pointers, causing LIST_POISON dereference oops, unterminated list traversal, or a use-after-free crash that takes down the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:01:16.349Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06"
        },
        {
          "url": "https://git.kernel.org/stable/c/f24ca8b53fe15db40957bdaa40c9aa68e1557bbe"
        },
        {
          "url": "https://git.kernel.org/stable/c/d681227ce43bfd74b6eb69beecd9b0bec1fd8b48"
        },
        {
          "url": "https://git.kernel.org/stable/c/b20157147089a9c16a38c7810e2fe6f2df8e3277"
        }
      ],
      "title": "media: chips-media: wave5: Move src_buf Removal to finish_encode",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68228",
    "datePublished": "2026-08-10T12:00:50.892Z",
    "dateReserved": "2026-07-30T09:28:09.376Z",
    "dateUpdated": "2026-08-17T05:01:16.349Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68228",
      "date": "2026-08-20",
      "epss": "0.00163",
      "percentile": "0.06025"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68228\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:11.017\",\"lastModified\":\"2026-08-17T05:18:25.037\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: chips-media: wave5: Move src_buf Removal to finish_encode\\n\\nDuring encoder processing, there is a case where the IRQ response could\\nreturn the buffer back to userspace via v4l2_m2m_buf_done call. In this\\ntime, userspace could queue up this same buffer before start_encode removes\\nthe index from the ready queue. This would then lead to a case where the\\nbuffer in the ready queue could be a self loop due to the\\nWRITE_ONCE(prev-\u003enext, new) call in __list_add.\\n\\nWhen __list_del is finally called, the loop is already made so nothing\\npoints back to ready queue list head and pointers are poisoned.\\n\\nA buffer should not be marked as DONE before the buffer is removed from\\nm2m ready queue. Move removal entirely to finish_encode.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"9707a6254a8a6b978bde811a44fe07d86c229d1c\",\"lessThan\":\"1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9707a6254a8a6b978bde811a44fe07d86c229d1c\",\"lessThan\":\"f24ca8b53fe15db40957bdaa40c9aa68e1557bbe\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9707a6254a8a6b978bde811a44fe07d86c229d1c\",\"lessThan\":\"d681227ce43bfd74b6eb69beecd9b0bec1fd8b48\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9707a6254a8a6b978bde811a44fe07d86c229d1c\",\"lessThan\":\"b20157147089a9c16a38c7810e2fe6f2df8e3277\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/media/platform/chips-media/wave5/wave5-vpu-enc.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.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"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\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b20157147089a9c16a38c7810e2fe6f2df8e3277\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d681227ce43bfd74b6eb69beecd9b0bec1fd8b48\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f24ca8b53fe15db40957bdaa40c9aa68e1557bbe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-13T23:13:22+00:00",
      "cve": "CVE-2026-68228",
      "id": "CVE-2026-68228",
      "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: chips-media: wave5: Move src_buf Removal to finish_encode",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68228.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-18T23:47:54Z",
      "cve": "CVE-2026-68228",
      "id": "CVE-2026-68228",
      "initial_release_date": "2026-08-18T23:47:54Z",
      "product_status:known_affected": "65",
      "product_status:known_not_affected": "231",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68228",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68228.json",
      "version": "2"
    }
  }
}



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…