# CVE-2026-105417: Memory domain partition removal does not revoke user-thread access on ARMv8-R AArch64 MPU

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **CWE:** CWE-284
- **Published:** 2026-12-01T14:23:16.648Z
- **Modified:** 2026-12-01T15:17:47.210Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker controlling a user-mode thread can keep access to memory partitions after they were removed from a memory domain on ARMv8-R AArch64 MPU builds of Zephyr RTOS.

## Who should check

- Anyone running zephyrproject zephyr \>= 3.5.0, \< 4.5.0

## Description

On ARMv8-R AArch64 (Cortex-R) targets using the MPU, arch\_mem\_domain\_partition\_remove() in arch/arm64/core/cortex\_r/arm\_mpu.c ignored its partition\_id argument and rebuilt every member thread's MPU context by rescanning the whole domain. The generic kernel code in k\_mem\_domain\_remove\_partition() only marks the partition free (partitions\[p\_idx\].size = 0) after this arch hook returns, so the rescan found the partition still present and programmed it straight back into each thread's cached region set (thread-\>arch.regions).

Because context switches on this architecture replay the cached regions rather than recomputing them, a user-mode thread kept its read/write (or other granted) access to a partition after the kernel had revoked it, until some later reconfiguration of that same thread. An untrusted or compromised user thread can therefore keep accessing memory that supervisor code believes it has withdrawn, for example a buffer that is handed to another memory domain or reused after the revocation.

The impact is limited to the address range of the removed partition and requires an application that uses CONFIG\_USERSPACE and removes memory domain partitions at runtime while member threads remain active. The same commit also fixes a counting error in configure\_dynamic\_mpu\_regions() that caused partitions after a free slot to be left unmapped; that defect fails closed (spurious faults) and does not grant access.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.5.0, \< 4.5.0 (cvelist)

## Technologies

Zephyr RTOS

## Mitigation

- Upgrade zephyr to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-105417. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-105417.md
Affected: zephyrproject zephyr >= 3.5.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-105417 being exploited?

There is no confirmed exploitation: CVE-2026-105417 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-105417?

Medium: CVSS 4.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-105417?

zephyrproject zephyr \>= 3.5.0, \< 4.5.0.

### Is there a fix for CVE-2026-105417?

Yes. Fixed in zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

### How do I check if I'm affected by CVE-2026-105417?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wgj6-mqx5-q5c2>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/9d2c7166392b17b6df767b746c2254d6b708417c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-105417>

HTML: <https://flawdb.com/CVE-2026-105417> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-105417>
