CVE-2024-11263

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

Published Nov 15, 2024 CVSS 3.1 · 9.4 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-33714 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.
History
Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*
Vendors & Products Zephyrproject
Zephyrproject zephyr
Type Values Removed Values Added
First Time appeared Zephyrproject-rtos
Zephyrproject-rtos zephyr
CPEs cpe:2.3:o:zephyrproject-rtos:zephyr:*:*:*:*:*:*:*:*
Vendors & Products Zephyrproject-rtos
Zephyrproject-rtos zephyr
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title arch: riscv: userspace: potential security risk when CONFIG_RISCV_GP=y
Weaknesses CWE-270
References
Metrics cvssV3_1

{'score': 9.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
zephyr
Published
Updated
Nov 18, 2024, 5:45 PM
Reserved
Nov 15, 2024, 4:34 PM
Status
Analyzed
Published
Nov 15, 2024, 11:15 PM
Modified
Jun 17, 2026, 6:57 AM