CVE-2026-45876
arm64/gcs: Fix error handling in arch_set_shadow_stack_status()
Check your servers for CVE-2026-45876
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45876 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.73% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b57180c75c7ebff6613886cb69ef6e283a10358b, before c787a235deb33be6eda40beee8f561da5fd8cb8c affected from b57180c75c7ebff6613886cb69ef6e283a10358b, before a4741114c9622346c4bbb8cc2bbd88153616ffaf affected from b57180c75c7ebff6613886cb69ef6e283a10358b, before 53c998527ffa60f9deda8974a11ad39790684159
Other versions: unaffected
|
| Linux |
affected 6.13 unaffected before 6.13 unaffected from 6.18.14 up to and including 6.18.* unaffected from 6.19.4 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45876 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45876
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-45876
trivy image --scanners vuln IMAGE | grep CVE-2026-45876
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c787a235deb33be6eda40beee8f561da5fd8cb8c git.kernel.org
- https://git.kernel.org/stable/c/a4741114c9622346c4bbb8cc2bbd88153616ffaf git.kernel.org
- https://git.kernel.org/stable/c/53c998527ffa60f9deda8974a11ad39790684159 git.kernel.org
Source: the record CVE-2026-45876 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse