CVE-2026-53172
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 · uneditedIn 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 confidenceA 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.
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>= 6.19, < 7.0.13= 7.1CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Check kernel versionRun 'uname -r' or 'cat /proc/version' to get the running kernel versionAffected if Kernel version is >= 6.19 and < 7.0.13, or exactly 7.1
-
Verify ethosu NPU driver presenceCheck 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 entriesAffected if The ethosu NPU driver is loaded or built into the kernel
-
Identify NPU_SET_IFM_REGION usageInspect 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
-
Verify driver source for vulnerable bitmaskIf 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.
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 · scoped7.0.13
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].
Linux Kernel 7.0.13 or later (or 7.2+ if available)
- Identify systems running affected Linux kernel versions (>= 6.19, < 7.0.13 or = 7.1) that use the Ethos-NPU driver (CONFIG_ETHOSU)
- Obtain the patch from commit 00f547e0dfecf83014fb32bcba587c6b684c1362 (https://git.kernel.org/stable/c/00f547e0dfecf83014fb32bcba587c6b684c1362)
- 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
- Rebuild the Linux kernel with the fix applied
- Reboot systems with the patched kernel
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing8.0 h
- Review / QA4.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-53172 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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