CVE-2026-45876

published 27 May 2026 · updated 27 May 2026

arm64/gcs: Fix error handling in arch_set_shadow_stack_status()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 53c998527ffa60f9deda8974a11ad39790684159, Kernel a4741114c9622346c4bbb8cc2bbd88153616ffaf and Kernel c787a235deb33be6eda40beee8f561da5fd8cb8c.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.13, >=b57180c75c7ebff6613886cb69ef6e283a10358b <53c998527ffa60f9deda8974a11ad39790684159, >=b57180c75c7ebff6613886cb69ef6e283a10358b <a4741114c9622346c4bbb8cc2bbd88153616ffaf, >=b57180c75c7ebff6613886cb69ef6e283a10358b <c787a235deb33be6eda40beee8f561da5fd8cb8c53c998527ffa60f9deda8974a11ad39790684159, a4741114c9622346c4bbb8cc2bbd88153616ffaf, c787a235deb33be6eda40beee8f561da5fd8cb8c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-45876 severity on Zeptric[![CVE-2026-45876](https://zeptric.io/badge/cve/CVE-2026-45876.svg)](https://zeptric.io/cve/CVE-2026-45876)