CVE-2026-53170: accel/ethosu: reject DMA commands with uninitialized length

Published Jun 25, 2026
·
Updated

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

accel/ethosu: reject DMA commands with uninitialized length

cmdstateinit() initializes the command state with memset(0xff), leaving dma->len at U64MAX to signal missing setup. The only setter is NPUSETDMA0LEN; if userspace omits this command and issues NPUOPDMASTART, dma->len remains U64MAX.

In dmalength(), a positive stride added to U64MAX wraps to a small value. With size0 == 1, checkmuloverflow() does not trigger and dmalength() returns 0 instead of U64MAX. The caller's U64MAX check then passes, regionsize[] stays 0, and the bounds check in ethosujob.c is bypassed, allowing hardware to execute DMA with stale physical addresses.

Fix by checking for U64MAX at the start of dmalength() before any arithmetic, consistent with the sentinel value used throughout the driver to detect uninitialized fields.

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. Configuration

    Modify the accel/ethosu driver to reject DMA commands when the DMA length is uninitialized (i.e., when dma->len remains the sentinel value U64_MAX set via cmd_state_init() with memset(0xff)).

    accelerator driver: accel/ethosu reject DMA commands with uninitialized length = enabled

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
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-53170?

CVE-2026-53170 has a risk rating of 60, indicating a moderate severity level.

2

How do I fix CVE-2026-53170?

To mitigate CVE-2026-53170, update the Linux kernel to the latest version that resolves the issue.

3

What systems are affected by CVE-2026-53170?

CVE-2026-53170 affects systems running the Linux kernel with the accel/ethosu driver.

4

What is the nature of the vulnerability in CVE-2026-53170?

CVE-2026-53170 involves rejecting DMA commands that have an uninitialized length, which can lead to unintended behavior.

5

Is there a patch available for CVE-2026-53170?

Yes, a patch for CVE-2026-53170 is included in the latest Linux kernel updates.

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