CVE-2026-45876
publishedarm64/gcs: Fix error handling in arch_set_shadow_stack_status()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb57180c75c7ebff6613886cb69ef6e283a10358b to < c787a235deb33be6eda40beee8f561da5fd8cb8c · b57180c75c7ebff6613886cb69ef6e283a10358b to < a4741114c9622346c4bbb8cc2bbd88153616ffaf · b57180c75c7ebff6613886cb69ef6e283a10358b to < 53c998527ffa60f9deda8974a11ad39790684159 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1514 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1514 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1514 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1514 |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b57180c75c7ebff6613886cb69ef6e283a10358b to < c787a235deb33be6eda40beee8f561da5fd8cb8c (affected · git)b57180c75c7ebff6613886cb69ef6e283a10358b to < a4741114c9622346c4bbb8cc2bbd88153616ffaf (affected · git)b57180c75c7ebff6613886cb69ef6e283a10358b to < 53c998527ffa60f9deda8974a11ad39790684159 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
arm64/gcs: Fix error handling in arch_set_shadow_stack_status()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e39036d9bd709a62070466e88abd29973cbb47a5c5e27432c02b48e54adf219a
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record