CVE-2026-53172
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Jun 25, 2026
CISA due date
—
Cloudanix analysis
A flaw in some Linux-based AI accelerator systems could let a local application crash the device or possibly gain more control than it should.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
This is a Linux kernel memory-corruption flaw in the Arm Ethos-U NPU accelerator driver command stream parser. The vulnerable code extracts an input feature map region index using a 0x7f mask, allowing values up to 127, while the backing arrays are sized for only 8 regions. A local userspace caller that can submit a crafted Ethos-U command stream can cause an out-of-bounds write into adjacent kernel heap memory. Depending on kernel configuration, heap layout, and device exposure, the result may be kernel crash, denial of service, or potentially local privilege escalation through controlled kernel memory corruption.
Why it matters to the business
Systems that expose the affected Ethos-U NPU driver to local workloads could be destabilized or, in a worst case, allow a local attacker or compromised application to gain higher privileges on the host. This is most relevant to Linux-based embedded, edge, IoT, and AI inference devices using Ethos-U acceleration. The currently reported EPSS is low, it is not listed in CISA KEV, and no public exploit maturity is indicated, so the near-term mass-exploitation risk appears low; however, kernel memory corruption in device drivers should still be treated as high-value hardening work where the driver is enabled.
How an attack unfolds
An attacker first needs local ability to interact with the vulnerable Ethos-U accelerator interface, typically through a userspace component or device node that submits command streams to the kernel driver. The attacker crafts a command stream containing NPU_SET_IFM_REGION with a parameter whose low 7 bits produce a region value greater than 7. Because the vulnerable parser accepts that larger value, later validation and size-calculation routines use it directly as an array index into fields allocated for only 8 entries. This causes a write beyond the intended array into neighboring kernel heap data. A simple exploit may crash the kernel and cause a denial of service; a more advanced exploit would attempt to shape heap allocations and overwrite useful kernel data to gain elevated privileges. No named threat actors or active exploitation are currently reported for this issue.
How to fix it
Apply a kernel update from the Linux distribution, device vendor, or BSP maintainer that includes the fix changing the IFM region mask from 0x7f to 0x7, matching the other region assignments. If no packaged fixed version is available, backport the upstream kernel patch for accel/ethosu command stream parsing. As interim mitigation, disable or unload the Ethos-U driver where it is not required, remove access to the related device node from untrusted users and containers, and restrict NPU command submission to trusted service accounts only. On embedded devices, prioritize patched firmware or kernel images from the OEM or silicon vendor.
How to confirm the fix worked
Confirm the running kernel includes the patched Ethos-U driver source or vendor advisory fix. Where source or debug symbols are available, verify NPU_SET_IFM_REGION applies a 0x7 mask rather than a 0x7f mask. Confirm the affected driver is not loaded or the device node is not exposed on systems that do not require Ethos-U acceleration. Validate access controls on any Ethos-U device interface so untrusted local users, containers, or sandboxed applications cannot submit arbitrary command streams. After patching, run regression tests for NPU workloads and monitor kernel logs for crashes or sanitizer findings involving the ethosu driver.
Typical attack path
- Gain local code execution on a Linux system where the vulnerable Ethos-U NPU driver is present and accessible.
- Open or otherwise reach the userspace interface used to submit Ethos-U command streams.
- Construct a malicious command stream containing NPU_SET_IFM_REGION with a region parameter greater than 7.
- Submit the command stream to the kernel driver for validation/parsing.
- Trigger out-of-bounds writes in the kernel heap when the invalid region index is used as an array subscript.
- Cause a kernel crash or attempt further heap manipulation to achieve privilege escalation.
How to detect it
There is no reliable single log entry proving exploitation because the bug is a kernel heap memory-corruption condition and successful exploitation may leave minimal artifacts. Review kernel logs, persistent journal entries, crash dumps, and device telemetry for oopses, panics, KASAN reports, slab corruption, or general protection faults involving the Ethos-U driver or NPU command stream handling. Correlate crashes with local process execution, container activity, or applications that opened the Ethos-U device interface shortly before the event. On systems with auditd or eBPF telemetry, search for untrusted processes opening Ethos-U-related device nodes and issuing ioctl-heavy activity before kernel instability. Forensic review should include kernel crash dumps, loaded module lists, device-node permissions, and recent firmware/kernel changes. Because no active exploitation or public exploit is reported, absence of these artifacts is not conclusive, but repeated ethosu-adjacent crashes are suspicious.
- ethosu
- /dev/ethosu
- NPU_SET_IFM_REGION
- slab-out-of-bounds
- KASAN: slab-out-of-bounds
- BUG: KASAN
- general protection fault
- kernel BUG
- Oops:
- Unable to handle kernel
- accel/ethosu
- ethosu_ioctl
- ethosu_buffer
- ethosu_network
- ethosu_mailbox
What your security team should do
- Inventory Linux systems, embedded devices, edge appliances, and AI inference platforms using Arm Ethos-U acceleration or the Linux accel/ethosu driver.
- Prioritize patching devices where local untrusted code, containers, third-party applications, or multi-tenant workloads can access the NPU interface.
- If patching is delayed, disable the Ethos-U driver or restrict permissions on the device interface to only trusted workloads.
- Ask device vendors and BSP maintainers for kernel or firmware releases containing the accel/ethosu IFM region index bounds fix.
- Add monitoring for kernel crashes, KASAN reports, and oops messages referencing ethosu, slab out-of-bounds, or command stream parsing.
- Treat unexplained kernel crashes on affected NPU-enabled devices as potential exploitation until logs and workload history are reviewed.
The record
In the Linux kernel, the following vulnerability has been resolved: accel/ethosu: fix IFM region index out-of-bounds in command stream parser NPU_SET_IFM_REGION extracts the region index with param & 0x7f, giving a maximum value of 127. However region_size[] and output_region[] in struct ethosu_validated_cmdstream_info are both sized to NPU_BASEP_REGION_MAX (8), giving valid indices [0..7]. Every other region assignment in the same switch uses param & 0x7: NPU_SET_OFM_REGION: st.ofm.region = param & 0x7; NPU_SET_IFM2_REGION: st.ifm2.region = param & 0x7; NPU_SET_WEIGHT_REGION: st.weight[0].region = param & 0x7; NPU_SET_SCALE_REGION: st.scale[0].region = param & 0x7; The 0x7f mask on IFM is inconsistent and appears to be a typo. feat_matrix_length() and calc_sizes() use the region index directly as an array subscript into the kzalloc'd info struct: info->region_size[fm->region] = max(...); A userspace caller supplying NPU_SET_IFM_REGION with param > 7 causes a write up to 127*8 = 1016 bytes past the start of region_size[], corrupting adjacent kernel heap data. Fix by applying the same & 0x7 mask used by all other region assignments.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-62958 libriscv is a RISC-V sandbox and emulator. CWE-125
- CVE-2026-119338 Tesseract is an open source OCR engine. CWE-125
- CVE-2026-119299 gopacket provides packet processing capabilities for Go. CWE-125
- CVE-2026-119722 Blender before 4.5.15 and 5.x before 5.2.3 contains a heap out-of-bounds access… CWE-125
- CVE-2026-119721 Blender before 4.5.15 and 5.x before 5.2.3 contains an out-of-bounds read vulnerability… CWE-125
- CVE-2026-119720 Blender before 4.5.15 and 5.x before 5.2.3 contains a heap out-of-bounds read… CWE-125
- CVE-2026-104063 Scribus before 1.6.7 contains an out-of-bounds read vulnerability in the Mac PICT image… CWE-125
- CVE-2026-61627 libass is a portable subtitle renderer for the `ASS`/SSA (Advanced Substation… CWE-125