# CVE-2026-53171: accel/ethosu: fix arithmetic issues in dma\_length()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-06-25T08:38:49.392Z
- **Modified:** 2026-08-05T12:33:40.393Z

## Who should check

- Anyone running Linux \>= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \< 6bb73845d1855ceaf50e397175e5979a7bdf69bc; \>= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \< ee6d9b6e51626f259c6f0e38d94f91be4fd14754
- Anyone running Linux 6.19

## Description

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

accel/ethosu: fix arithmetic issues in dma\_length()

dma\_length() derives DMA region usage from command stream values and
updates region\_size\[\]:

    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

region\_size\[\] is later used by ethosu\_job.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.

## Affected and fixed versions

- Linux: \>= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \< 6bb73845d1855ceaf50e397175e5979a7bdf69bc; \>= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \< ee6d9b6e51626f259c6f0e38d94f91be4fd14754 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53171. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53171.md
Affected: Linux >= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, < 6bb73845d1855ceaf50e397175e5979a7bdf69bc; >= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, < ee6d9b6e51626f259c6f0e38d94f91be4fd14754; Linux 6.19
Fixed in: Linux 6bb73845d1855ceaf50e397175e5979a7bdf69bc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53171 being exploited?

There is no confirmed exploitation: CVE-2026-53171 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53171?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53171?

Linux \>= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \< 6bb73845d1855ceaf50e397175e5979a7bdf69bc; \>= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, \< ee6d9b6e51626f259c6f0e38d94f91be4fd14754; Linux 6.19.

### Is there a fix for CVE-2026-53171?

Yes. Fixed in Linux 6bb73845d1855ceaf50e397175e5979a7bdf69bc. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-53171?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6bb73845d1855ceaf50e397175e5979a7bdf69bc>
- patch: <https://git.kernel.org/stable/c/ee6d9b6e51626f259c6f0e38d94f91be4fd14754>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53171>

HTML: <https://flawdb.com/CVE-2026-53171> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53171>
