diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2025-01-20 18:10:00 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2025-02-08 20:38:03 +0300 |
commit | da8d493a80993972c427002684d0742560f3be4a (patch) | |
tree | a8b8347c026f7ce82b51894578318df3dda0ea91 /tools/perf/scripts/python/syscall-counts.py | |
parent | 7f048b202333b967782a98aa21bb3354dc379bbf (diff) | |
download | linux-da8d493a80993972c427002684d0742560f3be4a.tar.xz |
firmware: qcom: uefisecapp: fix efivars registration race
Since the conversion to using the TZ allocator, the efivars service is
registered before the memory pool has been allocated, something which
can lead to a NULL-pointer dereference in case of a racing EFI variable
access.
Make sure that all resources have been set up before registering the
efivars.
Fixes: 6612103ec35a ("firmware: qcom: qseecom: convert to using the TZ allocator")
Cc: stable@vger.kernel.org # 6.11
Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20250120151000.13870-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions