firmware: qcom: uefisecapp: fix efivars registration race
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.216.13.96.14In the Linux kernel, the following vulnerability has been resolved:
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.
From the CVE record · Linux
The Linux kernel’s qcom uefisecapp can register the efivars service before its memory pool is allocated. A racing EFI variable access can then cause a NULL-pointer dereference; the input does not specify access requirements or user interaction.
Engineers running the Linux kernel should check whether their version includes the qcom uefisecapp fix; affected versions are not specified.