CVE-2026-53171: accel/ethosu: fix arithmetic issues in dma_length()

Published Jun 25, 2026
·
Updated

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

accel/ethosu: fix arithmetic issues in dmalength()

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

len = ((len + stride[0]) size0 + stride[1]) size1 regionsize[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 regionsize updates - dmalength() 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 dmalength() failures to the caller.

Affected Software

8 affected components
Linux Linux kernel (ethosu)
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
Linux Linux kernel=7.1-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade accel/ethosu to a version that resolves this vulnerability.

    Patch fix arithmetic issues in dma_length()
  2. Compensating control

    Ensure callers validate dma_length() error returns; do not proceed with region_size/bounds validation if dma_length() reports failure.

Event History

Jun 25, 2026
CVE Published
via MITRE·08:38 AM
Data Sourced
via MITRE·08:38 AM
DescriptionSeverity
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-53171?

CVE-2026-53171 has a severity rating of high with a score of 8.8.

2

How do I fix CVE-2026-53171?

To fix CVE-2026-53171, ensure that you update your Linux kernel to the latest patched version as provided by the Linux maintainers.

3

What impact does CVE-2026-53171 have on system security?

CVE-2026-53171 may allow attackers to exploit arithmetic issues in DMA length calculations, potentially leading to data corruption or unauthorized access.

4

Which versions of the Linux kernel are affected by CVE-2026-53171?

CVE-2026-53171 affects specific versions of the Linux kernel that utilize the Ethosu accelerator.

5

When was CVE-2026-53171 published?

CVE-2026-53171 was published on June 25, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203