{"id":"CVE-2026-105417","summary":"Memory domain partition removal does not revoke user-thread access on ARMv8-R AArch64 MPU","details":"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-\u003earch.regions).\n\nBecause 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.\n\nThe 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.","aliases":["GHSA-wgj6-mqx5-q5c2"],"modified":"2026-12-01T16:00:11.147654862Z","published":"2026-12-01T14:23:16.648Z","database_specific":{"cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105417.json","cna_assigner":"zephyr"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105417.json"},{"type":"PACKAGE","url":"https://github.com/zephyrproject-rtos/zephyr"},{"type":"FIX","url":"https://github.com/zephyrproject-rtos/zephyr/commit/9d2c7166392b17b6df767b746c2254d6b708417c"},{"type":"ADVISORY","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wgj6-mqx5-q5c2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105417"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zephyrproject-rtos/zephyr","events":[{"introduced":"a6eef0ba3755f2530c5ce93524e5ac4f5be30194"},{"fixed":"41d10b59730406bbab4ca9f1fbbe9e96aafb4966"},{"fixed":"9d2c7166392b17b6df767b746c2254d6b708417c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"3.5.0"},{"fixed":"4.5.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"9d2c7166392b17b6df767b746c2254d6b708417c"}]}]}}],"versions":["v4.5.0-rc1","v4.4.0","v4.4.0-rc3","v4.4.0-rc2","v4.4.0-rc1","v4.3.0","v4.3.0-rc3","v4.3.0-rc2","v4.3.0-rc1","v4.2.0","v4.2.0-rc3","v4.2.0-rc2","v4.2.0-rc1","v4.1.0","v4.1.0-rc3","v4.1.0-rc2","v4.1.0-rc1","v4.0.0","v4.0.0-rc3","v4.0.0-rc2","v4.0.0-rc1","v3.7.0","v3.7.0-rc3","v3.7.0-rc2","v3.7.0-rc1","v3.6.0","v3.6.0-rc3","v3.6.0-rc2","v3.6.0-rc1","zephyr-v3.5.0","v3.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105417.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}