VYPR
Medium severity5.5NVD Advisory· Published May 27, 2026· Updated Jun 25, 2026

CVE-2026-45876

CVE-2026-45876

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

Affected products

3
  • Linux/Kernel2 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.13,<6.18.14
    • (no CPE)
  • osv-coords
    Range: >= 6.13.0, < 6.18.14

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.