Skip to content
OpenAdvisories
Medium · 4.4 CVE-2023-49100 EUVD-2023-53109GHSA-rmvf-wrpj-7c43

Trusted Firmware-A (TF-A) before 2.10 has a potential read out-of-bounds in the SDEI service. The input parameter passed in register x1 is …

Published Feb 21, 2024 · Updated Oct 31, 2024 · Assigned by mitre

Description

Trusted Firmware-A (TF-A) before 2.10 has a potential read out-of-bounds in the SDEI service. The input parameter passed in register x1 is not validated well enough in the function sdei_interrupt_bind. The parameter is passed to a call to plat_ic_get_interrupt_type. It can be any arbitrary value passing checks in the function plat_ic_is_sgi. A compromised Normal World (Linux kernel) can enable a root-privileged attacker to issue arbitrary SMC calls. Using this primitive, he can control the content of registers x0 through x6, which are used to send parameters to TF-A. Out-of-bounds addresses can be read in the context of TF-A (EL3). Because the read value is never returned to non-secure memory or in registers, no leak is possible. An attacker can still crash TF-A, however.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 arm-trusted-firmware 2.10.0+dfsg-1 —
Debian 13 arm-trusted-firmware 2.10.0+dfsg-1 —
Debian 12 arm-trusted-firmware No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS arm-trusted-firmware No fix yet —
Ubuntu 20.04 LTS arm-trusted-firmware No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.20 arm-trusted-firmware 2.8.14-r0 —
Alpine v3.19 arm-trusted-firmware 2.8.14-r0 —
Alpine v3.18 arm-trusted-firmware 2.8.14-r0 —

References