CVE-2026-53171
published 2026-06-25CVE-2026-53171: In the Linux kernel, the following vulnerability has been resolved: accel/ethosu: fix arithmetic issues in dma_length() dma_length() derives DMA region usage…
PriorityP346high8.8CVSS 3.1
AVLACLPRLUINSCCHIHAH
EPSS
0.14%
3.5th percentile
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
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| linux | linux | — | — |
| linux | linux | >= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b < 6bb73845d1855ceaf50e397175e5979a7bdf69bc | 6bb73845d1855ceaf50e397175e5979a7bdf69bc |
| linux | linux | >= 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b < ee6d9b6e51626f259c6f0e38d94f91be4fd14754 | ee6d9b6e51626f259c6f0e38d94f91be4fd14754 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 6.19 < 7.0.13 | 7.0.13 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Linux Kernel up to 7.0.12 accel ethosu_job.c dma_length stream buffer overflow (WID-SEC-2026-2077)
vuldb·2026-06-29·CVSS 8.8
CVE-2026-53171 [HIGH] Linux Kernel up to 7.0.12 accel ethosu_job.c dma_length stream buffer overflow (WID-SEC-2026-2077)
A vulnerability, which was classified as critical, was found in Linux Kernel up to 7.0.12. Affected by this vulnerability is the function dma_length of the file ethosu_job.c of the component accel. Such manipulation of the argument stream leads to buffer overflow.
This vulnerability is uniquely identified as CVE-2026-53171. The attack can only be initiated within the local network. No exploit exists.
You should upgrade the affected component.
GHSA
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 r
ghsa_unreviewed·2026-06-25
CVE-2026-53171 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 r
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 vali
Red Hat
kernel: accel/ethosu: fix arithmetic issues in dma_length()
vendor_redhat·2026-06-25
CVE-2026-53171 CWE-190 kernel: accel/ethosu: fix arithmetic issues in dma_length()
kernel: accel/ethosu: fix arithmetic issues in dma_length()
A flaw was found in the Linux kernel's accel/ethosu driver. The dma_length() function, responsible for calculating Direct Memory Access (DMA) region usage, contains several arithmetic issues. These issues, including potential underflows and overflows during calculations, can lead to an under-reporting of memory region sizes. This under-reporting can bypass crucial bounds validation checks, potentially allowing an attacker to access memory outside of its intended boundaries.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: ke
No detection rules found.
No public exploits indexed.
2026-06-25
Published