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().
Product status
b57180c75c7ebff6613886cb69ef6e283a10358b (git) before c787a235deb33be6eda40beee8f561da5fd8cb8c
b57180c75c7ebff6613886cb69ef6e283a10358b (git) before a4741114c9622346c4bbb8cc2bbd88153616ffaf
b57180c75c7ebff6613886cb69ef6e283a10358b (git) before 53c998527ffa60f9deda8974a11ad39790684159
6.13
Any version before 6.13
6.18.14 (semver)
6.19.4 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/c787a235deb33be6eda40beee8f561da5fd8cb8c
git.kernel.org/...c/a4741114c9622346c4bbb8cc2bbd88153616ffaf
git.kernel.org/...c/53c998527ffa60f9deda8974a11ad39790684159