{"id":"CVE-2026-45876","aliases":["CVE-2026-45876"],"related":[],"kind":"vulnerability","state":"published","title":"arm64/gcs: Fix error handling in arch_set_shadow_stack_status()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64/gcs: Fix error handling in arch_set_shadow_stack_status()\n\nalloc_gcs() returns an error-encoded pointer on failure, which comes\nfrom do_mmap(), not NULL.\n\nThe current NULL check fails to detect errors, which could lead to using\nan invalid GCS address.\n\nUse IS_ERR_VALUE() to properly detect errors, consistent with the\ncheck in gcs_alloc_thread_stack().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64/gcs: Fix error handling in arch_set_shadow_stack_status()\n\nalloc_gcs() returns an error-encoded pointer on failure, which comes\nfrom do_mmap(), not NULL.\n\nThe current NULL check fails to detect errors, which could lead to using\nan invalid GCS address.\n\nUse IS_ERR_VALUE() to properly detect errors, consistent with the\ncheck in gcs_alloc_thread_stack().","source":"cvelist"}],"published":"2026-05-27T12:16:43.350Z","modified":"2026-06-25T21:11:36.013Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"b57180c75c7ebff6613886cb69ef6e283a10358b","fixed":"c787a235deb33be6eda40beee8f561da5fd8cb8c","status":"affected"},{"type":"git","introduced":"b57180c75c7ebff6613886cb69ef6e283a10358b","fixed":"a4741114c9622346c4bbb8cc2bbd88153616ffaf","status":"affected"},{"type":"git","introduced":"b57180c75c7ebff6613886cb69ef6e283a10358b","fixed":"53c998527ffa60f9deda8974a11ad39790684159","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c787a235deb33be6eda40beee8f561da5fd8cb8c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4741114c9622346c4bbb8cc2bbd88153616ffaf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53c998527ffa60f9deda8974a11ad39790684159","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45876","url":"https://www.cve.org/CVERecord?id=CVE-2026-45876","licence":"CVE Terms of Use","modified":"2026-05-27T12:16:43.350Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45876","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45876","licence":"Public domain","modified":"2026-06-25T21:11:36.013Z"}],"updatedAt":"2026-11-25T22:59:22.486Z","epss":{"score":0.00154,"percentile":0.04729,"date":"2026-12-02T12:00:21.000Z"}}