Memory domain partition removal does not revoke user-thread access on ARMv8-R AArch64 MPU

Summary

CVECVE-2026-105417
StatePUBLISHED
Assignerzephyr
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-01 15:17:47 UTC
Updated2026-12-01 15:17:47 UTC
DescriptionOn 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.

Risk And Classification

Primary CVSS: v3.1 4.4 MEDIUM from [email protected]

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

Problem Types: CWE-284 | CWE-284 auth


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
3.1CNACVSS4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

CVSS v3.1 Breakdown

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

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Zephyrproject Zephyr affected 3.5.0 4.5.0 semver Not specified

References

ReferenceSourceLinkTags
github.com/zephyrproject-rtos/zephyr/commit/9d2c7166392b17b6df767b746c22... [email protected] github.com
github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wgj6-mqx5-... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report