CVE
РУСҚАЗ
CVE-2026-105417Орташа4.4Машиналық аударма

Zephyr ARMv8-R AArch64 жады домендеріндегі қол жеткізуді басқаруды айналып өту

Zephyr

Қысқаша

Zephyr жобасының ARMv8-R AArch64 MPU нысандарына арналған жад доменінің коды пайдаланушы ағынының бөлімге қол жеткізуін орындалу уақытында жойғаннан кейін толығымен қайтарып алмайды. Зардап шеккен пайдаланушы ағынында төмен артықшылықты кодты орындай алатын жергілікті шабуылдаушы жойылған жад аумағын оқуды немесе жазуды жалғастыра алады, бұл басқа доменге берілген немесе қайта пайдаланылған буфер болуы мүмкін.

Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.

Түзету

Түзетілген нұсқалар: 4.5.0

Зардап шегетін нұсқалар

zephyr
бастап 3.5.0 → түзетілді 4.5.0
Түпнұсқа сипаттама (EN)

Түпнұсқа тақырып: Zephyr access control bypass in ARMv8-R AArch64 memory domains

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.

Сілтемелер