CVE-2026-45876

MEDIUM

arm64/gcs: Fix error handling in arch_set_shadow_stack_status()

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: arm64/gcs: Fix error handling in arch_set_shadow_stack_status() alloc_gcs() returns an error-encoded pointer on failure, which comes from do_mmap(), not NULL. The current NULL check fails to detect errors, which could lead to using an invalid GCS address. Use IS_ERR_VALUE() to properly detect errors, consistent with the check in gcs_alloc_thread_stack().

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (11)
linux/Kernel 6.13.0 - 6.18.14linux
linux/Kernel 6.19.0 - 6.19.4linux
Linux/Linux < 6.13
Linux/Linux 6.13
Linux/Linux 6.18.14 - 6.18.*
Linux/Linux 6.19.4 - 6.19.*
Linux/Linux 7.0
Linux/Linux b57180c75c7ebff6613886cb69ef6e283a10358b - 53c998527ffa60f9deda8974a11ad39790684159
Linux/Linux b57180c75c7ebff6613886cb69ef6e283a10358b - a4741114c9622346c4bbb8cc2bbd88153616ffaf
Linux/Linux b57180c75c7ebff6613886cb69ef6e283a10358b - c787a235deb33be6eda40beee8f561da5fd8cb8c
... and 1 more
Published May 27, 2026
Tracked Since May 27, 2026