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

Published Dec 1, 2026
·
Updated

On ARMv8-R AArch64 (Cortex-R) targets using the MPU, archmemdomainpartitionremove() in arch/arm64/core/cortexr/armmpu.c ignored its partitionid argument and rebuilt every member thread's MPU context by rescanning the whole domain. The generic kernel code in kmemdomainremovepartition() only marks the partition free (partitions[pidx].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 CONFIGUSERSPACE and removes memory domain partitions at runtime while member threads remain active. The same commit also fixes a counting error in configuredynamicmpuregions() that caused partitions after a free slot to be left unmapped; that defect fails closed (spurious faults) and does not grant access.

Affected Software

1 affected component
Zephyr Project Zephyr

Event History

Dec 1, 2026
CVE Published
via MITRE·02:23 PM
Data Sourced
via MITRE·02:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

The issue is limited to ARMv8-R AArch64 Cortex-R targets that use the MPU, enable CONFIG_USERSPACE, and remove memory-domain partitions at runtime while affected user threads are members of the domain. Deployments that do not remove partitions dynamically are not described as affected.

2

What does an attacker need to exploit this?

An untrusted or compromised user-mode thread must already have been granted access to a partition that is subsequently removed from its memory domain. It can then continue accessing the removed partition's address range until a later reconfiguration of that thread updates its cached MPU regions.

3

What should be done if the fix cannot be applied immediately?

Do not treat runtime removal of a memory-domain partition as an effective access revocation for affected user threads. Avoid handing the removed memory to another domain or reusing it while the former thread may retain cached access, and avoid dynamic partition removal where possible.

4

How can I determine whether revocation has failed?

After removing a partition from a domain, test whether an existing member user thread can still read from or write to the removed partition's address range. On affected systems, its cached thread MPU region set can preserve that access until the thread is later reconfigured.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203