HIGH
arm64 OP-TEE Initialization
CVE-2025-71300
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: Revert "arm64: zynqmp: Add an OP-TEE node to the device tree" This reverts commit 06d22ed6b6635b17551f386b50bb5aaff9b75fbe. OP-TEE logic in U-Boot automatically injects a reserved-memory node along with optee firmware node to kernel device tree. The injection logic is dependent on that there is no manually defined optee node. Having the node in zynqmp.dtsi effectively breaks OP-TEE's insertion of the reserved-memory node, causing memory access violations during runtime.
02KernelScan AI Analysis
Risk summary
ZynqMP systems running OP-TEE experience memory access violations due to conflicting device tree configurations. The static OP-TEE node prevents U-Boot from properly injecting the reserved-memory node, causing runtime crashes and system instability.
Vulnerability analysis
A static OP-TEE device tree node in zynqmp.dtsi conflicts with U-Boot's automatic injection logic, which requires no pre-existing OP-TEE node to properly configure reserved memory regions. This configuration mismatch prevents proper memory reservation setup, leading to memory access violations when OP-TEE attempts to access its designated memory areas. The fix removes the static node, allowing U-Boot's injection mechanism to work correctly. This affects ZynqMP-based embedded systems running OP-TEE and requires no special privileges to trigger.
03Fix Versions
| Branch | Fixed in | Patch commit |
|---|---|---|
| 6.12 | 6.12.75 | eece81eeda10 |
| 6.18 | 6.18.16 | 3983ef126e43 |
| 6.19 | 6.19.6 | 2a833c730d4e |
| mainline | 7.0 | c19717999012 |