Agilex5 System Manager registers mapped read/write for user mode threads
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| zephyrproject | zephyr | unaffected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The Intel SoC FPGA Agilex5 SoC's static MMU region table in soc/intel/intel_socfpga/agilex5/mmu_regions.c mapped the System Manager peripheral (sysmgr) with MT_P_RW_U_RW. That sets the EL0 access-permission bit in the page-table descriptor, so user mode can read and write the block. The other peripheral windows in the same table, and the same block on the sibling Agilex SoC, are correctly mapped MT_P_RW_U_NA. On arm64, memory-domain page tables are cloned from the kernel page tables (arch_mem_domain_init()). When CONFIG_USERSPACE is enabled, every user mode thread therefore gets direct load/store access to the System Manager registers, with no partition grant or system call. Any untrusted code running as a user thread can exploit this. The System Manager controls system-wide state that only the kernel should own: NoC/FPGA-bridge idle requests, SDMMC and EMAC interface configuration, FPGA interface enables and boot scratch registers. A user thread can stall the interconnect or reconfigure peripherals out from under kernel drivers, causing denial of service and integrity loss for the platform, and can read that configuration. This breaks the userspace isolation boundary. Builds without CONFIG_USERSPACE (the default) are not affected. The fix maps the region MT_P_RW_U_NA. | |
| Title | Agilex5 System Manager registers mapped read/write for user mode threads | |
| Weaknesses | CWE-732 | |
| References |
| |
| Metrics |
cvssV3_1
|
No data.