CVE-2026-45876

arm64/gcs: Fix error handling in arch_set_shadow_stack_status()

published May 27, 2026

CVSS
—
EPSS
0%
Percentile
4.8
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00160 · 4.8th percentile
Published
2026-05-27T12:16Z
EPSS history
Timeline
  • 27 MAY 12:16Z
    arm64/gcs: Fix error handling in arch_set_shadow_stack_status()
    cvelistv5