CVE-2026-53170
accel/ethosu: reject DMA commands with uninitialized length
Reported by linux · Published June 25, 2026
In the Linux kernel, the following vulnerability has been resolved: accel/ethosu: reject DMA commands with uninitialized length cmd_state_init() initializes the command state with memset(0xff), leaving dma->len at U64_MAX to signal missing setup. The only setter is NPU_SET_DMA0_LEN; if userspace omits this command and issues NPU_OP_DMA_START, dma->len remains U64_MAX. In dma_length(), a positive stride added to U64_MAX wraps to a small value. With size0 == 1, check_mul_overflow() does not trigger and dma_length() returns 0 instead of U64_MAX. The caller's U64_MAX check then passes, region_size[] stays 0, and the bounds check in ethosu_job.c is bypassed, allowing hardware to execute DMA with stale physical addresses. Fix by checking for U64_MAX at the start of dma_length() before any arithmetic, consistent with the sentinel value used throughout the driver to detect uninitialized fields.
EPSS 0.18% · 7.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.0.13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b |
| Linux | Linux | 6.19, 0, 7.0.13 |
| linux | linux_kernel | 6.19, 6.19 |
| Linux | Linux | 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b, 6.19 |
Timeline
- Jun 24, 2026 CVE Published
- Jun 26, 2026 EPSS Score (11 in total, the first dated here)
- Jun 26, 2026 Coalition ESS Score
- Jun 29, 2026 Security Advisory (64 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53170
vulnetix vdb fixes CVE-2026-53170
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53170/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart