{
  "id": "CVE-2026-53171",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53171",
  "published_at": "2026-06-25T08:38:49.392Z",
  "title": "accel/ethosu: fix arithmetic issues in dma_length()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/ethosu: fix arithmetic issues in dma_length()\n\ndma_length() derives DMA region usage from command stream values and\nupdates region_size[]:\n\n    len = ((len + stride[0]) * size0 + stride[1]) * size1\n    region_size[region] = max(..., len + dma-\u003eoffset)\n\nSeveral arithmetic issues can corrupt the derived region size:\n\n- signed stride values may underflow when added to len\n- intermediate multiplications may overflow\n- len + dma-\u003eoffset may overflow during region_size updates\n- dma_length() error returns were not validated by the caller\n\nregion_size[] is later used by ethosu_job.c to validate command stream\naccesses against GEM buffer sizes. Arithmetic wraparound can therefore\nunder-report region usage and bypass the bounds validation.\n\nFix by validating signed additions, using overflow helpers for\nmultiplications and offset updates, and propagating dma_length()\nfailures to the caller.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \u003c 6bb73845d1855ceaf50e397175e5979a7bdf69bc",
          "\u003e= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \u003c ee6d9b6e51626f259c6f0e38d94f91be4fd14754"
        ],
        "fixed_in": [
          "6bb73845d1855ceaf50e397175e5979a7bdf69bc",
          "ee6d9b6e51626f259c6f0e38d94f91be4fd14754"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.19"
        ],
        "fixed_in": [
          "0",
          "7.0.13",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 6bb73845d1855ceaf50e397175e5979a7bdf69bc or ee6d9b6e51626f259c6f0e38d94f91be4fd14754 or later.",
      "Upgrade Linux to 0 or 7.0.13 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
