CVE-2026-105417
published medium CVSS 3.1 · 4.4Memory domain partition removal does not revoke user-thread access on ARMv8-R AArch64 MPU
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zephyrproject | — | zephyr3.5.0 to < 4.5.0 · Other versions: unaffected | Affected | Not stated | zephyr |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- zephyr · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zephyrproject | zephyr | 3.5.0 to < 4.5.0 (affected · semver)Default: unaffected | zephyr · cna |
Weaknesses
1- CWE-284 auth
References
2- Fix commit https://github.com/zephyrproject-rtos/zephyr/commit/9d2c7166392b17b6df767b746c2254d6b708417c
- GHSA-wgj6-mqx5-q5c2 https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wgj6-mqx5-q5c2
Provider assertions
1zephyr · cna
Memory domain partition removal does not revoke user-thread access on ARMv8-R AArch64 MPU
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5939b28e66adbd395926049fde6d197a32adae0d456af7a885a3fe14e345aa76
- Ingested
- 01 Dec 2026, 14:36:39 UTC
- Source record
- Official CVE record