Linux KernelOperating system · Linux

CVE-2026-53172

HIGH · 7.8 CVSS v3.1 Published 2026-06-25
Fix available
A fix is available. Upgrade to 7.0.13 or later.
See remediation →
80/100
Remediation priority · High
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A heap out-of-bounds write vulnerability exists in the Linux kernel's accel/ethosu NPU driver where NPU_SET_IFM_REGION uses an incorrect bitmask (0x7f instead of 0x7), allowing userspace to specify region indices 0-127 when the underlying arrays are only sized for 8 elements (indices 0-7). This enables writing up to 1016 bytes past the allocated region_size[] array, causing heap corruption.

MitigationApply the fix by changing the IFM region index extraction from 'param & 0x7f' to 'param & 0x7' to match all other region assignments in the driver, ensuring bounds are properly constrained to [0..7].

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 6.19, < 7.0.13= 7.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check kernel version
    Run 'uname -r' or 'cat /proc/version' to get the running kernel version
    Affected if Kernel version is >= 6.19 and < 7.0.13, or exactly 7.1
  2. Verify ethosu NPU driver presence
    Check if the ethosu driver module exists or is built into the kernel: look for 'ethosu' in /proc/modules, or check kernel config for CONFIG_ETHOSU, or check /sys/class/accel/ for ethosu entries
    Affected if The ethosu NPU driver is loaded or built into the kernel
  3. Identify NPU_SET_IFM_REGION usage
    Inspect any custom or third-party userspace applications that interface with the ethosu NPU driver (check for ioctl calls with NPU_SET_IFM_REGION or search for 'ifm_region' in application binaries or source code)
    Affected if An application is using the NPU_SET_IFM_REGION ioctl to configure the Input Feature Map (IFM) region
  4. Verify driver source for vulnerable bitmask
    If kernel source is available, locate the ethosu driver (drivers/accel/ethosu/core.c or similar) and check the NPU_SET_IFM_REGION case for the bitmask used on the region index parameter; look for 'param & 0x7f' (vulnerable) versus 'param & 0x7' (fixed)
    Affected if The driver source code shows 'param & 0x7f' for the IFM region index extraction, indicating the vulnerability is present

A system is affected if it runs a vulnerable kernel version (>=6.19, <7.0.13, or 7.1) with the ethosu NPU driver present and uses applications that invoke the NPU_SET_IFM_REGION ioctl with potentially out-of-bounds region indices.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 7.0.13 or later
Fixed in 7.0.13
Vendor patch git.kernel.org →
Interim mitigation

Apply the fix by changing the IFM region index extraction from 'param & 0x7f' to 'param & 0x7' to match all other region assignments in the driver, ensuring bounds are properly constrained to [0..7].

Recommended fix High confidence

Linux Kernel 7.0.13 or later (or 7.2+ if available)

  1. Identify systems running affected Linux kernel versions (>= 6.19, < 7.0.13 or = 7.1) that use the Ethos-NPU driver (CONFIG_ETHOSU)
  2. Obtain the patch from commit 00f547e0dfecf83014fb32bcba587c6b684c1362 (https://git.kernel.org/stable/c/00f547e0dfecf83014fb32bcba587c6b684c1362)
  3. Apply the patch to the kernel source tree - the fix changes 'param & 0x7f' to 'param & 0x7' in the NPU_SET_IFM_REGION case of the switch statement in the Ethos-U command stream parser
  4. Rebuild the Linux kernel with the fix applied
  5. Reboot systems with the patched kernel

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing8.0 h
  • Review / QA4.0 h
16.0 hours of engineering $2,680
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,288.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-53172 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-53172 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data