CVE-2024-11263

arch: riscv: userspace: potential security risk when CONFIG_RISCV_GP=y

State
Published
Severity
9.4 Critical
Published
Nov 15, 2024
Updated
Nov 18, 2024
Reserved
Nov 15, 2024

Read the record on cve.org

Description

When the Global Pointer (GP) relative addressing is enabled (CONFIG_RISCV_GP=y), the gp reg points at 0x800 bytes past the start of the .sdata section which is then used by the linker to relax accesses to global symbols.

Scores

CVSSScoreVectorSource
3.19.4 CriticalCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:Hzephyr

Weaknesses

  • CWE-270 Privilege Context Switching Error

Affected Products

ProductVersions
Zephyrzephyrproject-rtos
  • 3.7 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.