Skip to main content

Linux Kernel EUVDEUVD-2026-39263

| CVE-2026-53172 HIGH
Out-of-bounds Read (CWE-125)
2026-06-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-jf8x-7724-7vrr
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Share

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.8 HIGH

Requires local access to the NPU accel device node so AV:L/PR:L; the deterministic mask typo makes triggering trivial (AC:L), and a controlled kernel-heap overwrite yields full C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jun 28, 2026 - 09:19 vuln.today
CVSS changed
Jun 28, 2026 - 08:22 NVD
7.8 (HIGH)
Patch available
Jun 25, 2026 - 10:32 EUVD
CVE Published
Jun 25, 2026 - 09:16 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 09:16 cve.org
HIGH 7.8

DescriptionCVE.org

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.

AnalysisAI

Heap out-of-bounds write in the Linux kernel's Arm Ethos-U NPU accelerator driver (accel/ethosu) lets a local user with access to the NPU device corrupt adjacent kernel heap memory. The command-stream parser masks the IFM region index with 0x7f (max 127) instead of 0x7 (max 7) like every other region assignment, so a crafted NPU_SET_IFM_REGION opcode with param > 7 indexes far past the 8-entry region_size[]/output_region[] arrays, writing up to ~1016 bytes beyond the allocation. No public exploit identified at time of analysis, and EPSS is low (0.16%), but the bug is a classic exploitable heap-overflow primitive in privileged kernel context.

Technical ContextAI

The affected code is the Arm Ethos-U microNPU accelerator driver under the kernel's accel (DRM accel) subsystem, which parses userspace-supplied NPU command streams. When handling NPU_SET_IFM_REGION the parser does region = param & 0x7f, yielding values 0-127, while region_size[] and output_region[] in struct ethosu_validated_cmdstream_info are sized to NPU_BASEP_REGION_MAX (8), giving valid indices 0-7. feat_matrix_length() and calc_sizes() then use this region value directly as an array subscript (info->region_size[fm->region] = max(...)) into the kzalloc'd info struct, so an out-of-range index becomes a controlled out-of-bounds write into kernel heap (SLUB) memory. The root cause is an improper-validation / classic CWE-787 out-of-bounds write (CWE field marked N/A in feeds, Tags label it 'Buffer Overflow'); the sibling opcodes (OFM, IFM2, WEIGHT, SCALE) all correctly mask with 0x7, confirming the 0x7f on IFM is an inconsistent typo.

RemediationAI

Upstream fix available (commits 00f547e0dfecf83014fb32bcba587c6b684c1362 and ee7bed779def61ebff1b92b0e851f412176fa416), which replaces the param & 0x7f IFM region mask with param & 0x7 to match the other region assignments; update to a stable kernel that includes these commits (EUVD references patched 7.0.13 and 7.1 lines) - verify against your distribution's backport before deploying. As a compensating control where patching is not yet possible, restrict access to the Ethos-U accel device node by tightening its permissions/ownership (e.g. remove broad group access to /dev/accel/* so only trusted service accounts can submit command streams), or unload/disable the ethosu driver entirely on systems that do not require NPU offload; the trade-off is loss of NPU acceleration for legitimate workloads. Confirm exact patched versions via your vendor advisory and the git.kernel.org links rather than assuming a release number.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

Share

EUVD-2026-39263 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy