CVE-2026-53171

Source
https://cve.org/CVERecord?id=CVE-2026-53171
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53171.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53171
Downstream
Published
2026-06-25T08:38:49.392Z
Modified
2026-07-08T08:09:45.548496180Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
accel/ethosu: fix arithmetic issues in dma_length()
Details

In the Linux kernel, the following vulnerability has been resolved:

accel/ethosu: fix arithmetic issues in dma_length()

dmalength() derives DMA region usage from command stream values and updates regionsize[]:

len = ((len + stride[0]) * size0 + stride[1]) * size1
region_size[region] = max(..., len + dma->offset)

Several arithmetic issues can corrupt the derived region size:

  • signed stride values may underflow when added to len
  • intermediate multiplications may overflow
  • len + dma->offset may overflow during region_size updates
  • dma_length() error returns were not validated by the caller

regionsize[] is later used by ethosujob.c to validate command stream accesses against GEM buffer sizes. Arithmetic wraparound can therefore under-report region usage and bypass the bounds validation.

Fix by validating signed additions, using overflow helpers for multiplications and offset updates, and propagating dma_length() failures to the caller.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53171.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b
Fixed
6bb73845d1855ceaf50e397175e5979a7bdf69bc
Fixed
ee6d9b6e51626f259c6f0e38d94f91be4fd14754

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53171.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53171.json"