CVE-2026-45876
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().
- Score
- CVSS 3.1 5.5 Medium
- Status
- Analyzed - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published
- 2026-05-27
- Last modified
- 2026-05-27
- Weaknesses
- CWE-476
Affected products
References
- https://git.kernel.org/stable/c/53c998527ffa60f9deda8974a11ad39790684159
- https://git.kernel.org/stable/c/a4741114c9622346c4bbb8cc2bbd88153616ffaf
- https://git.kernel.org/stable/c/c787a235deb33be6eda40beee8f561da5fd8cb8c