Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-45876

arm64/gcs: Fix error handling in arch_set_shadow_stack_status()

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b57180c75c7ebff6613886cb69ef6e283a10358b to < c787a235deb33be6eda40beee8f561da5fd8cb8caffected
  • b57180c75c7ebff6613886cb69ef6e283a10358b to < a4741114c9622346c4bbb8cc2bbd88153616ffafaffected
  • b57180c75c7ebff6613886cb69ef6e283a10358b to < 53c998527ffa60f9deda8974a11ad39790684159affected

Linux Linux

Default version status: affected

  • 6.13affected
  • 0 to < 6.13unaffected
  • 6.18.14 to ≤ 6.18.*unaffected
  • 6.19.4 to ≤ 6.19.*unaffected
  • 7.0 to ≤ *unaffected

References