CVE-2026-97578 (GCVE-0-2026-97578)
Vulnerability from cvelistv5
Published
2026-09-25 10:22
Modified
2026-10-19 09:09
Summary
In the Linux kernel, the following vulnerability has been resolved: media: verisilicon: rockchip: guard VPU981 AV1 divisor and tile buffer rockchip_vpu981_av1_dec_set_tile_info() divides context_update_tile_id by tile_info->tile_cols and writes one descriptor per tile into the tile_info DMA buffer, which holds AV1_MAX_TILES entries; tile_cols and tile_rows come from the bitstream. Guard the division against a zero tile_cols by initialising the context-update values to zero and computing them only when tile_cols is non-zero, and stop the descriptor writes once the tile_info buffer is full. The tile geometry written to the hardware registers is left unmodified; the per-dimension and total tile bounds are enforced by the control validation.
Impacted products
Vendor Product Version
Linux Linux Version: 727a400686a2c0d25015c9e44916a59b72882f83
Version: 727a400686a2c0d25015c9e44916a59b72882f83
Version: 727a400686a2c0d25015c9e44916a59b72882f83
Version: 727a400686a2c0d25015c9e44916a59b72882f83
Version: 727a400686a2c0d25015c9e44916a59b72882f83
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8659e5fc21a82e00fb2db1557f2e06f0fca06b90",
              "status": "affected",
              "version": "727a400686a2c0d25015c9e44916a59b72882f83",
              "versionType": "git"
            },
            {
              "lessThan": "7baa7bb1b784c19170df8c99466fa412040eb431",
              "status": "affected",
              "version": "727a400686a2c0d25015c9e44916a59b72882f83",
              "versionType": "git"
            },
            {
              "lessThan": "8f19d869a9f6800547c9ad7ebaf3b94f973dab50",
              "status": "affected",
              "version": "727a400686a2c0d25015c9e44916a59b72882f83",
              "versionType": "git"
            },
            {
              "lessThan": "6b7a281a815ae7c5e7bb2aad039ffea9bc933157",
              "status": "affected",
              "version": "727a400686a2c0d25015c9e44916a59b72882f83",
              "versionType": "git"
            },
            {
              "lessThan": "b84f6533a8ed2fd7b282fc7ab4b8efadc745a89c",
              "status": "affected",
              "version": "727a400686a2c0d25015c9e44916a59b72882f83",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "lessThan": "6.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: verisilicon: rockchip: guard VPU981 AV1 divisor and tile buffer\n\nrockchip_vpu981_av1_dec_set_tile_info() divides context_update_tile_id by\ntile_info-\u003etile_cols and writes one descriptor per tile into the tile_info\nDMA buffer, which holds AV1_MAX_TILES entries; tile_cols and tile_rows\ncome from the bitstream. Guard the division against a zero tile_cols by\ninitialising the context-update values to zero and computing them only\nwhen tile_cols is non-zero, and stop the descriptor writes once the\ntile_info buffer is full. The tile geometry written to the hardware\nregisters is left unmodified; the per-dimension and total tile bounds are\nenforced by the control validation."
        }
      ],
      "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 bad tile_cols/tile_rows reach rockchip_vpu981_av1_dec_set_tile_info() through the V4L2_CID_STATELESS_AV1_FRAME control, set with VIDIOC_S_EXT_CTRLS/media request ioctls on the local hantro /dev/videoN node and run via rockchip_vpu981_av1_dec_run(). No remote protocol carries the values; a userspace AV1 parser would have to pass through values that break the spec.\nAC:L - validate_av1_frame() never checks tile_cols or tile_rows, so any caller can set tile_cols=0 (divide by zero) or 255x255 tiles (writes far past the 2 KiB tile_info buffer). Nothing outside the attacker\u0027s control is needed; the fault happens every time the job runs.\nPR:L - The only requirement is opening the VPU981 AV1 stateless decoder video node, which the logged-in user (video group) or the Android/ChromeOS media codec process normally can do. The ioctl path has no capability check.\nUI:N - The attacker queues the malicious control and request themselves, and the device_run worker processes it without any action by another user.\nS:U - The corruption stays in the kernel\u0027s own memory and security authority. No VM, IOMMU, or other boundary is crossed.\nC:H - tile_id reaches about 65,000 while the tile_group_entry dynamic array holds at most 512 entries, and indexes of width/height_in_sbs_minus_1 above 64 run past those arrays. Out-of-bounds kernel data is read into the descriptors, and the memory corruption can be used to leak data.\nI:H - The loop writes 16 bytes per tile, up to 255*255 tiles (about 1 MiB), past the 128-entry (2 KiB) dma_alloc_coherent tile_info buffer. The x0/y0/start/end values it writes are largely user-controlled, so it is a large, content-controlled kernel memory overwrite.\nA:H - tile_cols=0 causes a divide error when computing context_update_tile_id, which oopses the kernel. The large out-of-bounds write also corrupts memory next to the buffer and crashes the system."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:09:40.795Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8659e5fc21a82e00fb2db1557f2e06f0fca06b90"
        },
        {
          "url": "https://git.kernel.org/stable/c/7baa7bb1b784c19170df8c99466fa412040eb431"
        },
        {
          "url": "https://git.kernel.org/stable/c/8f19d869a9f6800547c9ad7ebaf3b94f973dab50"
        },
        {
          "url": "https://git.kernel.org/stable/c/6b7a281a815ae7c5e7bb2aad039ffea9bc933157"
        },
        {
          "url": "https://git.kernel.org/stable/c/b84f6533a8ed2fd7b282fc7ab4b8efadc745a89c"
        }
      ],
      "title": "media: verisilicon: rockchip: guard VPU981 AV1 divisor and tile buffer",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-97578",
    "datePublished": "2026-09-25T10:22:00.541Z",
    "dateReserved": "2026-09-24T16:01:01.156Z",
    "dateUpdated": "2026-10-19T09:09:40.795Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…